Esimfly Mcp

io.github.eSimfly-Official由 GitHub 帳號 eSimfly-Official 發布v0.1.3更新於 Nov 2, 2026

eSIMfly Business API: search eSIM plans, check usage, diagnose eSIMs, optionally order (confirmed)

已驗證Streamable HTTP可網頁執行溝通與協作商業與電商

概覽

AI 產生的概覽

將助理接入 eSIMfly 商務 API,可搜尋 eSIM 方案、查詢餘額與用量、診斷 eSIM,並可選擇下單與加值。

可以做什麼
  • 依目的地或類型搜尋 eSIM 方案目錄,並顯示你的成本價,查詢帳戶或企業餘額
  • 列出你的 eSIM 及其狀態、剩餘流量與效期,讀取已存用量或即時網路用量
  • 查看最近 7 天的網路事件,以及依國家與電信商統計的每日用量報表
  • 查看訂單紀錄、單筆訂單、加值方案與 Webhook 設定
  • 開啟寫入後:下單、加值、取消、暫停或恢復 eSIM、傳送簡訊與設定 Webhook,皆先預覽再確認
  • 提供整合指南與 eSIM 診斷兩個內建提示詞
適用情境
適合使用 eSIMfly 商務帳戶、想讓助理比較批發方案、監控各張 eSIM 流量、排查某張卡無資料的問題,或在確認步驟下完成下單與加值的場合。
執行需求
可使用託管的遠端端點並以 OAuth 登入 eSIMfly 商務帳戶,也可透過 npx(需 Node.js)或 Docker 在本機執行。本機模式需要商務後台提供的 ESIMFLY_ACCESS_CODE 與 ESIMFLY_SECRET_KEY;設定 ESIMFLY_MCP_ALLOW_WRITES=true 才會註冊寫入工具。需要能連線至 eSIMfly API 的網路。
安裝前請注意
寫入工具會動用帳戶餘額:create_order、topup_esim、cancel_esim(退款)、暫停/恢復、send_sms 與 set_webhook。除非 ESIMFLY_MCP_ALLOW_WRITES 為 true,否則這些工具不會註冊;每次呼叫在帶 confirm: true 前只回傳預覽。ESIMFLY_ACCESS_CODE 與 ESIMFLY_SECRET_KEY 是密鑰,建議使用速率限制較低的專用密鑰,如有疑慮請在後台輪替。即時狀態查詢被說明為成本較高。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Esimfly Mcp,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.eSimfly-Official%2Fesimfly-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "esimfly": {
      "type": "http",
      "url": "https://mcp.esimfly.net/mcp"
    }
  }
}

README

@esimfly/mcp — eSIMfly MCP server

[eSimfly-Official/esimfly-mcp MCP server] [npm] [CI] [smithery badge] [M8ven Score]

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

Local install

The server runs locally over stdio; your API key never leaves your machine.

Claude Desktop

claude_desktop_config.json → mcpServers:

json
{  "mcpServers": {    "esimfly": {      "command": "npx",      "args": ["-y", "@esimfly/mcp"],      "env": {        "ESIMFLY_ACCESS_CODE": "esf_...",        "ESIMFLY_SECRET_KEY": "sk_..."      }    }  }}

Claude Code

bash
claude mcp add esimfly -e ESIMFLY_ACCESS_CODE=esf_... -e ESIMFLY_SECRET_KEY=sk_... -- npx -y @esimfly/mcp

Cursor / Windsurf / other MCP clients

.cursor/mcp.json (or the client's equivalent):

json
{  "mcpServers": {    "esimfly": {      "command": "npx",      "args": ["-y", "@esimfly/mcp"],      "env": { "ESIMFLY_ACCESS_CODE": "esf_...", "ESIMFLY_SECRET_KEY": "sk_..." }    }  }}

Docker

bash
docker build -t esimfly-mcp .docker run -i --rm -e ESIMFLY_ACCESS_CODE=esf_... -e ESIMFLY_SECRET_KEY=sk_... esimfly-mcp

Enable 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_esim prompt)
  • "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_guide prompt)

Tools

ToolWhat it doesMode
search_packagesCatalogue search by destination / type with your cost priceread
get_balanceAccount (or enterprise) balanceread
list_esimsYour eSIMs with status, data left, validityread
get_esim_usageStored usage for one eSIM (cheap)read
get_esim_live_statusLive status from the network: install state, last network, device, usageread (expensive)
get_network_eventsLast 7 days of attach / data-session events, wrong-network flagread
get_usage_reportDaily usage by country and operator (up to 90 days)read
list_orders / get_orderOrder history and one order with its eSIMread
get_topup_packagesTop-up options for one eSIMread
get_webhook_settingsWebhook URL, events, recent deliveriesread
create_orderBuy eSIMs — preview → confirm: true + idempotency keywrite
topup_esimAdd data to an eSIM — preview shows package and costwrite
cancel_esimCancel an unused eSIM and refund to balancewrite (destructive)
suspend_esim / activate_esimBlock / restore network accesswrite
send_smsText the device holding the eSIMwrite
set_webhookConfigure webhook URL and eventswrite

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 confirm returns a preview and makes no mutable API call; create_order additionally requires the idempotency_key from its own preview, so an agent cannot place the same order twice.
  • Tool annotations mark reads as readOnlyHint and cancel/suspend as destructiveHint, 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

VariableRequiredDescription
ESIMFLY_ACCESS_CODEyesAPI access code (esf_…)
ESIMFLY_SECRET_KEYyesAPI secret key (sk_…)
ESIMFLY_MCP_ALLOW_WRITESnotrue to register write tools
ESIMFLY_BASE_URLnoOverride the API base URL

Embedding

ts
import { createEsimflyMcpServer } from '@esimfly/mcp';const server = createEsimflyMcpServer({ config: { accessCode, secretKey }, allowWrites: false });// connect it to any MCP transport

Releasing (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

[email protected] · https://docs.esimfly.net

來源:README.md,提交 73f44a5

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.1.3最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分