Server-side
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
Server-side is exposed by the Rust Sdk MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the Server-side tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL RUST SDK LISTING