{
  "openapi": "3.1.0",
  "info": {
    "title": "CubbyEd cache-only MCP",
    "version": "1.0.0",
    "description": "Read-only tools served from a static snapshot. JSON-RPC at https://cubbyed.com/mcp-cache. No Firestore on the request path. No PII."
  },
  "servers": [
    {
      "url": "https://cubbyed.com"
    }
  ],
  "paths": {
    "/mcp-cache": {
      "post": {
        "summary": "MCP Streamable HTTP (JSON-RPC 2.0)",
        "responses": {
          "200": {
            "description": "JSON-RPC response"
          }
        }
      },
      "get": {
        "summary": "MCP discovery",
        "responses": {
          "200": {
            "description": "Server info and tools"
          }
        }
      }
    },
    "/tools/lookup_activity": {
      "post": {
        "operationId": "lookup_activity",
        "summary": "Look up a CubbyEd activity or track by name from the public snapshot. Never returns student PII.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result from the cache-only snapshot"
          }
        }
      }
    }
  }
}
