@suluk/mcp - v0.1.2
    Preparing search index...

    Interface RpcContext

    interface RpcContext {
        tools: McpTool[];
        info: { name: string; version: string };
        exec: ToolExec;
        protocolVersion?: string;
        instructions?: string;
        resident?: Set<string>;
    }
    Index

    Properties

    tools: McpTool[]
    info: { name: string; version: string }
    exec: ToolExec
    protocolVersion?: string

    Server's preferred protocol version (echoed back only if the client didn't pin a supported one).

    instructions?: string

    Optional free-text usage guidance surfaced to the model on initialize.

    resident?: Set<string>

    TIER-TRIM (C027 tier-trim serving) — the names of the RESIDENT tools. When set, tools/list serves only those plus a synthetic discover_tools meta-tool; the COLD-TAIL (every other tool) is withheld from the default surface and revealed on demand when the model calls discover_tools. tools/call still executes ANY tool by name (cold-tail tools are servable, just not advertised up front) — so the context reduction is real, lossless, and self-healing. Absent ⇒ the full surface is served (no trim).