openapi: 3.2.0 info: title: AI Gateway Server MCP API description: Universal MCP Gateway with OAuth integration - Modern Architecture version: 2.0.3290 tags: - name: MCP paths: /mcp/config: get: summary: Get Mcp Config description: Get MCP configuration for ChatGPT integration (Auth Required) operationId: get_mcp_config_mcp_config_get responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP /mcp: get: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp_get responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP post: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp_post responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP options: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp_options responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP head: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp_head responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP /mcp/: get: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp__get responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP post: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp__post responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP options: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp__options responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP head: summary: Mcp Modern Endpoint description: 'Modern MCP Endpoint - Bearer-token-first authentication. Registered on /mcp (POST, GET, HEAD, OPTIONS) and / (POST, HEAD, OPTIONS).' operationId: mcp_modern_endpoint_mcp__head responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP /mcp/auth: get: summary: Mcp Auth Info description: Claude Code MCP authentication info endpoint operationId: mcp_auth_info_mcp_auth_get responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP /mcp/status: get: summary: Mcp Status Working description: Working MCP status endpoint - force override any broken handlers operationId: mcp_status_working_mcp_status_get responses: '200': description: Successful Response content: application/json: schema: {} tags: - MCP