Skip to main content

Module mcp

Module mcp 

Source
Expand description

A Model Context Protocol server over standard input and output: one JSON-RPC 2.0 message per line.

It offers five tools, all of them read-only with respect to this machine: encode, decode, inspect, compare and discover. It works on the vocabularies it was started with and on data passed in the call. It reads and writes no file, opens no connection, trains nothing, publishes nothing and keeps nothing between calls. Every input and output is bounded by Limits.

Structs§

Limits
What one call may cost.
Server

Constants§

MCP_PROTOCOL
The protocol revision this server was written against. A client that asks for another is answered with this one, as the protocol prescribes.