agent-client-protocol-rmcp
rmcp integration for Agent Client Protocol MCP servers.
Overview
This crate bridges rmcp-based MCP server implementations with the ACP MCP server framework from agent-client-protocol. It lets you use any rmcp service as an MCP server in an ACP proxy.
Usage
Use the McpServerExt trait to create an MCP server from an rmcp service:
use McpServer;
use McpServerExt;
let server = from_rmcp;
// Use as a handler in a proxy
Proxy.builder
.with_mcp_server
.connect_to
.await?;
Why a Separate Crate?
This crate is separate from agent-client-protocol to avoid coupling the core protocol crate to the rmcp dependency. This allows:
agent-client-protocolto remain focused on the ACP protocolagent-client-protocol-rmcpto trackrmcpupdates independently- Breaking changes in
rmcponly require updating this crate
Related Crates
- agent-client-protocol — Core ACP protocol types and traits
- agent-client-protocol-tokio — Tokio utilities for spawning agent processes
License
Apache-2.0