Server-side

MCP tool from Rust Sdk by modelcontextprotocol

The #[tool], #[toolrouter], and #[toolhandler] macros handle all the wiring. For a tools-only server you can use #[toolrouter(serverhandler)] to skip the separate ServerHandler impl:

How to use it

Project documentation lists Server-side for the Rust Sdk MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

FULL RUST SDK LISTING