| Crates.io | mmcp-server |
| lib.rs | mmcp-server |
| version | 0.1.0 |
| created_at | 2025-04-12 09:10:31.092256+00 |
| updated_at | 2025-04-12 09:10:31.092256+00 |
| description | Server implementation for the MMCP framework. |
| homepage | https://github.com/ryo33/mmcp |
| repository | https://github.com/ryo33/mmcp |
| max_upload_size | |
| id | 1630755 |
| size | 45,254 |
Server implementation for the MMCP framework.
This crate provides the core server implementation for the MMCP framework, including the MCPServer type and related functionality.
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.