esimfly-mcp
OfficialThis server exposes read-only eSIMfly tools for browsing packages, checking balances, inspecting eSIMs, usage/network diagnostics, orders, top-ups, and webhook settings; write tools are not registered in the provided schema.
Search eSIM packages by destination/type with wholesale prices and pagination.
Get account or enterprise prepaid balance and currency.
List eSIMs with status, remaining data, validity, search, status filters, and pagination.
Get stored usage for one eSIM by ICCID or order reference.
Get live network status for one eSIM: install state, last operator/country, device/IMEI, activation/last-usage dates, and data used.
Get the last 7 days of network attach/data-session events, including wrong-network flags.
Get daily usage reports by country/operator for up to 90 days.
List orders with status/date/search filters and revenue summary; get a single order with its eSIM details.
Get top-up packages for an eSIM and check a top-up status by order reference.
Get webhook URL, subscribed events, available events, and recent deliveries.
No ordering, top-up, cancel, suspend/activate, SMS, or webhook mutation tools are exposed in this schema.
@esimfly/mcp — eSIMfly MCP server
Give your AI assistant hands on the eSIMfly Business API. With this Model Context Protocol server, Claude, Cursor, ChatGPT and other MCP clients can search eSIM plans with your wholesale prices, check balances and usage, diagnose "no data" problems from live network data — and, if you enable it, place orders and top-ups with an explicit confirmation step.
Read-only by default. Nothing can spend your balance unless you opt in.
Two-step writes. Every write tool returns a preview (what, cost, balance) until called with
confirm: true.Built on the official
@esimfly/sdk— signing, retries and error codes handled.Ships two prompts: the complete integration guide and an eSIM diagnosis workflow.
Docs: https://docs.esimfly.net · Credentials: Business Dashboard → Settings → API Keys.
Hosted server (no install)
Prefer not to run anything locally? eSIMfly hosts this same server at https://mcp.esimfly.net/mcp.
Add it as a remote MCP server in Claude.ai, ChatGPT, Claude Code (claude mcp add --transport http esimfly https://mcp.esimfly.net/mcp),
Cursor or VS Code and sign in with your eSIMfly business account — OAuth 2.1, no keys to paste, write
tools opt-in on the consent screen. Details: https://docs.esimfly.net/docs/mcp-server
Related MCP server: Quartermaster
Local install
The server runs locally over stdio; your API key never leaves your machine.
Claude Desktop
claude_desktop_config.json → mcpServers:
{
"mcpServers": {
"esimfly": {
"command": "npx",
"args": ["-y", "@esimfly/mcp"],
"env": {
"ESIMFLY_ACCESS_CODE": "esf_...",
"ESIMFLY_SECRET_KEY": "sk_..."
}
}
}
}Claude Code
claude mcp add esimfly -e ESIMFLY_ACCESS_CODE=esf_... -e ESIMFLY_SECRET_KEY=sk_... -- npx -y @esimfly/mcpCursor / Windsurf / other MCP clients
.cursor/mcp.json (or the client's equivalent):
{
"mcpServers": {
"esimfly": {
"command": "npx",
"args": ["-y", "@esimfly/mcp"],
"env": { "ESIMFLY_ACCESS_CODE": "esf_...", "ESIMFLY_SECRET_KEY": "sk_..." }
}
}
}Docker
docker build -t esimfly-mcp .
docker run -i --rm -e ESIMFLY_ACCESS_CODE=esf_... -e ESIMFLY_SECRET_KEY=sk_... esimfly-mcpEnable write tools
Add "ESIMFLY_MCP_ALLOW_WRITES": "true" to env. Without it the ordering, top-up, cancel,
suspend, SMS and webhook tools are not even registered.
Try it
"Find the cheapest 5 GB plan for Turkey and tell me my margin at €9.99."
"Which of my eSIMs are active and below 200 MB?"
"ICCID 8948010010036785060 says no data — diagnose it." (uses the
diagnose_esimprompt)"Set up webhooks for installed / status / low-data events at https://my.app/hooks." (write tool, previews first)
"Build me a Node.js integration." (uses the
esimfly_integration_guideprompt)
Tools
Tool | What it does | Mode |
| Catalogue search by destination / type with your cost price | read |
| Account (or enterprise) balance | read |
| Your eSIMs with status, data left, validity | read |
| Stored usage for one eSIM (cheap) | read |
| Live status from the network: install state, last network, device, usage | read (expensive) |
| Last 7 days of attach / data-session events, wrong-network flag | read |
| Daily usage by country and operator (up to 90 days) | read |
| Order history and one order with its eSIM | read |
| Top-up options for one eSIM | read |
| One top-up's status by reference | read |
| Webhook URL, events, recent deliveries | read |
| Buy eSIMs — preview → | write |
| Add data to an eSIM — preview (package, cost) → | write |
| Cancel an unused eSIM and refund to balance | write (destructive) |
| Block / restore network access | write |
| Text the device holding the eSIM | write |
| Configure webhook URL and events | write |
Prompts: esimfly_integration_guide (optional stack), diagnose_esim (iccid).
Safety model
Read-only unless
ESIMFLY_MCP_ALLOW_WRITES=true.Write tools are two-step: a call without
confirmreturns a preview and makes no mutable API call;create_orderandtopup_esimadditionally require theidempotency_keyfrom their own preview, so an agent cannot place the same order or apply the same top-up twice.Tool annotations mark reads as
readOnlyHintand cancel/suspend asdestructiveHint, so hosts that ask for user approval on risky tools do so.The server never logs credentials and never writes to stdout except the MCP protocol.
Give the agent a dedicated API key with the smallest rate limits you are comfortable with, and rotate it from the dashboard if in doubt.
Configuration
Variable | Required | Description |
| yes | API access code ( |
| yes | API secret key ( |
| no |
|
| no | Override the API base URL |
Embedding
import { createEsimflyMcpServer } from '@esimfly/mcp';
const server = createEsimflyMcpServer({ config: { accessCode, secretKey }, allowWrites: false });
// connect it to any MCP transportReleasing (maintainers)
Bump version in package.json, server.json and MCP_VERSION in src/server.ts, add a
CHANGELOG entry, push, then publish a GitHub Release tagged vX.Y.Z — the workflow publishes to
npm with Trusted Publishing (OIDC), and the MCP Registry entry is republished
automatically afterwards (GitHub OIDC, no tokens).
Support
Available Tools
12 toolsget_balanceGet account balanceARead-onlyIdempotentInspect
Current prepaid balance (or enterprise balance) and currency.
Inputs: no named parameters.
get_esim_live_statusGet live eSIM status (network query)ARead-onlyIdempotentInspect
LIVE status straight from the mobile network: lifecycle status, profile install state, last network (operator, country, MCC/MNC, 4G/5G), device model and IMEI, activation and last-usage dates, data used. Expensive — use for diagnosis ("no data", "is it installed?"), not routinely.
Inputs: iccid (required).
get_esim_usageGet eSIM usageARead-onlyIdempotentInspect
Stored data usage and validity for one eSIM (cheap; fresh as of the last sync). Identify by ICCID or order reference.
Inputs: iccid, order_reference.
get_network_eventsGet network events (last 7 days)ARead-onlyIdempotentInspect
Attach and data-session events for one eSIM, newest first, each flagged is_allowed. wrong_network_count > 0 means the device latched onto a network outside the plan — the usual cause of "connected but no data" (fix: airplane-mode toggle or manual network selection).
Inputs: iccid (required).
get_orderGet orderARead-onlyIdempotentInspect
One order by reference, including its eSIM (ICCID, install links, pending state).
Inputs: order_reference (required).
get_topupGet top-upARead-onlyIdempotentInspect
Status of one top-up by the orderReference that topup_esim returned. A completed top-up includes its package, amount and payment status.
Inputs: order_reference (required).
get_topup_packagesGet top-up packages for an eSIMBRead-onlyIdempotentInspect
Top-up options for ONE eSIM (they depend on its provider and location), with your price. Returns ESIM_NOT_TOPPABLE when the eSIM state does not allow top-ups.
Inputs: iccid (required), limit.
get_usage_reportGet daily usage reportARead-onlyIdempotentInspect
Daily data usage for one eSIM over the last N days (default 7, max 90) with per-country and per-operator breakdown.
Inputs: iccid (required), days.
get_webhook_settingsGet webhook settingsBRead-onlyIdempotentInspect
Configured webhook URL, subscribed events, available events and the last deliveries.
Inputs: no named parameters.
list_esimsList eSIMsBRead-onlyIdempotentInspect
eSIMs on the account with status, data left and validity. Search by ICCID, package name or code; filter by status.
Inputs: page, limit, search, status.
list_ordersList ordersBRead-onlyIdempotentInspect
Order history with filters (status, date range ISO 8601, search by reference / package) and a revenue summary.
Inputs: page, limit, search, status, +2 more.
search_packagesSearch eSIM packagesARead-onlyIdempotentInspect
Find eSIM data packages you can sell, with your wholesale price. Filter by destination name (search), type (local / regional / global) and page. Returns compact rows; use limit up to 100.
Inputs: page, type, limit, search.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
The four eSIM telemetry tools (get_esim_usage, get_esim_live_status, get_usage_report, get_network_events) overlap in theme, but the descriptions draw clear lines between cheap stored usage, expensive live diagnosis, daily breakdowns, and event logs. get_topup vs get_topup_packages is likewise clarified (status of a past top-up vs available options for one eSIM). Only minor confusion risk remains for an agent choosing between get_esim_usage and get_usage_report.
All twelve tools are snake_case with a predictable verb_noun shape (get_*, list_*, search_*), and resource names are used consistently (esim, order, topup, usage). No camelCase or vague bare-verb names appear.
Twelve tools is well within a healthy range for an eSIM reseller API and each tool maps to a distinct resource: packages, eSIMs, orders, top-ups, balance, webhooks. Nothing looks like filler or a duplicate wrapper.
The surface is almost entirely read-only: orders, packages, eSIMs and usage can be inspected, but there is no tool to create an order or execute a top-up — get_topup even references 'the orderReference that topup_esim returned', a tool that is absent from this set, which is a hard dead end. get_webhook_settings likewise has no counterpart to configure a webhook, leaving several obvious transactional gaps.
Maintenance
Related MCP Connectors
Search, order, and manage eSIM data packages for 190+ countries.
Travel eSIMs for travel businesses: quotes, checks, orders, top-ups, webhooks, developer docs.
Programmable eSIM and mobile connectivity: manage fleets, plans and orders from your agent.
Find travel eSIM plans, compare prices and create an order the user pays by link.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSearch and buy travel eSIMs for 200+ countries, with specialized China plans that deliver uncensored internet without a VPN. Exposes five read-only tools to search plans, check device eSIM compatibility, get plan details, get help, and generate a secure on-site checkout link.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search, quote, and buy prepaid travel eSIM data plans within a human-set spending mandate and prepaid wallet, returning activation codes and verifiable signed receipts. Agents can also check machine-readable policies, manage post-sale actions like refunds and status, and operate without ever accessing card details or exceeding their limits.MIT
- AlicenseAqualityBmaintenanceOfficial Simvito server: find, compare and buy travel eSIM data plans. Compares plans by price, data and validity, shows the local networks (4G/5G) each plan uses, plans multi-country trips, checks whether a phone supports eSIM and gives a checkout link. No API key.1058 npm1MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search travel eSIM destinations and plans, compare provider prices, create unpaid orders with payment links, and check order status and installation instructions. Payment remains with the human, and the server never accepts card details.6MIT