mcprotocol-rs 0.1.5

A Rust implementation of the Model Context Protocol (MCP)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod prompts;
pub mod resources;
pub mod tools;

pub use prompts::*;
pub use resources::*;
pub use tools::*;

/// Server capability flags
#[derive(Debug, Clone, Default)]
pub struct ServerCapabilities {
    /// Whether prompts are supported
    pub prompts: bool,
    /// Whether resources are supported
    pub resources: bool,
    /// Whether tools are supported
    pub tools: bool,
}