MCP.so
登录

Rust MCP SDK

@rust-mcp-stack

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

rust-mcp-stack

关于 Rust MCP SDK

A high-performance, asynchronous toolkit for building MCP servers and clients in Rust.

Rust MCP SDK 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Rust MCP SDK 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Rust MCP SDK?

A high-performance, asynchronous Rust toolkit for building MCP servers and clients. It implements the latest MCP protocol version (2025-11-25) and passes 100% of official MCP conformance tests, letting developers focus on application logic while the SDK handles protocol, transports, and authentication.

How to use Rust MCP SDK?

Add rust-mcp-sdk = "0.9.0" to your Cargo.toml, then define tools using the mcp_tool macro and implement the ServerHandler trait. Quick-start examples show a minimal stdio server, a Streamable HTTP server with Axum or Actix backends, and a BYO-server mode for embedding MCP in existing apps.

Key features of Rust MCP SDK

  • Implements MCP protocol 2025-11-25
  • Passes 100% of official conformance tests (client and server)
  • Supports Stdio, Streamable HTTP, and SSE transports
  • Framework-agnostic: native Axum, Actix, and BYO-server integrations
  • Multi-client concurrency and DNS rebinding protection
  • OAuth authentication for servers and clients (multiple providers)

Use cases of Rust MCP SDK

  • Build a minimal MCP server using standard input/output transport
  • Deploy a Streamable HTTP MCP server with Axum or Actix for multi-client access
  • Embed MCP endpoints into an existing web application via BYO-server mode
  • Implement custom tools, resources, and templates with procedural macros
  • Add OAuth-based authentication to MCP servers or clients

常见问题

1

What MCP protocol version does the SDK support?

It supports protocol version 2025-11-25.

2

Does the SDK pass official MCP conformance tests?

Yes, it passes 100% of the official client (254/254) and server (40/40) conformance tests.

3

What transports are available?

Stdio, Streamable HTTP, and backward-compatible SSE transport are supported.

4

Can I use the SDK with a different HTTP framework?

Yes, through the BYO-server (Bring Your Own Server) mode you can mount MCP routes onto your existing Axum or Actix router. For other frameworks (e.g., Rocket, Salto, Warp), a custom integration guide is provided.

5

Does the SDK support OAuth authentication?

Yes, it provides OAuth authentication for both MCP servers (with remote providers like Keycloak, WorkOS, Scalekit) and clients (metadata discovery, DCR, PKCE, token refresh).

评论

开发工具 分类下的更多 MCP 服务器