Docs.rs
mcp-memory-1.2.0
mcp-memory 1.2.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
corporatepiyush
Dependencies
ahash ^0.8
normal
anyhow ^1.0
normal
arc-swap ^1.7
normal
axum ^0.8
normal
clap ^4.5
normal
crossbeam-channel ^0.5
normal
futures ^0.3
normal
parking_lot ^0.12
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^2.0
normal
tokio ^1.41
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
criterion ^0.8
dev
rand ^0.10
dev
tower ^0.5
dev
Versions
39.32%
of the crate is documented
Go to latest version
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
Skip to main content
Module server
mcp_
memory
1.2.0
Module server
Module Items
Structs
Constants
Functions
In crate mcp_
memory
mcp_memory
Module
server
Copy item path
Source
Structs
§
MCPServer
Constants
§
MAX_
REQUEST_
BYTES
Maximum size of a single inbound JSON-RPC message (shared by all transports).
Functions
§
dispatch_
http_
body
Dispatch a Streamable-HTTP POST body, which may be a single JSON-RPC message or a batch array.
Ok(None)
means the body held only notifications (HTTP 202, empty body);
Err
means the body was not valid JSON.
dispatch_
line
Dispatch one framed line (stdio / tcp). Returns the serialized response, or
None
for a notification.
process_
value
Process one parsed JSON-RPC message.
None
means “no reply” — the message was a notification (no
id
), per JSON-RPC.