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

    Interface ToolsOptions

    @suluk/mcp — project ONE OpenAPI v4 document into a Model Context Protocol server. The same contract that drives the API, SDK, docs, admin, and panel now drives an agent-callable surface: every operation becomes an MCP tool (read-only by default; mutations opt-in via include:"all"), served over the Streamable-HTTP JSON-RPC transport as a Hono-mountable app. No hand-written tool schemas, no config drift — the contract is the single source. Pure projection (toolsFrom) + pure protocol (handleRpc) are independently testable; mcpApp wires transport. CANDIDATE tooling — NOT official OAS.

    interface ToolsOptions {
        include?: "read" | "all";
        hide?: string[];
        only?: string[];
        includeDeprecated?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    include?: "read" | "all"

    "read" (default) exposes only GET/HEAD operations; "all" also exposes mutations.

    hide?: string[]

    Operation names to omit.

    only?: string[]

    If set, expose ONLY these operation names (after hide).

    includeDeprecated?: boolean

    Include deprecated operations (default: skip them).