mcp.protocol

Modules

capabilities
module mcp.protocol.capabilities
Undocumented in source.
errors
module mcp.protocol.errors
Undocumented in source.
jsonhelpers
module mcp.protocol.jsonhelpers

Internal typed helpers for reading optional fields out of a vibe.data.json.Json object. They centralize the "is the key present AND of the expected type" guard that every fromJson body would otherwise hand-roll, giving one place to audit how malformed wire input is handled.

jsonrpc
module mcp.protocol.jsonrpc
Undocumented in source.
modern
module mcp.protocol.modern
Undocumented in source.
sampling
module mcp.protocol.sampling

Typed request/result structs for the MCP sampling feature (sampling/createMessage).

types
module mcp.protocol.types
Undocumented in source.
versions
module mcp.protocol.versions
Undocumented in source.