SuperAPIAI Directory

esimfly-mcp

github.com · AI developer platforms

esimfly-mcp is the official Model Context Protocol (MCP) server provided by eSIMfly, used to connect the eSIMfly Business API to MCP-capable AI clients such as Claude, Cursor, and ChatGPT. Once connected, the AI assistant can search eSIM plans at wholesale prices, check balance and usage, and diagnose connectivity issues such as "no data" based on real-time network data; after write permissions are explicitly enabled, it can also place orders and top up. The server is read-only by default, and all write operations use two-step confirmation: first a preview is returned (operation details, cost, balance), and only with confirm: true is it actually executed; orders and top-ups also require the idempotency key returned by the preview to avoid duplicate operations. It is built on the official @esimfly/sdk, already handles signing, retries, and error codes, and includes two built-in prompts: an integration guide and eSIM diagnostics. Users can choose to run it locally via stdio (the API Key never leaves the local machine), or use the official hosted address https://mcp.esimfly.net/mcp to log in via OAuth 2.1 without pasting a key.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose

esimfly-mcp is the official MCP (Model Context Protocol) server published by eSIMfly, with the goal of handing the capabilities of the eSIMfly Business API to AI assistants. Once MCP clients such as Claude, Cursor, and ChatGPT are connected, they can use natural language to search eSIM plans, view accounts and usage, diagnose connectivity issues, and place orders and top up after write permissions are enabled.

Main capabilities

  • Search eSIM plans at wholesale prices, and calculate profit margins in combination with selling prices.
  • Check account balance and eSIM usage, and filter for active eSIMs with low data.
  • Diagnose connectivity issues such as "no data" based on real-time network data.
  • Optional write operations: ordering, top-up, cancellation, suspension, SMS, and Webhook configuration.
  • Two built-in prompts:esimfly_integration_guide(a complete integration guide, optionally with a tech stack parameter) and diagnose_esim(diagnosis by ICCID).
  • Built on the official @esimfly/sdk; signing, retries, and error codes are handled by the SDK.

How to use

Hosted server (no installation required)

The official hosted address is https://mcp.esimfly.net/mcp, which can be added as a remote MCP server to Claude.ai, ChatGPT, Cursor, or VS Code, and logged in via OAuth 2.1 with an eSIMfly business account without pasting a key; write tools must be actively enabled on the authorization page. Example Claude Code command:

claude mcp add --transport http esimfly https://mcp.esimfly.net/mcp

Local run (stdio)

The server runs locally via stdio, and the API Key never leaves the local machine. Configure it in claude_desktop_config.json under mcpServers ; clients such as Cursor and Windsurf use .cursor/mcp.json or the corresponding configuration file.

Enable write tools

Add "ESIMFLY_MCP_ALLOW_WRITES": "true"to the environment variables. When it is not set, the ordering, top-up, cancellation, suspension, SMS, and Webhook tools are not registered.

Obtaining credentials

API Keys are obtained in the eSIMfly Business Dashboard → Settings → API Keys. Documentation address:https://docs.esimfly.net .

Security design

  • Read-only by default; account balance is not touched unless write permissions are explicitly enabled.
  • Write tools are two-step: a call without confirm only returns a preview (operation details, cost, balance) and does not make a mutating API call;create_order and topup_esim also require the idempotency_keyreturned by their preview to prevent duplicate orders or duplicate top-ups.
  • Tool annotations mark read operations as readOnlyHint, and mark cancellation/suspension as destructiveHint, allowing the host to request user confirmation for high-risk tool calls.
  • The server does not record credentials and writes nothing to stdout other than the MCP protocol.
  • It is recommended to assign a dedicated API Key to the agent and set the smallest possible rate limit; if in doubt, rotate the key in the dashboard.

Use cases

  • Query the cheapest specified data plan for a country/region in natural language and calculate profit.
  • Batch view active eSIMs with low data usage.
  • Diagnose no-data issues based on ICCID.
  • Configure Webhooks for events such as installed / status / low-data (write tool, preview first).
  • Have an AI assistant generate integration code such as Node.js.

Limitations

  • Requires an eSIMfly business account and API Key (local mode) or OAuth login (hosted mode).
  • Write operations must be explicitly enabled ESIMFLY_MCP_ALLOW_WRITES, and require two-step confirmation.
  • Specific plans, prices, rate limits, etc. are subject to the official eSIMfly documentation and the actual account configuration; the materials do not provide fixed values.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools