Skip to main content

Module router

Module router 

Source
Expand description

Router dispatcher for routing tool calls to the correct downstream MCP client.

Structsยง

RouterDispatcher
A ToolDispatcher that routes call_tool(server, tool, args) to the correct downstream MCP client based on server name.
RouterResourceDispatcher
A ResourceDispatcher that routes read_resource(server, uri) to the correct downstream MCP client based on server name.