{
  "openapi": "3.1.0",
  "info": {
    "title": "SubmitMap",
    "version": "2.0.0",
    "summary": "The launch platform directory, as tools.",
    "description": "Every one of the 243 launch platforms SubmitMap tracks, with eligibility, submission steps, requirements, gotchas and approval time. Free and no key: search_platforms, get_platform and qualify_project all answer without a token. The per-platform agent brief is not in this document; a connected agent gets it from the account half of the same server.",
    "license": {
      "name": "Free to read and to quote",
      "url": "https://submitmap.com/for-agents/"
    }
  },
  "servers": [
    {
      "url": "https://submitmap.com"
    }
  ],
  "externalDocs": {
    "description": "For agents",
    "url": "https://submitmap.com/for-agents/"
  },
  "paths": {
    "/api/mcp": {
      "post": {
        "operationId": "callMcp",
        "summary": "MCP over JSON-RPC 2.0 (streamable HTTP transport).",
        "description": "Without a token: search_platforms, get_platform and qualify_project, which takes a product inline and answers where it qualifies. With a bearer token the same server acts on the maker's own account. Server card: https://submitmap.com/.well-known/mcp/server-card.json.",
        "security": [
          {},
          {
            "oauth2": [
              "submitmap"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC result.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "An account tool was called without a token. The WWW-Authenticate header names the protected resource metadata."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "Dynamic client registration and PKCE (ADR 0021). See https://submitmap.com/auth.md.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://submitmap.com/api/oauth/authorize",
            "tokenUrl": "https://submitmap.com/api/oauth/token",
            "scopes": {
              "submitmap": "Act on the maker's own SubmitMap account."
            }
          }
        }
      }
    }
  }
}
