Documentation
¶
Overview ¶
Package mcp implements the Model Context Protocol gateway (шаг хребта после 6): streamable-HTTP JSON-RPC passthrough to upstream MCP servers, fronted by virtual-key auth so budgets/RPM/concurrency apply to tool calls exactly like model traffic. Tool-call events land in the same request_events pipeline (endpoint /v1/mcp/<server>, no token accounting).
v1 scope: one configured HTTP endpoint per server; stdio transports are out of scope (the gateway is a network process).
Tool-surface pinning (G2): the first tools/list response per server is pinned (sha256 + tool names); any later change is audited and, when the server declares `pin_tools: true`, the changed listing is BLOCKED (409) as a rug-pull guard. Pins are per-process (in-memory).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.