Skip to main content

Module server

Module server 

Source
Expand description

Offering MCP tools from an MCP server.

Traits§

McpToolCallHost
The request state an MCP server supplies for one invocation of a tool.

Functions§

create_mcp_tool
Creates a tool without registering it. This can be used to expose a tool that is specific to one MCP server, such as one that manages that server’s active binary view. Otherwise the same as register_mcp_tool.
invoke_mcp_tool
Runs the tool for an MCP server and returns the MCP CallToolResult.