@carrierllc/mcp 0.13.92 → 0.13.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carrierllc/mcp",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.93",
|
|
4
4
|
"description": "Carrier MCP — natural-language control of MVNO/eSIM fleets via the network OCS. Stdio mode for direct integration with Claude Desktop, Cursor, Windsurf, and MCP-compatible clients. Ships the `carrier` CLI (plugin install + white-label eSIM storefront scaffold).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"mcpName": "llc.carrier/mcp",
|
|
@@ -35,15 +35,15 @@ npx -y -p node@22 -p skills -- skills add https://carrier.llc/.well-known/agent-
|
|
|
35
35
|
|
|
36
36
|
`POST https://api.carrier.llc/v1/connectivity/intents`
|
|
37
37
|
|
|
38
|
-
Required header: `Idempotency-Key` (stable per order, max 255 characters).
|
|
38
|
+
Required header: `Idempotency-Key` (stable per order, max 255 characters). In real code, use your own order id. The example below generates a fresh key per run, so it never collides with an earlier test.
|
|
39
39
|
|
|
40
|
-
Auth: `Authorization: Bearer $CARRIER_API_KEY` with an `ak_` key.
|
|
40
|
+
Auth: `Authorization: Bearer $CARRIER_API_KEY` with an `ak_` key. A free account can create one in the console under Home or Settings → API Keys, with no upgrade, and that key works for the test plans below. Minting a key from a script with `POST /v1/api-keys` needs the write scope (see Auth errors below). Do not put the key in the repo.
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
43
|
curl -sS https://api.carrier.llc/v1/connectivity/intents \
|
|
44
44
|
-X POST \
|
|
45
45
|
-H "Authorization: Bearer $CARRIER_API_KEY" \
|
|
46
|
-
-H "Idempotency-Key:
|
|
46
|
+
-H "Idempotency-Key: first-call-skill-$(date +%s)" \
|
|
47
47
|
-H "Content-Type: application/json" \
|
|
48
48
|
-d '{ "plan": "test_global_1gb" }'
|
|
49
49
|
```
|
|
@@ -101,7 +101,7 @@ Confirm a plan later with `POST /v1/connectivity/intents/:id/confirm` when the f
|
|
|
101
101
|
| Live plan (anything but `test_global_1gb`/`test_eu_1gb`) on the free tier | 402 | `{ "error": { "type": "invalid_request_error", "code": "write_required", "message": "Live plans require the write scope. Test plans such as test_global_1gb work on the free tier." } }` |
|
|
102
102
|
| Monthly quota exceeded (free: 1,000 calls/mo, pro: 100,000 credits) | 429 | `{ "error": "Monthly quota exceeded", "limit": 1000, "used": 1000, "reset_at": "...", "upgrade_url": "https://mcp.carrier.llc/upgrade" }` |
|
|
103
103
|
|
|
104
|
-
The write scope (needed for any live, non-`test_` plan and for minting `
|
|
104
|
+
The write scope (needed for any live, non-`test_` plan and for minting keys with `POST /v1/api-keys`) comes from the **Pro** or **Enterprise** subscription tier; the free tier only has the read scope. Test plans work on free with no subscription and no OCS account. A free account gets its `ak_` key from Console → Home or Settings → API Keys; no upgrade is needed for that key or for test plans.
|
|
105
105
|
|
|
106
106
|
## One-tool MCP
|
|
107
107
|
|