{
  "openapi": "3.1.0",
  "info": {
    "title": "Shir-man MCP Discovery API",
    "version": "1.1.0",
    "description": "Read-only Streamable HTTP MCP endpoint for hosted tool lookup, Text Processing Toolkit preset deep links, and discovery endpoint lookup."
  },
  "servers": [
    {
      "url": "https://shir-man.com"
    }
  ],
  "paths": {
    "/mcp": {
      "get": {
        "summary": "Return transport metadata for the MCP endpoint",
        "responses": {
          "200": {
            "description": "Transport metadata response"
          }
        }
      },
      "post": {
        "summary": "Handle JSON-RPC MCP requests",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "JSON-RPC 2.0 request for initialize, ping, tools/list, or tools/call."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC result or error"
          },
          "400": {
            "description": "Invalid request"
          }
        }
      }
    }
  }
}
