mcp-utils
This project extends the rust-mcp-sdk
with additional conveniences for building MCP servers in Rust with a defined set of tools.
Derive one of the tool traits from mcp-utils
to get:
- quick server setup: list your tools in
setup_tools!
and automatically get a server that can list your tools and handle tool calls - switch between
async
or not: no need to adjust anything beside the tool trait you implement - flexible output: return
Result
objects, plain strings, or anything that implementsSerialize
For complete documentation and examples, see the main project README.
License
This project is available under the MIT license. See LICENSE.txt for details.