Skip to content

mcp_router: add server-to-client request handling (elicitation)#45161

Open
jwendell wants to merge 1 commit into
envoyproxy:mainfrom
jwendell:mcp-elicitation-support
Open

mcp_router: add server-to-client request handling (elicitation)#45161
jwendell wants to merge 1 commit into
envoyproxy:mainfrom
jwendell:mcp-elicitation-support

Conversation

@jwendell
Copy link
Copy Markdown
Member

Enable the MCP router to transparently handle server-to-client requests such as elicitation/create, sampling/createMessage, and roots/list.

In multiplexing mode, JSON-RPC id fields in server requests are rewritten with a backend name prefix so that client responses can be routed back to the originating backend. The MCP JSON parser is extended to accept JSON-RPC responses (result/error) alongside requests (method).

Enable the MCP router to transparently handle server-to-client requests
such as elicitation/create, sampling/createMessage, and roots/list.

In multiplexing mode, JSON-RPC id fields in server requests are rewritten
with a backend name prefix so that client responses can be routed back to
the originating backend. The MCP JSON parser is extended to accept
JSON-RPC responses (result/error) alongside requests (method).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jonh Wendell <jwendell@redhat.com>
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.

2 participants