1 unstable release
Uses new Rust 2024
new 0.1.0 | Apr 12, 2025 |
---|
#1425 in Database interfaces
Used in 2 crates
140KB
2K
SLoC
MMCP Server
Server implementation for the MMCP framework.
This crate provides the core server implementation for the MMCP framework, including the MCPServer
type and related functionality.
Example
use mmcp::server::{MCPServer, stdio_server_rpc};
#[tokio::main]
async fn main() {
let server = MCPServer::new("my-server", "1.0.0").with_tools_from_inventory();
let adapter = stdio_server_rpc();
server.start(adapter).await.unwrap();
}
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Dependencies
~3–4.5MB
~82K SLoC