doctorSIM MCP Server

Connect Claude, ChatGPT, Grok, or Cursor to mobile top-ups and gift cards in 200+ countries via the Model Context Protocol.

MCP endpoint auth.md SKILL.md REST API v2

What you can do

Connecting to MCP

Remote connectors (Claude.ai, ChatGPT) use OAuth Dynamic Client Registration + PKCE. Leave client ID/secret blank — the server issues a public client.

SettingValue
MCP URLhttps://api.doctorsim.com/mcp
OAuth issuerhttps://www.doctorsim.com
API basehttps://api.doctorsim.com/v2
Auth guideauth.md

Full step-by-step registration flow: auth.md.

Available tools

ToolREST equivalent
get_countriesGET /v2/countries
lookup_carrierGET /v2/carriers/lookup/{phone}
get_operatorsGET /v2/operators
get_operator_service_typesGET /v2/operators/{id}/service-types
get_operator_ratesGET /v2/operators/{id}/rates
search_productsGET /v2/products/search
preview_orderPOST /v2/orders/preview
create_orderPOST /v2/orders
get_order_statusGET /v2/orders/{id}
list_ordersGET /v2/orders
get_balanceGET /v2/balance (PRO only)
list_webhooksGET /v2/webhooks (PRO only)

How a purchase works

  1. Discoverlookup_carrier or get_countries + get_operators
  2. Priceget_operator_rates (copy the token field)
  3. Previewpreview_order (mandatory before checkout)
  4. Createcreate_order after explicit user confirmation
  5. Monitorget_order_status, list_orders, or webhooks (PRO)

Checkout modes

Always call preview_order first. The response shows the exact price breakdown before any money moves.
Accountcreate_order resultPaymentOrder ID
PRO account Credits debited; order placed immediately Prepaid PRO balance order_id in response
Regular account Returns payment_link + checkout_hash User pays on doctorsim.com (Stripe / PayPal / Bizum) null until payment completes; poll via checkout_hash

Consumer payment link format:

https://www.doctorsim.com/en/mx/topup-phone/checkout/{64-char-hash}

Payment links expire in 6 hours.

Authentication summary

MethodWhoScopes
API keys (api_id:api_secret)PRO with API accessFull (balance, webhooks, orders)
OAuth JWTPROorders + balance (+ webhooks on request)
OAuth JWTRegular consumerorders:read orders:write only

Supported clients

Order monitoring

PRO accounts: poll GET /v2/orders/{id} or register webhooks for async updates.

Consumer accounts: poll GET /v2/orders?checkout_hash={hash} or list_orders after payment.