Skip to main content

Module mcp_router

Module mcp_router 

Source
Expand description

The mcp_router tool: connects to allowlisted MCP servers at runtime to discover and invoke their tools.

Structs§

MakeMcpRouterOptions
Options for make_mcp_router (MakeMcpRouterOptions).
MakeMcpRouterOptionsBuilder
Use builder syntax to set the inputs and finish with build().
McpRouterInput
The input of the mcp_router tool (McpRouterInput).
McpRouterToolError
An mcp_router operation failed (McpRouterToolError).

Enums§

McpRouterCommand
An mcp_router operation.

Constants§

MCP_ROUTER_DESCRIPTION
The description of the mcp_router tool shown to the model (MCP_ROUTER_DESCRIPTION).

Functions§

make_mcp_router
Creates an mcp_router tool bound to an allowlist of servers.