Expand description
MCP server core — tool registration, initialization, and dispatch logic.
Structs§
- McpServer
- An MCP server that manages tools, resources, prompts, and dispatches calls.
Constants§
- LATEST_
PROTOCOL_ VERSION - The newest MCP protocol version this server implements.
- SUPPORTED_
PROTOCOL_ VERSIONS - MCP protocol versions this server understands, newest first.
Traits§
- Async
Tool Handler - Async tool-handler trait — the async counterpart to the synchronous
Handler.
Type Aliases§
- Handler
- Handler function type for MCP tool calls (synchronous).