Expand description
§agent-client-protocol-rmcp
This crate provides integration between rmcp MCP servers and the Agent Client Protocol MCP server framework.
§Usage
Create an MCP server from an rmcp service using the extension trait:
ⓘ
use agent_client_protocol::mcp_server::McpServer;
use agent_client_protocol_rmcp::McpServerExt;
let server = McpServer::from_rmcp("my-server", MyRmcpService::new);
// Use as a handler
Proxy.builder()
.with_handler(server)
.serve(client)
.await?;