pub struct ServerCapabilities {
pub tools: Option<Value>,
pub resources: Option<Value>,
pub prompts: Option<Value>,
}MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us โ these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
Expand description
Capabilities declared by the server in the initialize response.
Fieldsยง
ยงtools: Option<Value>MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us โ these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
resources: Option<Value>MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us โ these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
prompts: Option<Value>MCP wire types now come from rmcp::model, the reference SDK, which tracks protocol revisions for us โ these hand-rolled types are pinned to MCP 2025-11-25 and do not model 2026-07-28. Scheduled for removal in 0.15.0.
Trait Implementationsยง
Sourceยงimpl Clone for ServerCapabilities
impl Clone for ServerCapabilities
Sourceยงfn clone(&self) -> ServerCapabilities
fn clone(&self) -> ServerCapabilities
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more