1 unstable release
Uses new Rust 2024
new 0.1.0 | Apr 12, 2025 |
---|
#26 in #stdio
Used in mmcp
150KB
2K
SLoC
MMCP Server STDIO
Standard I/O adapter for the MMCP server framework.
This crate provides functionality to run an MMCP server using standard input and output for communication.
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
~7–13MB
~151K SLoC