
epistates/turbomcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
epistates/turbomcp — это кандидат на сервер MCP, импортированный из https://github.com/epistates/turbomcp.
Обзор
epistates/turbomcp — это кандидат на сервер MCP, импортированный из https://github.com/epistates/turbomcp.
Обзор (машинный перевод)
Rust SDK с нуля для протокола Model Context — обе половины протокола, сервер и клиент — с макро-управляемым, Отсутствие стандартной поверхности и строгое соответствие спецификациям как особенность.
Статус:
4.0.0-alpha.5— предрелиз для тестирования сообществом. v4 — это с нуля переписал TurboMCP; стабильная линия —3.x. Издание 2024, MSRV 1.88. Он взаимодействует с официальными версиями Rust, TypeScript, Python и Go SDK в обоих направлениях, в обеих версиях, и обе половины оцениваются по официальному соответствию MCP пакет: 232 успешных серверных утверждения и 534 отдельных успешных клиента сценарии/проверочные пары с использованием закреплённых коррекций клиентских фикстуров без отказов, пропусков или предупреждений. Все три рекламируемые версии (2025-06-18,2025-11-25,2026-07-28) датируются и замораживаются;2026-07-28генерируется из выпустилschema/2026-07-28/, а не RC. Нашли что-то сломанное или неэргономичное? Пожалуйста, откройте проблему.
Что ты получаешь
- Один макрос определяет сервер.
#[server]над поворотами блокаimpl#[tool]/#[resource]/#[prompt]в полностью проводной MCP-сервер.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
TurboMCP
A ground-up Rust SDK for the Model Context Protocol — both halves of the protocol, server and client — with a macro-driven, zero-boilerplate surface and strict spec compliance as a feature.
Status:
4.0.0-alpha.5— a prerelease for community testing. v4 is a from-scratch rewrite of TurboMCP; the stable line is3.x. Edition 2024, MSRV 1.88. It interoperates with the official Rust, TypeScript, Python and Go SDKs in both directions, on both revisions, and both halves are scored against the official MCP conformance suite: 232 successful server assertions and 534 distinct successful client scenario/check pairs using pinned client fixture corrections, with zero failures, skips, or warnings. All three advertised revisions (2025-06-18,2025-11-25,2026-07-28) are dated and frozen;2026-07-28is generated from the releasedschema/2026-07-28/, not the RC. Found something broken or unergonomic? Please open an issue.
What you get
- One macro defines a server.
#[server]over animplblock turns#[tool]/#[resource]/#[prompt]methods into a fully-wired MCP server. The macro generates schema derivation code; schema values are initialized once at runtime and cloned for callers, and the advertised capabilities are derived from which markers are present — they can’t drift from the implementation. - Three protocol revisions, one handler. The same server answers
2025-06-18,2025-11-25, and2026-07-28. Your handlers speak version-neutral types; the version-specific wire shapes are conversions, not signature changes — including dropping, per session, the fields a revision predates. Pin the set with#[server(protocols("2025-11-25", …))]. - Transports behind one builder. stdio (default), Streamable HTTP (axum),
and WebSocket.
MyServer.run_stdio(), or.into_server().layer(…).serve(Http::bind(addr)): one runtime wires sessions,DELETEand graceful shutdown, with or without middleware. WebSocket rides the HTTP endpoint as a route, behind the same guards. - The client too. A typed
Clientruns the handshake, negotiates the version, and speaks the same neutral API — interoperating with the official Rust SDK (rmcp) in both directions. - Production seams. OAuth 2.1 on both halves (resource-server bearer validation and the client auth-code + PKCE flow), identity-keyed rate limiting, OpenTelemetry tracing + metrics, progress/logging, subscriptions, response caching (SEP-2549), and bidirectional elicitation — each opt-in behind a feature flag.
How this relates to rmcp, the official Rust SDK
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →