@carrierllc/mcp 0.9.3 → 0.10.1

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 CHANGED
@@ -136,6 +136,64 @@ For multi-user deployments with OAuth 2.1 + PKCE, use the remote endpoint:
136
136
  | `ESIMVAULT_API_TOKEN` | Yes | — | Your eSIMVault OCS API token |
137
137
  | `CARRIER_OCS_API_TOKEN` | Alternative | — | Alias for `ESIMVAULT_API_TOKEN` |
138
138
  | `CARRIER_OCS_BASE_URL` | No | `https://ocs.esimvault.cloud` | OCS base URL (no trailing slash) |
139
+ | `BROWSER_USE_API_KEY` | No | — | Browser Use Cloud key. Enables the browsing agent (`ui_agent_ask`). Runs are billed to this key at roughly **$0.20–1.00 each** |
140
+ | `CARRIER_BROWSER_USE_MAX_RUNS` | No | `10` | Browser-agent runs allowed per CLI process. `0` disables the agent. See the caveats below |
141
+ | `CARRIER_ALLOW_PORTAL_PASSWORD` | No | unset | Set to `1` to allow the ten OCS-dashboard tools to use a portal login from this machine. See below |
142
+ | `CARRIER_OCS_PORTAL_USERNAME` | No | — | OCS portal username. Only used when the flag above is set |
143
+ | `CARRIER_OCS_PORTAL_PASSWORD` | No | — | OCS portal password. Only used when the flag above is set |
144
+ | `CARRIER_OCS_DASHBOARD_URL` | No | `https://ocs.esimvault.cloud` | Dashboard the portal agent logs into |
145
+
146
+ ### The browser agent costs real money
147
+
148
+ `ui_agent_ask` and the OCS-dashboard tools dispatch a hosted browser agent.
149
+ Each run costs roughly **$0.20–1.00**, billed to your own `BROWSER_USE_API_KEY`.
150
+
151
+ `CARRIER_BROWSER_USE_MAX_RUNS` caps how many runs one CLI process may start.
152
+ Read what it does not do:
153
+
154
+ - It caps **runs, not dollars**. The vendor prices a run after it finishes.
155
+ - It does **not survive a restart**. Each new CLI process starts a fresh count,
156
+ so a caller that respawns the CLI between runs is not bounded by it.
157
+
158
+ The only hard financial ceiling is a spend limit set in your Browser Use
159
+ account. Set one.
160
+
161
+ ### Opting in to the OCS portal password
162
+
163
+ Ten `ui_*` tools — steering lists, sub-account creation, destination lists,
164
+ package-template deletion, location-zone edits — have no OCS REST equivalent.
165
+ They work by driving the OCS web dashboard, which means logging into it. By
166
+ default the CLI has no portal login and these tools refuse.
167
+
168
+ You can supply one. Understand what you are supplying first:
169
+
170
+ - **This is a portal password, not a scoped API token.** It grants full
171
+ dashboard access to anyone who holds it. `CARRIER_OCS_API_TOKEN` is a
172
+ different kind of secret and is not a precedent for this.
173
+ - **An environment variable is a poor place for one.** It is readable from shell
174
+ history, from `ps` output by any process on the machine, and from CI logs.
175
+ - **It is sent to Browser Use Cloud**, which types it into the OCS login form.
176
+
177
+ Carrier never logs it, never returns it in tool output, and never writes it to
178
+ an audit row — but the exposure above is yours to accept.
179
+
180
+ Two independent things must both be true, and neither alone does anything:
181
+
182
+ ```bash
183
+ export CARRIER_ALLOW_PORTAL_PASSWORD=1
184
+ export CARRIER_OCS_PORTAL_USERNAME='...'
185
+ export CARRIER_OCS_PORTAL_PASSWORD='...'
186
+ ```
187
+
188
+ With the flag set, the CLI prints the warning to stderr at startup. Without both
189
+ halves, the ten tools return the same "requires the remote Worker" refusal they
190
+ returned before this option existed.
191
+
192
+ Every one of the ten accepts `dry_run: true`, which returns the agent prompt
193
+ with the credentials redacted and dispatches nothing. Use it first.
194
+
195
+ `ui_request_reseller_relay_change` is not one of the ten and is never gated: it
196
+ drafts text and touches no portal.
139
197
 
140
198
  ---
141
199