{
    "schemaVersion": "2024-11-05",
    "description": "International mobile top-up API, digital gift cards, and travel eSIMs. Agents and developers browse catalogs, preview pricing, and place orders across 200+ countries via REST API v2, OAuth 2.0, and MCP.",
    "keywords": [
        "mobile recharge",
        "gift cards",
        "travel eSIM",
        "200 countries",
        "MCP server"
    ],
    "serverInfo": {
        "name": "doctorSIM Agentic Commerce",
        "version": "2.0.0",
        "description": "International mobile top-up API, digital gift cards, and travel eSIMs. Agents and developers browse catalogs, preview pricing, and place orders across 200+ countries via REST API v2, OAuth 2.0, and MCP."
    },
    "transport": {
        "type": "streamable-http",
        "url": "https://api.doctorsim.com/mcp",
        "documentation": "https://www.doctorsim.com/api-docs/mcp.html"
    },
    "transports": [
        {
            "type": "streamable-http",
            "url": "https://api.doctorsim.com/mcp",
            "authentication": "optional"
        },
        {
            "type": "streamable-http",
            "url": "https://api.doctorsim.com/mcp/pro",
            "authentication": "required",
            "resourceMetadata": "https://api.doctorsim.com/.well-known/oauth-protected-resource/mcp/pro",
            "notes": "Same tools; every POST needs an OAuth Bearer (initialize answers 401 + WWW-Authenticate). Use on hosts that only start OAuth when the first initialize is 401 (Grok connectors)."
        },
        {
            "type": "stdio",
            "package": "doctorsim-agentic-commerce-mcp",
            "installCommand": "Local IDE only (Cursor / Claude Desktop) — not for remote connectors",
            "documentation": "https://www.doctorsim.com/agents/references/local-mcp.md"
        }
    ],
    "authentication": {
        "type": "oauth2",
        "optional": true,
        "authorizationServer": "https://www.doctorsim.com/.well-known/oauth-authorization-server",
        "registrationEndpoint": "https://www.doctorsim.com/oauth/register",
        "resource": "https://api.doctorsim.com/mcp",
        "apiResource": "https://api.doctorsim.com/v2",
        "resourceMetadata": "https://api.doctorsim.com/.well-known/oauth-protected-resource/mcp",
        "authorizationEndpoint": "https://www.doctorsim.com/oauth/authorize",
        "auth_link": "https://www.doctorsim.com/oauth/authorize",
        "authorization_url": "https://www.doctorsim.com/oauth/authorize",
        "scopes": [
            "orders:read",
            "orders:write",
            "balance:read",
            "webhooks:read",
            "webhooks:write"
        ],
        "recommendedScopes": [
            "orders:read",
            "orders:write"
        ],
        "proOptionalScopes": [
            "balance:read",
            "webhooks:read",
            "webhooks:write"
        ],
        "dynamicClientRegistration": true,
        "clientSecretRequired": false,
        "tokenEndpointAuthMethod": "none",
        "pkceRequired": true,
        "documentation": "https://www.doctorsim.com/auth.md",
        "notes": "Guest-first MCP: catalog browse and payment-link checkout work without OAuth (per-tool securitySchemes include noauth). Link your doctorSIM account only for PRO credits, order history, or webhooks. Remote connectors (Claude.ai, ChatGPT): leave OAuth Client ID/Secret blank — DCR + PKCE handles on-demand linking. Do not use the api_key path for remote connectors.",
        "mixedSecuritySchemes": true
    },
    "capabilities": {
        "tools": {
            "listChanged": false
        }
    },
    "endpoints": {
        "apiBase": "https://api.doctorsim.com/v2",
        "openapi": "https://www.doctorsim.com/api-docs/openapi.yaml",
        "status": "https://api.doctorsim.com/v2/status"
    }
}