| Crates.io | mmcp-server-stdio |
| lib.rs | mmcp-server-stdio |
| version | 0.1.0 |
| created_at | 2025-04-12 09:10:59.580497+00 |
| updated_at | 2025-04-12 09:10:59.580497+00 |
| description | Standard I/O adapter for the MMCP server framework. |
| homepage | https://github.com/ryo33/mmcp |
| repository | https://github.com/ryo33/mmcp |
| max_upload_size | |
| id | 1630758 |
| size | 31,536 |
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.
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();
}
Licensed under either of Apache License, Version 2.0 or MIT license at your option.