esimfly-mcp
v0.2.0eSIMfly Business API: search eSIM plans, check usage, diagnose eSIMs, optionally order (confirmed)
Values you need
| Variable | What it is | |
|---|---|---|
ESIMFLY_ACCESS_CODE | required secret | eSIMfly API access code (esf_...) |
ESIMFLY_SECRET_KEY | required secret | eSIMfly API secret key (sk_...) |
ESIMFLY_MCP_ALLOW_WRITES | optional | Set to true to enable ordering, top-up, cancel, suspend, SMS and webhook tools |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add esimfly-mcp -e 'ESIMFLY_ACCESS_CODE=<ESIMFLY_ACCESS_CODE>' -e 'ESIMFLY_SECRET_KEY=<ESIMFLY_SECRET_KEY>' -- npx -y --package=@esimfly/mcp@0.2.0 esimfly-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"esimfly-mcp": {
"args": [
"-y",
"--package=@esimfly/mcp@0.2.0",
"esimfly-mcp"
],
"command": "npx",
"env": {
"ESIMFLY_ACCESS_CODE": "<ESIMFLY_ACCESS_CODE>",
"ESIMFLY_SECRET_KEY": "<ESIMFLY_SECRET_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"esimfly-mcp": {
"args": [
"-y",
"--package=@esimfly/mcp@0.2.0",
"esimfly-mcp"
],
"command": "npx",
"env": {
"ESIMFLY_ACCESS_CODE": "<ESIMFLY_ACCESS_CODE>",
"ESIMFLY_SECRET_KEY": "<ESIMFLY_SECRET_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "ESIMFLY_ACCESS_CODE",
"id": "esimfly-access-code",
"password": true,
"type": "promptString"
},
{
"description": "ESIMFLY_SECRET_KEY",
"id": "esimfly-secret-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"esimfly-mcp": {
"args": [
"-y",
"--package=@esimfly/mcp@0.2.0",
"esimfly-mcp"
],
"command": "npx",
"env": {
"ESIMFLY_ACCESS_CODE": "${input:esimfly-access-code}",
"ESIMFLY_SECRET_KEY": "${input:esimfly-secret-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.esimfly-mcp]
command = "npx"
args = ["-y", "--package=@esimfly/mcp@0.2.0", "esimfly-mcp"]
env = { "ESIMFLY_ACCESS_CODE" = "<ESIMFLY_ACCESS_CODE>", "ESIMFLY_SECRET_KEY" = "<ESIMFLY_SECRET_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http esimfly-mcp https://mcp.esimfly.net/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"esimfly-mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.esimfly.net/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"esimfly-mcp": {
"url": "https://mcp.esimfly.net/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"esimfly-mcp": {
"type": "http",
"url": "https://mcp.esimfly.net/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.esimfly-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.esimfly.net/mcp"]For AI agents
- Ask the user for: ESIMFLY_ACCESS_CODE, ESIMFLY_SECRET_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_packages, get_balance, list_esims, get_esim_usage, get_esim_live_status, get_network_events, get_usage_report, list_orders, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json