modelcontextprotocol-server 0.1.5

Server implementation for the Model Context Protocol (MCP)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// mcp-server/src/lib.rs
pub mod server;
pub mod transport;
pub mod tools;
pub mod resources;
pub mod prompts;
mod completion_handler;
mod resource_extensions;
mod server_prompts;
pub mod sampling;

pub use server::{Server, ServerBuilder};
pub use transport::Transport;

pub use mcp_protocol;