pub struct ServerCapabilities {
pub tools: ToolsCapability,
}Expand description
What this server offers a client.
Tools only: soma-mcp serves no resources and no prompts, so those capability fields do not exist here — MCP treats an absent field as “not supported”, which is exactly the claim.
Fields§
§tools: ToolsCapabilityThe tools capability; the 20 tools are the whole API.
Trait Implementations§
Source§impl Debug for ServerCapabilities
impl Debug for ServerCapabilities
Auto Trait Implementations§
impl Freeze for ServerCapabilities
impl RefUnwindSafe for ServerCapabilities
impl Send for ServerCapabilities
impl Sync for ServerCapabilities
impl Unpin for ServerCapabilities
impl UnsafeUnpin for ServerCapabilities
impl UnwindSafe for ServerCapabilities
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more