rmcp-server-builder
Composable MCP server builder for zero-boilerplate capability composition.
Overview
This crate provides a builder pattern for composing MCP servers from individual capability providers, eliminating the boilerplate of implementing ServerHandler and manually delegating methods.
Instead of implementing the full ServerHandler trait:
// Traditional approach - lots of boilerplate
You can compose a server from individual providers:
use ServerBuilder;
use Implementation;
let server = new
.info
.instructions
.tools
.prompts
.build;
Installation
Add to your Cargo.toml:
[]
= "0.1"
= { = "0.12", = ["server"] }
Development
License
MIT