mcp-utils 0.1.0

Abstractions that extend rust-mcp-sdk for simplified MCP tool definition and server setup
Documentation

checks version license GitHub top language

ko-fi

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 implements Serialize

For complete documentation and examples, see the main project README.

License

This project is available under the MIT license. See LICENSE.txt for details.