6 releases
| 0.3.2 | Apr 27, 2026 |
|---|---|
| 0.3.1 | Apr 27, 2026 |
| 0.2.1 | Apr 26, 2026 |
| 0.1.0 | Mar 11, 2026 |
#10 in #model-context
288 downloads per month
Used in 4 crates
(3 directly)
135KB
2.5K
SLoC
cloudllm_mcp
cloudllm_mcp is the published package name for the standalone Rust crate
that exposes the mcp library target. Code can still import it as mcp.
mcp is a standalone Rust crate containing reusable MCP-oriented tool
protocol primitives, an HTTP client/server runtime, and supporting utilities.
It exists so multiple projects in this repository can share the same MCP foundation without creating circular dependencies.
What It Provides
- tool protocol primitives:
ToolProtocolToolMetadataToolParameterToolResultToolRegistry
- MCP events:
McpEventMcpEventHandler
- MCP runtime:
UnifiedMcpServerMCPServerBuilderMcpClientProtocol
- server utilities:
HttpServerAdapterHttpServerConfigHttpServerInstanceIpFilterAuthConfig
- streamable HTTP transport:
StreamableHttpConfigstreamable_http_routerstreamable_http_router_with_sse
- SSE (Server-Sent Events) support:
SseBroadcaster— multi-subscriber broadcast channel for SSE eventsSseEventHandler— bridgesMcpEventlifecycle events into the SSE streamSseMessage— typed SSE message with optional event name and JSON data- GET endpoint returns
text/event-streamwhen a broadcaster is attached - POST requests automatically broadcast JSON-RPC results/errors as SSE events
Build
cargo build -p cloudllm_mcp
Build with HTTP server support:
cargo build -p cloudllm_mcp --features server
Test
cargo test -p cloudllm_mcp
Intended Use
cloudllmdepends onmcpfor its shared MCP protocol/runtime layermentisdbdepends onmcpfor its MCP-facing tool schema and result types
This crate is transport/runtime infrastructure, not a complete agent framework.
Dependencies
~9–23MB
~277K SLoC