module

Smith::MCP

JSON-RPC 2.0 over a line-delimited byte stream — the framing half of MCP.

Kept free of any knowledge about tools or servers so the transport can be swapped for an in-memory pair in the specs: the concurrency this file makes possible is the part worth testing, and testing it must not need a real process.

Constants

PROTOCOL_VERSION = "2024-11-05"

The revision smith speaks. A server that answers with a different one is not rejected — the spec asks clients to carry on if they can.

Nested types