Conversation
Contributor
Author
|
@eskenazit This PR add a "transport" field which would need to be documented in the Markdown version of the spec as well. This would be great to get this merged in the tech preview as it is the most common way to add local MCP tools to an IDE for developers, not requiring a running HTTP server for localhost purpose |
eskenazit
requested changes
Mar 3, 2026
Contributor
|
FYI, thanks to your PR we discovered the json strucutre github action to validate the schema was not running. A PR to fix it is on it way =) |
Add stdio transport to MCP server adapter for local IDE integration (VS Code, Cursor, Windsurf, Claude Desktop, JetBrains). Stdio transport: - Extract McpProtocolDispatcher for transport-agnostic JSON-RPC dispatch - Add StdioJsonRpcHandler for stdin/stdout newline-delimited JSON-RPC - Extend McpServerAdapter to branch on transport (http|stdio) - Refactor JettyMcpStreamableHandler to delegate to McpProtocolDispatcher - Add transport field to McpServerSpec with schema validation - Update capability-schema.json with conditional port requirement Bug fixes: - Fix entity double-read in McpToolHandler by buffering response text before output mapping, preventing null fallback on stream exhaustion
fb5f555 to
c13014b
Compare
Contributor
Author
|
@eskenazit Thanks Thomas, PR updated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add stdio transport to MCP server adapter for local IDE integration
(VS Code, Cursor, Windsurf, Claude Desktop, JetBrains).
Stdio transport:
Bug fixes:
before output mapping, preventing null fallback on stream exhaustion