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

    Interface McpTool

    @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 McpTool {
        name: string;
        description: string;
        inputSchema: {
            type: "object";
            properties: Record<string, unknown>;
            required?: string[];
            additionalProperties: boolean;
        };
        op: McpOp;
    }
    Index

    Properties

    name: string
    description: string
    inputSchema: {
        type: "object";
        properties: Record<string, unknown>;
        required?: string[];
        additionalProperties: boolean;
    }
    op: McpOp