Command-line interface
The carrier CLI
Install
The CLI ships inside the @carrierllc/mcp npm package and installs two binaries: carrier (the CLI) and carrier-mcp (the stdio MCP server). Node 22+ required for the npm paths.
brew tap Lifecycle-Innovations-Limited/carrier
brew trust --tap Lifecycle-Innovations-Limited/carrier # Homebrew 5+ requires trusting third-party taps
brew install carrier
carrier --versionnpm i -g @carrierllc/mcp
carrier --versionnpx -y -p @carrierllc/mcp carrier-mcpUpgrading: brew update && brew upgrade carrier or npm i -g @carrierllc/mcp@latest.
Authentication
Two modes. Interactive use needs no credentials at all; headless use takes an API key from the environment.
- 01
OAuth on first use (interactive).
carrier plugin installregisters the zero-credential MCP URLhttps://mcp.carrier.llc/mcpin Claude Code. The first tool call opens Clerk sign-in / sign-up in your browser (Google, GitHub, or email). No token to paste. Stuck?claude mcp auth carrier. - 02
API key (headless / CI). The domain commands and
carrier askcall the remote MCP directly and read a bearer credential from the environment, in this order:CARRIER_API_KEY,CARRIER_ORG_API_KEY,CARRIER_OCS_API_TOKEN. On the free plan,carrier intents createworks with onlyCARRIER_API_KEY.carrier askruns on AI credit: on Free, the AI credit granted once at sign-up, then pay-per-use (live rate in your console).
# Console → Settings → API Keys (keys start with ak_)
export CARRIER_API_KEY=ak_...
# First call, free plan: a test eSIM, no network call
carrier intents create --plan test_global_1gb
# Uses AI credit (Free: granted once at sign-up, then pay-per-use)
carrier ask "show fleet health"Core commands
carrierInteractive home: status, plugin + MCP install, optional storefront scaffold.
carrier init [--dir <path>] [--yes] [--full]Guided setup. --yes uses Carrier defaults with no prompts (plugin + scaffold + build); --full runs the classic plugin + storefront wizard.
carrier statusMCP / plugin / auth status with concrete next steps.
carrier plugin installInstall the Carrier Claude Code plugin and register the zero-cred MCP (OAuth on first use).
carrier plugin statusPlugin + MCP registration state and auth next steps.
carrier open <signup|signin|console|onboarding|mcp>Open Carrier account and product URLs in your browser.
carrier examplesSample prompts for Claude, plus the full command map.
carrier intents create [--plan test_global_1gb] [--json]Your first call. Issues a test eSIM on the free plan with only CARRIER_API_KEY: test data, no network call.
carrier ask "<intent>"Natural-language fallback for anything the discrete commands miss. Uses AI credit (on Free: granted once at sign-up, then pay-per-use). Needs CARRIER_API_KEY or an OCS token.
carrier --version / --helpVersion and help. Every subcommand also accepts --help.
Commands
164 commands from the CLI registry. Download the Markdown or JSON list, or the full pack.
--json— raw tool response on stdout, ready forjq; diagnostics go to stderr.--commit— commands tagged dry-run default preview first. Nothing changes until you re-run with--commit.--confirm— commands tagged needs --confirm refuse to run without it. Commands with neither tag carry no--commitpreview.- Usage queries (
--start/--end) are limited to 7 days. The CLI moves the start date for you, because the eSIM provider's system (OCS) rejects wider windows. Omit both for the last 7 days.
carrier subscribers
Look up, inspect and change subscribers.carrier subscribers list --account-id <id> --iccid <iccid> --msisdn <msisdn> --imsi <imsi> --activation-code <code> --status <status> --limit <n> --offset <n>List subscribers. With no filter, uses your default account (lowest-id account under your reseller).
MCP list_subscribers
carrier subscribers get --iccid <iccid> --msisdn <msisdn> --gz-counterFull record for one subscriber by ICCID or MSISDN.
MCP get_subscriber
carrier subscribers location --iccid <iccid>Last-known location from the most recent cell tower usage.
MCP get_subscriber_location
carrier subscribers usage --iccid <iccid> --start <date> --end <date>Daily data, voice and SMS usage over a window of up to 7 days.
MCP subscriber_usage
carrier subscribers events --iccid <iccid> --start <date> --end <date>Network attach/detach events over a window of up to 7 days.
MCP subscriber_network_events
carrier subscribers active-period --iccid <iccid>First and last usage dates for one subscriber.
MCP subscriber_active_period
carrier subscribers esim-status --account-id <id> --reseller-id <id>eSIM state counts per account: active, suspended, inventory.
MCP esim_status_per_account
carrier subscribers set-status --iccid <iccid> --status <status>write · dry-run default · needs --confirmChange a subscriber's status.
MCP modify_subscriber_status
carrier subscribers set-balance --iccid <iccid> --amount <amount> --mode <mode>write · dry-run defaultAdd to or replace a subscriber's balance.
MCP modify_subscriber_balance
carrier subscribers sim-status show --iccid <iccid>SIM/eSIM status at the SIM provider level, distinct from OCS status.
MCP get_sim_provider_status
carrier subscribers sim-status set --iccid <iccid> --status <status>write · dry-run default · needs --confirmChange the SIM/eSIM status at the SIM provider level. ENABLED and DISABLED map to OCS Affected and Free.
MCP change_sim_status
carrier subscribers phone-number set --iccid <iccid> --phone-number <e164> --phone-type <type>write · dry-run defaultAssign a phone number (MSISDN) to a subscriber.
MCP affect_subscriber_phone_number
carrier subscribers contact set --iccid <iccid> --first-name <name> --last-name <name> --company <name> --email <email> --phone-number <number>write · dry-run defaultUpdate contact details on a subscriber. Omitted fields stay unchanged.
MCP modify_subscriber_contact_info
carrier subscribers mobile-plan set --iccid <iccid> --plan-id <id>write · dry-run defaultChange the mobile pricing plan a subscriber is billed under.
MCP modify_subscriber_mobile_plan
carrier subscribers voip-plan set --iccid <iccid> --plan-id <id>write · dry-run defaultChange the VoIP pricing plan assigned to a subscriber.
MCP modify_subscriber_voip_plan
carrier subscribers traffic set --iccid <iccid> --data <bool> --moc <bool> --mtc <bool> --sms <bool>write · dry-run defaultEnable or disable data, calls and SMS per traffic type. Omit a flag to leave it unchanged.
MCP set_subscriber_traffic_restrictions
carrier subscribers bitrate show --iccid <iccid>Current HLR-level bandwidth cap for a subscriber.
MCP hlr_get_bitrate
carrier subscribers bitrate set --iccid <iccid> --bitrate <bps> --bitrate-string <level>write · dry-run defaultSet an HLR-level bandwidth cap. Bits per second are mapped onto the OCS KB_ enum.
MCP hlr_set_bitrate
carrier subscribers greenzone reset --iccid <iccid>write · dry-run default · needs --confirmReset the Green Zone byte counter to zero. Irreversible.
MCP reset_subscriber_gz_counter
carrier subscribers cell-location --radio-type <type> --mcc <mcc> --mnc <mnc> --lac <lac> --cell-id <id> --signal-strength <dbm>Resolve a raw cell tower tuple to coordinates (Bridge4IP GeoSense).
MCP get_subscriber_location_by_cell_id
carrier packages
Packages assigned to a subscriber.carrier packages list --iccid <iccid>Packages on one subscriber, with allowance and expiry.
MCP list_subscriber_packages
carrier packages assign --iccid <iccid> --template-id <id> --account-id <id> --request-key <key> --start-date <date> --end-date <date> --validity-period <days> --business-kind <kind> --business-id <id> --business-line <line> --business-verb <verb>write · dry-run defaultAssign a one-time package from a template.
MCP assign_package
carrier packages set-status --iccid <iccid> --package-id <id> --status <status>write · dry-run defaultActivate or deactivate one package without deleting it.
MCP modify_package_status
carrier packages set-expiry --iccid <iccid> --package-id <id> --expires <date> --validity-days <n>write · dry-run defaultMove a package's expiry date. Pass an absolute date or a day count.
MCP modify_package_expiry
carrier packages set-limits --iccid <iccid> --package-id <id> --limits <json>write · dry-run defaultChange data, voice or SMS ceilings on an assigned package.
MCP modify_package_limits
carrier packages assign-recurring --iccid <iccid> --template-id <id> --activate-at-first-use --start-time <iso>write · dry-run defaultAssign an auto-renewing package from a recurring-enabled template.
MCP assign_recurring_package
carrier packages recurring set --iccid <iccid> --package-id <id> --action <action>write · dry-run defaultPause or restart the auto-renewal of a recurring package.
MCP stop_resume_recurring_package
carrier packages active-period set --iccid <iccid> --package-id <id> --start <date> --end <date> --comment <text>write · dry-run defaultMove the start and/or end of a package's active period.
MCP modify_subscriber_package_active_period
carrier packages clean --iccid <iccid>write · dry-run default · needs --confirmRemove ALL packages from a subscriber. Irreversible.
MCP clean_all_packages
carrier packages delete --iccid <iccid> --package-id <id>write · dry-run default · needs --confirmPermanently remove one package from a subscriber.
MCP delete_subscriber_package
carrier templates
The package template catalog.carrier templates listBrowse package templates available for assignment.
MCP list_package_templates
carrier templates create --template <json>write · dry-run defaultCreate a package template from a JSON configuration.
MCP create_package_template
carrier templates set-core --template-id <id> --changes <json>write · dry-run defaultChange name, limits, cost, validity or zone on a template.
MCP modify_template_core
carrier templates set-recurring --template-id <id> --changes <json>write · dry-run defaultChange auto-renewal settings on a template.
MCP modify_template_recurring
carrier templates set-throttling --template-id <id> --changes <json>write · dry-run defaultChange throttling thresholds. Applies to existing packages too.
MCP modify_template_throttling
carrier zones
Location zones and destination lists.carrier zones list --reseller-id <id> --verbose <bool>Location zones with countries and operators. Prefer this over `elements`.
MCP list_detailed_location_zones
carrier zones elements --zone-id <id>Raw zone elements. Upstream OCS returns malformed rows for some zones.
MCP list_location_zones
carrier zones create --zone <json>write · dry-run defaultCreate a location zone from a JSON configuration.
MCP create_location_zone
carrier zones network-profile set --zone-id <id> --network-profile-id <id>write · dry-run defaultAttach or change the network profile on an existing location zone.
MCP change_network_profile_of_location_zone
carrier zones destinations --reseller-id <id>Destination list catalog for voice and SMS packages.
MCP list_destination_lists
carrier zones prefixes --destination-list-id <id>Dialling prefixes inside one destination list.
MCP list_destination_prefixes
carrier steering
Network steering lists and operator preference.carrier steering list --reseller-id <id>Steering lists configured for this reseller.
MCP list_steering_lists
carrier steering assign --iccid <iccid> --list-id <id>write · dry-run defaultAssign a steering list to a subscriber. Follow with `push`.
MCP modify_subscriber_steering_list
carrier steering push --iccid <iccid>write · dry-run defaultPush the assigned operator preference list to the device now.
MCP push_steering_to_subscriber
carrier network-default
Which networks a SIM gets per country. Default: the cheapest available.carrier network-default showShow the org network default (cheapest_available, all or custom) and what applies today. New assignments only.
MCP get_network_default
carrier network-default set --mode <mode> --list-id <id>write · dry-run defaultStore the org network default. Changes no SIM and writes nothing to OCS; applies to new assignments.
MCP set_network_default
carrier network-default plan --countries <codes> --sim-mode <mode> --sim-list-id <id> --package-mode <mode> --package-list-id <id> --reseller-id <id>Show which networks a SIM would get in the given countries. Read only. Falls back to all networks with a loud warning when the tariff is missing.
MCP plan_network_default
carrier accounts
Reseller accounts: balances and subscriber moves.carrier accounts list --reseller-id <id>Accounts under a reseller with name, balance and type.
MCP list_reseller_accounts
carrier accounts balance set --account-id <id> --amount <amount> --mode <mode>write · dry-run default · needs --confirmAdd to or replace an account's monetary balance.
MCP modify_account_balance
carrier accounts move-subscribers --src-account-id <id> --dest-account <id> --range-type <type> --range-start <value> --range-end <value>write · dry-run default · needs --confirmMove a contiguous IMSI or ICCID range of subscribers to another account.
MCP move_subscriber_range_to_account
carrier reseller
The reseller the token belongs to.carrier reseller show --reseller-id <id>Full reseller record: balance, pricing plans, contact and traffic config.
MCP get_reseller_info
carrier tariff
Wholesale tariffs: mobile and VoIP rates.carrier tariff show --reseller-id <id> --country <name|iso2> --traffic-type <type> --verbose <bool>Per-country wholesale rates for data, voice and SMS.
MCP get_tariff
carrier tariff voip --reseller-id <id>VoIP tariff catalog for a reseller.
MCP list_subscriber_voip_tariff
carrier tariff voip-rules --voip-plan-id <id>Rate rules inside one VoIP plan.
MCP list_voip_tariff_rule
carrier sms
Mobile-terminated SMS to subscribers.carrier sms send --iccid <iccid> --msisdn <msisdn> --message <text> --sender <sender>write · dry-run default · needs --confirmSend an MT SMS to one subscriber.
MCP send_sms
carrier sponsors
Sponsor networks backing the eSIM profiles.carrier sponsors list --reseller-id <id>Sponsor carriers available to this reseller.
MCP list_sponsors
carrier network-profiles
Roaming configuration profiles for zones and provisioning.carrier network-profiles listNetwork profiles available to this reseller.
MCP list_network_profiles
carrier webhooks
Bridge4IP webhook and relay flag status.carrier webhooks show --reseller-id <id>Current relay flags (LU, Gy, VoIP, calls+SMS) and notification webhooks.
MCP carrier_webhook_config
carrier intelligence
Composite reports over the fleet.carrier intelligence fleet-health --account-id <id>eSIM counts, low-balance accounts and what needs attention.
MCP fleet_health
carrier intelligence diagnose --iccid <iccid>Why one subscriber is offline, throttled or failing to attach.
MCP diagnose_subscriber
carrier intelligence anomalies --iccid <iccid>Usage spikes and burn rates that exhaust the package early.
MCP detect_usage_anomalies
carrier intelligence churn --iccid <iccid>Churn risk score with contributing factors.
MCP churn_risk
carrier intelligence optimize --iccid <iccid>Better-fitting package for one subscriber, with the saving.
MCP optimize_package
carrier intelligence coverage --account-id <id> --limit <n>Sampled last-known locations; country and network only where OCS reports them.
MCP audit_network_coverage
carrier intelligence high-cost --account-id <id> --limit <n> --threshold-pct <n>Subscribers whose consumption erodes the margin.
MCP high_cost_subscribers
carrier intelligence marketing --account-id <id> --start <date> --end <date>Regional ARPU from historical subscriber charges and catalogue coverage.
MCP marketing_intelligence
carrier intelligence country-entry --iccid <iccid> --expected-country <iso2>Country a subscriber is in now, optionally diffed against the last known one.
MCP detect_country_entry
carrier api-keys
Mint Carrier API keys (ak_…) for headless and CI usecarrier api-keys create --name <name> --description <text> --seconds-until-expiration <n>writeCreate an org API key. The secret is shown once and never stored by the CLI.
carrier onboard
Connect a new account to OCS without opening a browsercarrier onboard statusShow how far onboarding has got. Same state the console renders.
carrier onboard org --name <name> --website <url> --country <iso2> --operator-type <type>writeRecord who the operator is (step 1).
carrier onboard connect --token <token>writeConnect your own network token (step 2, BYO). Verified against OCS, then stored encrypted; the token is never echoed back.
carrier onboard managedwriteLet Carrier provision the OCS sub-account instead (step 2, the primary path). Idempotent, and clears any BYO token.
carrier onboard plan --template-id <id> --display-name <name>writeRecord the starting plan template (step 3).
carrier onboard plan-skipwriteSkip the plan step and come back to it later (step 3).
carrier onboard test-esimwriteRead back one eSIM from the connected fleet (step 4). Nothing is provisioned; a demo ICCID with a reason comes back if OCS has nothing to show.
carrier onboard completewriteMark onboarding done (step 5).
carrier affiliate
Carrier affiliate program: profile, referral link and commissionscarrier affiliate statusRead-only: returns the affiliate profile, referral code, link, counts, money owed and paid, and Connect payouts status for the authenticated operator.
MCP affiliate_status
carrier affiliate commissions --limit <n>Read-only: returns the list of commission records for the authenticated operator.
MCP affiliate_commissions
carrier affiliate joinwriteJoin the Carrier affiliate program and generate a personal referral code and link.
MCP affiliate_join
carrier offerings
Starter templates for a connectivity offeringcarrier offerings templatesList the versioned starter templates for a connectivity offering, for example travel-booking, own-brand and member-benefit.
MCP list_connectivity_offering_templates
carrier benefits
Member-benefit campaigns: create, pause, claim, issue an eSIM and reconcilecarrier benefits create --offering-id <id> --revision <n> --max-claims <n> --cost-cents <n> --expires-at <n> --product-id <id>write · needs --confirmCreate a member-benefit campaign: a capped number of eSIM claims for one offering revision, each costing a fixed amount from your sponsor wallet.
MCP create_benefit_campaign
carrier benefits status --campaign-id <id> --status <status>write · needs --confirmPause a campaign so it accepts no new claims, or resume it.
MCP set_benefit_campaign_status
carrier benefits entitle --campaign-id <id> --external-ref <ref> --ttl-ms <n>write · needs --confirmIssue ONE single-use right for one external booking or member reference, which the claimant presents to claim a benefit.
MCP create_benefit_entitlement
carrier benefits claim --campaign-id <id> --external-ref <ref> --entitlement-token <token>write · needs --confirmClaim one benefit from a campaign for an external reference, which places a hold on the sponsor wallet.
MCP claim_benefit
carrier benefits issue --campaign-id <id> --claim-id <id>write · needs --confirmIssue ONE REAL eSIM for a held claim and settle the wallet hold.
MCP issue_benefit_claim
carrier benefits reconcile --campaign-id <id> --claim-id <id>write · needs --confirmAsk the provider what happened to a claim whose issuance ended in an unknown outcome.
MCP reconcile_benefit_claim
carrier experiments
Connectivity experiments: record an event and count events per measurecarrier experiments record --event-id <id> --experiment-id <id> --revision <n> --link <link> --measure <measure>writeRecord ONE event of an experiment: what a participant saw or did.
MCP record_experiment_event
carrier experiments report --experiment-id <id> --from <n> --to <n>Count the events of one experiment per measure inside a time window.
MCP experiment_report
carrier billing
Carrier plan credits, spend thresholds and rate-limit statecarrier billing events --limit <n>View recent billing threshold events: notifications, invoice triggers, hard cap alerts, and overage pauses.
MCP billing_events
carrier billing configure --overages-enabled <bool> --billing-threshold-cents <n> --hard-cap-cents <n> --auto-pause-on-cap <bool> --notify-at-pct <list> --notification-email <email> --notification-phone <phone> --webhook-url <url>write · needs --confirmConfigure your billing preferences: enable/disable overages, set billing thresholds (bill shock prevention), configure notification percentages, and set hard spending caps.
MCP configure_billing
carrier billing ai-creditsRead your organization's AI credit wallet in USD: balance_usd and available_usd.
MCP ai_credit_balance
carrier billing creditsRead how much of this Carrier MCP plan is left: credits remaining, daily free credits, overage state, volume discount tier, and billing threshold state.
MCP credit_balance
carrier billing plansView all available Carrier MCP pricing plans with credit allotments, features, overage rates, and volume discount tiers.
MCP pricing_plans
carrier billing projection --days-to-project <n>Project your credit usage and costs for the remainder of the billing period based on current consumption rate.
MCP usage_projection
carrier billing rate-limit --endpoint <endpoint>Inspect Bridge4IP OCS rate-limit governor state — bucket fill levels, per-endpoint limits, and 80% alert thresholds.
MCP rate_limit_status
carrier wallet
The Carrier prepaid wallet: balance and top-upscarrier wallet balanceRead the caller organisation's Carrier prepaid wallet: current balance and auto-top-up settings.
MCP wallet_balance
carrier wallet topup --pack <pack>writeCreate a Stripe Checkout link so a human can top up the Carrier prepaid wallet by card.
MCP wallet_topup_checkout
carrier wallet auto-topup --pack-cents <n>write · needs --confirmCharge the organisation's saved card off-session, right now, and credit the Carrier prepaid wallet with the pack.
MCP wallet_auto_topup
carrier ai-wallet
AI-credit wallet automatic top-up settingscarrier ai-wallet auto-topup --enabled <bool> --amount-cents <n>write · needs --confirmRead or change automatic USD replenishment for the separate AI-credit wallet.
MCP ai_wallet_auto_topup
carrier stripe
Money in the operator's connected Stripe accountcarrier stripe balanceRead the money sitting in the operator's connected Stripe account: available and pending, split per currency.
MCP stripe_connect_balance
carrier stripe payouts --limit <n> --status <status>List money Stripe has already sent from the operator's connected account to their bank, newest first.
MCP stripe_connect_payouts
carrier stripe charges --limit <n> --starting-after <after>List recent payments (charges) on the operator's connected Stripe account, e.g. storefront purchases.
MCP stripe_connect_charges_list
carrier stripe disputes --limit <n> --status <status>List chargebacks customers have raised with their bank against the operator's connected Stripe account.
MCP stripe_connect_dispute_list
carrier stripe refund --charge-id <id> --amount-cents <n> --reason <reason> --confirm-token <token>writeRefund money to a customer on one charge in the operator's connected Stripe account.
MCP stripe_connect_refund
carrier radar
Stripe Radar fraud reviews and value listscarrier radar reviews --open-only <bool> --limit <n>List the Stripe Radar fraud reviews waiting on a manual approve/decline decision, newest first.
MCP radar_review_list
carrier radar approve --review-id <id> --confirm-token <token>writeClear a Stripe Radar fraud review so the held charge is captured and the money is taken.
MCP radar_review_approve
carrier radar decline --review-id <id> --confirm-token <token>writeAlways refuses and calls nothing: Stripe has no endpoint to decline a Radar review (its Reviews API only lists, retrieves and approves).
MCP radar_review_decline
carrier radar rule-toggle --rule-id <id> --enabled <bool>writeReport a Stripe Radar rule's state. Stripe exposes no API to change it, so this changes nothing.
MCP radar_rule_toggle
carrier radar value-list add --value-list-id <id> --value <value> --confirm-token <token>writeAdd one value to an existing Stripe Radar value list, changing how every future charge is scored.
MCP radar_value_list_add
carrier greenzone
The Bridge4IP Greenzone whitelistcarrier greenzone list --from-portal <bool>List current Greenzone whitelist entries from the KV cache.
MCP greenzone_whitelist_list
carrier greenzone add --host <host> --ip <ip>write · dry-run defaultAdd a host or IP to the Greenzone whitelist. Needs Kapture running in the operator's own Chrome — without it the dry run still returns the portal steps to follow by hand.
MCP greenzone_whitelist_add
carrier greenzone remove --host <host> --ip <ip>write · dry-run default · needs --confirmRemove a host or IP from the Greenzone whitelist. Needs Kapture running in the operator's own Chrome — without it the dry run still returns the portal steps to follow by hand.
MCP greenzone_whitelist_remove
carrier agent
Steel browsing agents: one-off tasks and cron schedulescarrier agent ask --prompt <prompt> --max-steps <n>write · dry-run defaultSend a plain-language task to a hosted browsing agent, which drives a real browser on the open web — navigating pages, searching, extracting content, filling forms outside the OCS portal.
MCP ui_agent_ask
carrier agent status --task-id <id>Poll the status of a browser agent task dispatched by ui_agent_ask or any ui_* tool.
MCP ui_agent_status
carrier agent pendingReturns all browser automation tasks that are currently paused waiting for human input.
MCP ui_agent_list_pending
carrier agent reply --task-id <id> --reply <reply>writeResumes a browser automation task that paused waiting for input.
MCP ui_agent_reply
carrier agent usageReturns an estimated Anthropic API cost for Steel agent tasks dispatched this calendar month.
MCP ui_agent_usage
carrier agent schedule listLists all Steel recurring schedules stored in KV.
MCP ui_agent_schedule_list
carrier agent schedule create --name <name> --cron <cron> --prompt-template <template>write · needs --confirmCreates a recurring Steel agent run on a cron schedule.
MCP ui_agent_schedule_create
carrier agent schedule pause --schedule-id <id>write · needs --confirmPauses an active Steel recurring schedule.
MCP ui_agent_schedule_pause
carrier agent schedule resume --schedule-id <id>write · needs --confirmResumes a paused Steel recurring schedule.
MCP ui_agent_schedule_resume
carrier agent schedule delete --schedule-id <id>write · needs --confirmPermanently deletes a Steel recurring schedule.
MCP ui_agent_schedule_delete
carrier portal
OCS portal changes that only exist in the web UI, driven by Kapturecarrier portal account create --name <name> --description <description> --initial-balance <n>write · dry-run default · needs --confirmCreates a new sub-account under the reseller via the OCS web dashboard.
MCP ui_create_account
carrier portal steering build --steering-list-id <n> --add-operators <list> --remove-operators <list> --operator-type <type>write · dry-run defaultChange which mobile operators sit on a steering list that already exists, by driving the OCS web dashboard — the OCS REST API cannot edit list membership.
MCP ui_build_steering_list
carrier portal steering create --name <name> --description <description>write · dry-run defaultCreate a new, empty network steering list (OPLMN preference set) by driving the OCS web dashboard, because the OCS REST API cannot create one.
MCP ui_create_steering_list
carrier portal steering set-account --account-id <n> --steering-list-id <n>write · dry-run defaultAssigns or removes a steering list at the account level via the OCS web dashboard.
MCP ui_set_account_steering_list
carrier portal relay request --reseller-id <n> --relay-gy <bool> --relay-calls-sms <bool> --relay-voip <bool> --reason <reason>writeDrafts the parent-reseller/support request for reseller relay flags that are visible but read-only in the OCS portal at the current account tier.
MCP ui_request_reseller_relay_change
carrier portal destinations create --name <name> --prefixes <list> --description <description>write · dry-run defaultCreates a new destination list (named set of phone number prefixes for MOC call permissions) via the OCS web dashboard.
MCP ui_create_destination_list
carrier portal destinations edit --destination-list-id <n> --add-prefixes <list> --remove-prefixes <list> --new-name <name>write · dry-run defaultEdits an existing destination list via the OCS web dashboard.
MCP ui_edit_destination_list
carrier portal destinations delete --destination-list-id <n>write · dry-run default · needs --confirmDelete a destination list — a named set of phone-number prefixes — by driving the OCS web dashboard.
MCP ui_delete_destination_list
carrier portal zones edit --zone-id <n> --new-name <name> --add-countries <list> --remove-countries <list>write · dry-run defaultEdits an existing location zone via the OCS web dashboard. `create_location_zone` is available via API; edit is UI-only.
MCP ui_edit_location_zone
carrier portal zones delete --zone-id <n>write · dry-run default · needs --confirmDelete a location zone by driving the OCS web dashboard, because the OCS REST API can create a zone (`create_location_zone`) but not remove one.
MCP ui_delete_location_zone
carrier portal templates delete --template-id <n>write · dry-run default · needs --confirmRemove a package template from the reseller's product catalogue for good, by driving the OCS web dashboard — the OCS REST API cannot delete a template.
MCP ui_delete_package_template
carrier events
Buffered OCS event history per subscribercarrier events ocs --iccid <iccid> --limit <n> --event-types <list> --since <since>Return the last N OCS events buffered for a given ICCID.
MCP list_recent_ocs_events
carrier events countries --subscriber-id <id> --start-date <date> --end-date <date> --limit <n>Return cross-border movement history for a subscriber, reconstructed from OCS Gy charging events.
MCP subscriber_country_history
carrier events depletion --subscriber-id <id> --since <since>Look up bundle depletion events for a subscriber (or list recent fleet-wide depletions).
MCP subscriber_depletion_events
carrier panels
MCP UI surfaces. A terminal sees the underlying data, not the panel.carrier panels fleet --account-id <n>Fleet overview as a UI panel. Prefer `carrier intelligence fleet-health` in a terminal; use --json to read the panel's data.
MCP fleet_health_app
carrier panels topup --iccid <iccid> --delta <n> --preview <bool>write · needs --confirmAdjust the OCS account balance behind one subscriber. Previews unless --preview false.
MCP balance_topup_form
carrier panels provision --step <step> --wizard-id <id> --subscriber-iccid <iccid> --package-template-id <n>writeStep through the provisioning wizard. Pass --step confirm to execute; every earlier step only reads.
MCP provision_esim_wizard
carrier env
This environment: credentials, catalog and machine-readable contextcarrier env infoView your Carrier environment configuration — active organization, reseller details, connected services, and deployment environment.
MCP environment_info
carrier env credentialsReport on the stored network credential without changing it: whether a token is present, whether it is encrypted, how old it is, and whether rotation is recommended (over 90 days).
MCP credential_status
carrier env rotate --new-token <token> --confirm <bool>writeReplace the stored network API token with one you supply.
MCP rotate_credentials
carrier env catalog --category <category> --tier <tier>Browse the Carrier service catalog — discover available services, their requirements, endpoints, and documentation.
MCP service_catalog
carrier env llm-context --format <format> --include-examples <bool>Generate a comprehensive LLM context document describing your Carrier environment, available tools, current tier, usage patterns, and best practices.
MCP llm_context
carrier env describe --tool-name <name>Get full documentation for any registered Carrier MCP tool: description, parameters, 2-3 example invocations, required scope, destructive flag, and guidance.
MCP carrier_ask_describe
carrier brand
Storefront brand assetscarrier brand logo --name <name> --accent <accent> --tagline <tagline>Generate a storefront logo (SVG always; PNG when an image key is configured on the Carrier worker).
MCP generate_storefront_logo
carrier atlas
Carrier Atlas coverage catalog. Configured networks, not live radio telemetry.carrier atlas coverage --country <country> --status <status> --technology <technology>List the mobile networks Carrier Atlas has configured for one country.
MCP get_atlas_coverage
carrier atlas network --mcc <mcc> --mnc <mnc>Read one mobile network from Carrier Atlas by MCC and MNC, including the latest status sample and the last 24 hours of probes.
MCP get_atlas_network_status
carrier storefronts
Hosted storefronts: create, plans, domains, orders and readiness (CAR-455)carrier storefronts listCall the caller's storefront operation: GET /v1/storefronts.
MCP list_storefronts
carrier storefronts get --storefront-id <id>Call the caller's storefront operation: GET /v1/storefronts/{storefront_id}.
MCP get_storefront
carrier storefronts create --input <input> --confirm-token <token> --idempotency-key <key>write · needs --confirmCall the caller's storefront operation: POST /v1/storefronts.
MCP create_storefront
carrier storefronts update --storefront-id <id> --input <input> --confirm-token <token> --idempotency-key <key>write · needs --confirmCall the caller's storefront operation: PATCH /v1/storefronts/{storefront_id}.
MCP update_storefront
carrier storefronts unpublish --storefront-id <id> --input <input> --confirm-token <token> --idempotency-key <key>write · needs --confirmCall the caller's storefront operation: POST /v1/storefronts/{storefront_id}/unpublish.
MCP unpublish_storefront
carrier storefronts plan upsert --storefront-id <id> --input <input> --confirm-token <token> --idempotency-key <key>write · needs --confirmCall the caller's storefront operation: POST /v1/storefronts/{storefront_id}/plans.
MCP upsert_storefront_plan
carrier storefronts plan update --storefront-id <id> --slug <slug> --input <input> --confirm-token <token> --idempotency-key <key>write · needs --confirmCall the caller's storefront operation: PATCH /v1/storefronts/{storefront_id}/plans/{slug}.
MCP update_storefront_plan
carrier storefronts orders --storefront-id <id> --status <status> --limit <n>Call the caller's storefront operation: GET /v1/storefronts/orders.
MCP list_storefront_orders
carrier storefronts publish-plan --storefront-id <id> --input <input> --confirm-token <token> --idempotency-key <key>Call the caller's storefront operation: POST /v1/storefronts/{storefront_id}/publish-plan.
MCP plan_storefront_publish
carrier storefronts readiness --storefront-id <id>Call the caller's storefront operation: GET /v1/storefronts/{storefront_id}/readiness.
MCP verify_storefront
carrier storefronts domain list --storefront-id <id>Call the caller's storefront operation: GET /v1/storefronts/{storefront_id}/domains.
MCP list_storefront_domains
carrier storefronts domain plan --storefront-id <id> --hostname <hostname> --input <input> --confirm-token <token> --idempotency-key <key>Call the caller's storefront operation: POST /v1/storefronts/{storefront_id}/domains/plan.
MCP plan_storefront_domain
carrier storefronts domain attach --storefront-id <id> --hostname <hostname> --input <input> --confirm-token <token> --idempotency-key <key>write · needs --confirmCall the caller's storefront operation: POST /v1/storefronts/{storefront_id}/domains.
MCP attach_storefront_domain
carrier storefronts domain verify --storefront-id <id> --hostname <hostname> --input <input> --confirm-token <token> --idempotency-key <key>writeCall the caller's storefront operation: POST /v1/storefronts/{storefront_id}/domains/{hostname}/verify.
MCP verify_storefront_domain
carrier storefronts domain detach --storefront-id <id> --hostname <hostname> --input <input> --confirm-token <token>write · needs --confirmCall the caller's storefront operation: DELETE /v1/storefronts/{storefront_id}/domains/{hostname}.
MCP detach_storefront_domain
carrier storefronts domain dns-plan --storefront-id <id> --hostname <hostname> --input <input> --confirm-token <token> --idempotency-key <key>Call the caller's storefront operation: POST /v1/storefronts/{storefront_id}/domains/{hostname}/dns-plan.
MCP plan_storefront_dns
# Read: overview, one customer eSIM, usage
carrier intelligence fleet-health
carrier subscribers get --iccid 8944500000000000000
carrier subscribers usage --iccid 8944500000000000000 --start 2026-08-10 --end 2026-08-17
# Pipe JSON into jq
carrier subscribers list --account-id 123 --json | jq '.[].iccid'
# Dry-run default: previews first, then --commit applies
carrier subscribers set-status --iccid 8944500000000000000 --status SUSPENDED
carrier subscribers set-status --iccid 8944500000000000000 --status SUSPENDED --commit
# Anything the commands miss, in plain words
carrier ask "which subscribers in account 123 are close to their data limit?"Branded storefront
Set up a branded eSIM store (Next.js, from the Mango template), preview it locally, and deploy it to Cloudflare Workers in three commands.
carrier site create [dir] [--name --domain --accent --yes]Create your own branded eSIM store from the Mango template, with brand settings and an auto-generated logo.
carrier site deploy [dir] [--name <worker>]Install deps, build, and deploy the storefront to Cloudflare Workers (needs wrangler login).
carrier site logo [dir]Regenerate the storefront logo — SVG always; PNG when an image key is available.
carrier site create ./my-storefront --name "Nomad Mobile" --accent "#ff5a1f"
cd my-storefront && pnpm install && pnpm dev # local preview
carrier site deploy ./my-storefront # build + deploy (npx wrangler login first)Re-brand anytime by editing src/brand.config.ts in the scaffolded project.
MCP stdio mode
The same package ships carrier-mcp, a local stdio MCP server for Claude Desktop, Cursor, Windsurf and any MCP-compatible client. Your network API token stays on your machine — no outbound auth call to Carrier.
CARRIER_OCS_API_TOKEN=<your-token> npx -y -p @carrierllc/mcp carrier-mcpCARRIER_API_KEY=ak_... npx -y -p @carrierllc/mcp carrier-mcp{
"mcpServers": {
"carrier": {
"command": "npx",
"args": ["-y", "-p", "@carrierllc/mcp", "carrier-mcp"],
"env": { "CARRIER_OCS_API_TOKEN": "<your-token>" }
}
}
}claude mcp add --transport http carrier https://mcp.carrier.llc/mcpFull tool reference: API Reference · MCP Server architecture
Troubleshooting
“No headless token in the environment”
Domain commands and carrier ask need a credential. Export CARRIER_API_KEY=ak_… (Console → Settings → API Keys), or use the interactive Claude path where OAuth runs on first use.
MCP returns 401 / 403
The key was rejected. Confirm it is a valid org key from app.carrier.llc, and that OCS onboarding is complete (carrier open onboarding).
brew install fails on a pre-release macOS
If Homebrew reports Xcode as outdated, fall back to npm i -g @carrierllc/mcp. Also make sure you ran brew trust --tap Lifecycle-Innovations-Limited/carrier — Homebrew 5+ refuses untrusted third-party formulae.
`claude` CLI not on PATH during plugin install
The plugin files are still copied; finish wiring manually: claude mcp add --transport http carrier https://mcp.carrier.llc/mcp.
A write command did nothing
By design. Commands tagged dry-run default preview first; add --commit to apply the change.
Usage window adjusted
The eSIM provider's system (OCS) caps usage queries at 7 days. The CLI adjusts wider windows and tells you when it moved the start date.