Docs.rs
rust-mcp-sdk-0.7.3
rust-mcp-sdk 0.7.3
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
hashemix
Dependencies
async-trait ^0.1
normal
axum ^0.8
normal
optional
axum-server ^0.7
normal
optional
base64 ^0.22
normal
bytes ^1.10
normal
futures ^0.3
normal
http ^1.3
normal
optional
http-body ^1.0
normal
optional
http-body-util ^0.1
normal
optional
hyper ^1.6.0
normal
optional
rust-mcp-macros ^0.5.2
normal
optional
rust-mcp-schema ^0.7
normal
rust-mcp-transport ^0.6.2
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^2.0
normal
tokio ^1.4
normal
tokio-stream ^0.1
normal
optional
tracing ^0.1
normal
uuid ^1
normal
reqwest ^0.12
dev
tracing-subscriber ^0.3
dev
wiremock ^0.5
dev
Versions
51.59%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module middleware
rust_
mcp_
sdk
0.7.3
Module middleware
Module Items
Modules
Traits
Functions
In rust_
mcp_
sdk::
mcp_
http
rust_mcp_sdk
::
mcp_http
Module
middleware
Copy item path
Source
Modules
§
cors_
middleware
CORS Middleware
logging_
middleware
A very simple example middleware for inspiration.
Traits
§
Middleware
Functions
§
compose
Build the final handler by folding the middlewares
in reverse
.