@carrierllc/mcp 0.13.72 → 0.13.74
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/README.md +5 -6
- package/dist/{chunk-NGNLWI7W.js → chunk-X7U4FBUH.js} +109 -109
- package/dist/{chunk-NGNLWI7W.js.map → chunk-X7U4FBUH.js.map} +1 -1
- package/dist/cli.js +27 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +206 -134
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/plugin/carrier/skills/issue-esim/SKILL.md +4 -4
- package/plugin/carrier/skills/provision/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carrierllc/mcp",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.74",
|
|
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
|
"author": "Carrier (Lifecycle Innovations Limited)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: issue-esim
|
|
3
|
-
description: Issue one Carrier eSIM with POST /v1/connectivity/intents. Use when a developer with no
|
|
3
|
+
description: Issue one Carrier eSIM with POST /v1/connectivity/intents. Use when a developer with no OCS reseller account wants global connectivity, a test eSIM, or test_global_1gb. Do not use for an existing OCS reseller, and do not use the operator OCS catalog for this.
|
|
4
4
|
argument-hint: "[test_global_1gb|test_eu_1gb|live plan slug] [idempotency key]"
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ argument-hint: "[test_global_1gb|test_eu_1gb|live plan slug] [idempotency key]"
|
|
|
8
8
|
|
|
9
9
|
This is the developer path. It is one object, `connectivity.intent`, not the OCS method list.
|
|
10
10
|
|
|
11
|
-
The description above is the trigger. Load this skill when the task is connectivity for a developer who has no OCS reseller account. An existing OCS reseller already has an
|
|
11
|
+
The description above is the trigger. Load this skill when the task is connectivity for a developer who has no OCS reseller account. An existing OCS reseller already has an OCS account and its own inventory tooling; do not steer that caller here. Do not load the operator MCP catalog first: clients inject every tool on that server before a skill can hide them.
|
|
12
12
|
|
|
13
13
|
## Install, if this skill is not already available
|
|
14
14
|
|
|
@@ -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 `ak_` 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
|
|
104
|
+
The write scope (needed for any live, non-`test_` plan and for minting `ak_` 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. Get an `ak_` key from Console → Settings → API Keys after upgrading, or headlessly via `POST /v1/api-keys` once you already have write-scoped access from the console session.
|
|
105
105
|
|
|
106
106
|
## One-tool MCP
|
|
107
107
|
|
|
@@ -130,7 +130,7 @@ Put the `ak_` key in that env block on the machine. Call the tool with `plan` an
|
|
|
130
130
|
|
|
131
131
|
## Shared inventory with OCS resellers
|
|
132
132
|
|
|
133
|
-
A live (non-`test_`) plan draws its eSIM from the same
|
|
133
|
+
A live (non-`test_`) plan draws its eSIM from the same OCS account number as everything else on that account — the connectivity intent, the storefront checkout webhook, and a direct OCS `affectPackageToSubscriber` call all pull from one pool. Issuing through this skill does not create separate stock. Each draw is idempotency-locked per channel (`intent:<id>` for this path) so retries cannot double-issue, but two different channels against the same low-stock template can still race each other for the last unit — whichever wins the OCS call gets it, and the other side sees `NO_INVENTORY`/503, not a queued retry. If you also run OCS writes directly, keep template-level headroom rather than assuming this skill's calls are invisible to your other tooling.
|
|
134
134
|
|
|
135
135
|
## If the person is new, use these sentences
|
|
136
136
|
|
|
@@ -22,7 +22,7 @@ Matches Console / API `POST /v1/subscribers/issue-from-inventory`: OCS auto-pick
|
|
|
22
22
|
4. Surface returned **ICCID**, packageId, and **activation QR / LPA / smdp** fields in a copyable block.
|
|
23
23
|
5. Confirm stock with `esim_status_per_account` if the operator wants a fleet view.
|
|
24
24
|
|
|
25
|
-
If OCS reports no free inventory, stop and tell the operator to add stock SIMs
|
|
25
|
+
If OCS reports no free inventory, stop and tell the operator to add stock SIMs to the OCS account, then retry.
|
|
26
26
|
|
|
27
27
|
## Alternate paths
|
|
28
28
|
|