Skip to content

Document Streamable HTTP integration testing - #1834

Open
luisangelrod wants to merge 1 commit into
modelcontextprotocol:mainfrom
luisangelrod:docs/1781-streamable-http-tests
Open

Document Streamable HTTP integration testing#1834
luisangelrod wants to merge 1 commit into
modelcontextprotocol:mainfrom
luisangelrod:docs/1781-streamable-http-tests

Conversation

@luisangelrod

Copy link
Copy Markdown
Contributor

Summary

  • document how to integration test an ASP.NET Core MCP server with WebApplicationFactory
  • pass the factory-owned HttpClient to HttpClientTransport in Streamable HTTP mode
  • add an executable sample server and end-to-end echo tool test
  • include the sample projects in the solution so the documentation is build verified

Validation

  • dotnet build -c Release
  • dotnet docfx docs/docfx.json --warningsAsErrors true
  • dotnet test docs/concepts/transports/samples/integration-testing/tests/IntegrationTestingMcpServer.Tests.csproj -c Release --no-build --no-restore (1 passed)

The full test suite was also attempted locally. Unrelated environment dependencies involving the local OAuth HTTPS test service and missing npm/Node conformance packages prevented a clean full-suite completion.

Closes #1781

Disclosure: Drafted with AI assistance.

Disclosure: Drafted with AI assistance.
@luisangelrod
luisangelrod marked this pull request as ready for review August 24, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Streaming HTTP MCP server integration tests

2 participants