MCP for partners and developers (mcp-dev)
MCP for a partner — someone who builds plugins or themes for Orbit — has two halves. While you build, a small server on your own machine gives your coding assistant the real Orbit API contract: every endpoint, every schema, and these guides. No account, no API key, no store data. For your partner account, the hosted MCP endpoint gives the assistant you already use a view of what you have published: your plugins and themes, their review status, your earnings and your payouts.
Neither half reaches a merchant's store. Reading or changing a real store is the merchant connection, which the merchant approves from their own admin.
| Developer server (while you build) | Partner connection (your account) | Merchant connection (a store) | |
|---|---|---|---|
| Runs | On your machine, via npx | Hosted at api.myorbitcommerce.net/mcp/partner | Hosted at api.myorbitcommerce.net/mcp |
| Who | You, while writing an integration | You, from your AI client | A merchant, from their AI client |
| Reaches | The API reference and these guides | Your partner account — never a store | One store, within a granted tier |
| Credential | None | OAuth 2.1 token, per partner | OAuth 2.1 token, per store |
| Status | Available now | Live | Live |
Part 1 — While you build: the developer server
What it is, and what it is not
@orbitcommerce/mcp-dev is an MCP server for the assistant that helps you write an integration: Claude Code, Claude Desktop, Cursor, or anything else that speaks MCP. It answers questions like "what scopes does creating a product need?", "show me the fulfilment endpoint", or "what fields does the product create body take?" from the published OpenAPI document, so the assistant works from the endpoint contract instead of guessing at it.
It is read-only and unauthenticated. It holds no credentials and cannot read or write any store's data, nor your partner account — that is Part 2.
Install
The package is published on npm and runs with npx, so there is nothing to clone or build.
Claude Code
claude mcp add orbit-dev -- npx -y @orbitcommerce/mcp-devClaude Desktop, Cursor and other clients — add it to the client's MCP configuration:
{
"mcpServers": {
"orbit-dev": {
"command": "npx",
"args": ["-y", "@orbitcommerce/mcp-dev"]
}
}
}Restart the client and the six tools below appear in its tool list.
Tools
| Tool | What it does |
|---|---|
list_api_resources | Every resource group with its operation count and paths. Start here. |
search_api_endpoints | Keyword search across paths, summaries and descriptions. Filter by tag or method. |
get_api_endpoint | The full contract for one endpoint — parameters, request body, response schemas — with $refs resolved inline. |
get_api_schema | A named schema (Product, Order, …) with nested references resolved. |
list_developer_docs | The index of these guides and the scope catalog. |
get_developer_doc | One guide, or the scope catalog, in full. |
A useful working pattern: ask the assistant to call list_api_resources once at the start of a session, then let it pull individual endpoints and schemas as it writes code. The contract it sees is the one the API currently publishes, so a field it names exists.
Where the answers come from
Nothing is vendored into the package.
- The API reference is fetched from
https://api.myorbitcommerce.net/v1/openapi.jsonon first use and cached in memory for ten minutes, so the server always reflects what production currently publishes — the same document that powers the API reference on this site. - The guides are read from this site's
/raw/directory over HTTP, byte-for-byte what the pages render, and the guide index comes from/raw/guides.jsonso titles and summaries cannot drift from the listing you see here.
If the site is unreachable, list_developer_docs falls back to a built-in guide list so listing still works, and get_developer_doc reports the URL it could not reach rather than failing silently.
Configuration
Both variables are optional; the defaults point at production.
| Variable | Default | Use it for |
|---|---|---|
ORBIT_OPENAPI_URL | https://api.myorbitcommerce.net/v1/openapi.json | Pointing at a staging or local API's published OpenAPI |
ORBIT_DOCS_URL | https://developers.orbitcommerce.net | Pointing at a local checkout of this site |
Set them in the client's MCP config ("env": { … }) or in the shell that starts the client.
Part 2 — Your partner account: the partner connection
A partner connection is bound to your partner account and to no store, ever. It cannot read or change any merchant's store, and it is not the affiliate's dev-store connection either (see MCP for affiliates).
Connecting
The same hosted server and the same OAuth 2.1 flow as every other Orbit MCP connection, at the partner endpoint:
https://api.myorbitcommerce.net/mcp/partner
In your assistant, add Orbit as a connector (Claude and ChatGPT call this Connectors, Integrations or Apps) and paste that address. The path is what makes the connection a partner one before anyone has signed in: its discovery document advertises the partner scopes, and your assistant sends the address back when it starts the OAuth flow, so Orbit opens the partner dashboard's consent screen rather than a store login. (The bare /mcp is the merchant endpoint; /mcp/affiliate the affiliate one.) You sign in if you are not already, see the client's name from Orbit's own registration record, tick what you are happy with, accept the data terms, and Approve. Your assistant receives a token bound to your partner account.
Settings → AI Assistants in the partner dashboard shows the same address, every assistant you have connected with its permissions, and a Revoke button. Revoking takes effect on the assistant's very next request.
Permission tiers and scopes
The partner consent screen uses the same three tiers as the merchant screen, on the same rule: what does the handler do. Reads are tier 1 and always on once granted. A draft nobody can install is tier 2, behind the "Safe changes" switch, and so is building a theme's working copy, which no store sees until you publish a version. Anything that submits, publishes, prices, replies in public or changes what a merchant can install is tier 3, behind the "Live and permanent changes" switch. Every tier-3 tool also asks you to confirm in your own next message before it runs, except a command, SQL that can change data, an environment variable and the Console and SSH switch on a plugin Orbit hosts, which you approve in the partner dashboard instead (Let an AI assistant do it).
| Scope | Tier | What the assistant may do |
|---|---|---|
partner-plugin:list | 1 | See your plugins and their review status |
partner-plugin:read | 1 | See one plugin in full: its pricing plans, install links (never the tokens) and reviews |
partner-theme:list | 1 | See your themes and their review status |
partner-theme:read | 1 | See one theme in full, its versions and what is published |
partner-analytics:read | 1 | See earnings: overview, trend, best sellers, transactions |
partner-payout:read | 1 | See the payout balance and past payouts |
partner-plugin:draft | 2 | Create a plugin draft; edit a plugin that is not live (draft, inactive or rejected — a live listing is refused) |
partner-theme:draft | 2 | Create a theme draft; edit a draft theme; take a theme out of review |
partner-theme-content:update | 2 | Build a theme's working copy: templates, styles and custom code, menus, branding, listing images |
partner-plugin:submit | 3 | Submit a plugin for review; publish an unlisted or private plugin without review |
partner-plugin:visibility | 3 | Make a plugin public, unlisted or private |
partner-plugin:install-link | 3 | Create and revoke install links for unlisted and private plugins |
partner-plugin:review-reply | 3 | Reply publicly to a review |
partner-plugin-plan:manage | 3 | Create and change plans and prices — what merchants pay |
partner-theme-content:delete | 3 | Delete a theme's template, menu or screenshot; reset its styles |
partner-theme:submit | 3 | Submit a theme for review |
partner-theme:publish | 3 | Snapshot a version, publish, unpublish, roll back |
partner-hosting:console | 3 | Run commands and SQL in plugins Orbit hosts, end their sessions, and turn Console and SSH on or off |
These scopes are only ever granted to a partner connection. A merchant's consent screen never offers them, an affiliate's never offers them, and a store API key can never hold them. Conversely a partner connection is never granted a store scope: it has no store to spend one on.
You can only grant what your own role in the partner account allows: each scope corresponds to the permission the partner dashboard uses for the same action, and the consent screen offers only the scopes your permissions cover. If an assistant asks for more, it receives the intersection — a colleague who cannot submit a plugin from the dashboard cannot hand an assistant partner-plugin:submit either.
The endpoints, for reference
Everything the tools do is a call under /v1/partner, reachable only with a partner connection's token — a merchant or affiliate token, a store API key or a plugin token gets 403. The partner is always derived from the credential, never from a parameter, and every write runs the same code the partner dashboard's own button runs, so the two cannot disagree on what a submission needs or who may publish.
| Endpoint | Scope | What it does |
|---|---|---|
GET /v1/partner/connection | none | Describe this connection: client, partner, granted scopes and tiers |
GET /v1/partner/plugins | partner-plugin:list | Your plugins, paginated, filterable by status |
GET /v1/partner/plugins/{id} · /plans · /install-links · /reviews | partner-plugin:read | One plugin by row id or plugin id, and its plans, links, reviews |
POST /v1/partner/plugins/draft · PATCH /v1/partner/plugins/{id} | partner-plugin:draft | Create a draft; edit a plugin that is not live |
POST /v1/partner/plugins/{id}/submit · /publish-unlisted | partner-plugin:submit | Submit for review; self-publish an unlisted or private plugin |
PATCH /v1/partner/plugins/{id}/visibility | partner-plugin:visibility | Public, unlisted or private |
POST · DELETE /v1/partner/plugins/{id}/install-links[/{linkId}] | partner-plugin:install-link | Create a link (token returned once); revoke one |
POST /v1/partner/plugins/{id}/reviews/{reviewId}/reply | partner-plugin:review-reply | Reply publicly |
/v1/partner/plugins/{id}/plans[/{planId}[/prices[/{priceId}]]] | partner-plugin-plan:manage | Plans: create, change, archive. Prices: add, change, deactivate |
GET /v1/partner/themes · GET /v1/partner/themes/{id} · /versions · /published | partner-theme:* reads | Your themes, one theme, its versions, the published version |
POST /v1/partner/themes/draft · PATCH /v1/partner/themes/{id} · /cancel-review | partner-theme:draft | Create a draft; edit a draft; take a theme out of review |
GET /v1/partner/themes/{id}/templates[/{themeTemplateId}] · /styles · /navigations[/{navigationId}] · /readiness · /link-audit | partner-theme:read | Templates, styles, menus, the readiness checklist and the link audit |
GET /v1/partner/theme-library[/{templateId}] · GET /v1/partner/page-builder/elements[/{id}] | partner-theme:read | Orbit's template library and the page-builder elements |
POST /v1/partner/themes/{id}/templates · PUT …/templates/{themeTemplateId}/content · PATCH …/templates/{themeTemplateId} · /duplicate · /set-default | partner-theme-content:update | Create, fill, rename, copy and make default a template |
PATCH /v1/partner/themes/{id}/styles · POST · PATCH …/navigations[/{navigationId}] · PUT …/branding · PUT …/thumbnail · POST · PATCH …/images[/{imageId}] | partner-theme-content:update | Styles and custom code, menus, logo and favicon, listing images |
DELETE …/templates/{themeTemplateId} · DELETE …/navigations/{navigationId} · DELETE …/images/{imageId} · POST …/styles/reset | partner-theme-content:delete | Delete a template, menu or screenshot; reset the styles |
POST /v1/partner/themes/{id}/submit | partner-theme:submit | Submit for review |
POST /v1/partner/themes/{id}/versions · /publish · /unpublish · /versions/{versionId}/rollback | partner-theme:publish | Snapshot a version; publish; unpublish; roll back |
GET /v1/partner/analytics/overview · timeseries · top-products · transactions | partner-analytics:read | Earnings for a period (7d, 30d, 90d, 12m, all) |
GET /v1/partner/payouts/balance · GET /v1/partner/payouts | partner-payout:read | Balance, and past payouts |
GET /v1/partner/currencies | partner-plugin:read | The currencies a plugin price can use |
Because a partner connection has no store, any store-scoped /v1 route refuses it with 403 and a message naming /v1/partner — so a token that leaks can reach your account, and nothing else. Some writes act as the user who approved the connection rather than as the account: a plugin draft records that user as its author, an install link records them as its creator, and a theme publish carries the same email-verification requirement as the dashboard's Publish button, checked against that user. Theme content writes act as the account.
What the assistant sees
Call tools/list after connecting rather than hard-coding names. A partner connection is offered the partner tools and nothing store-shaped; which ones depends on the scopes you granted.
Reads (tier 1): list_my_plugins, get_my_plugin, list_my_plugin_plans, list_plugin_install_links, list_plugin_reviews, list_my_themes, get_my_theme, list_my_theme_versions, get_my_published_theme, partner_earnings_overview, partner_earnings_over_time, partner_top_products, partner_transactions, partner_payout_balance, list_partner_payouts. Ask things like "which of my plugins are still in review?", "why was Acme Feeds rejected?", "what did I earn this quarter and from what?" or "is there anything to pay out?". Statuses come back in words — "in review by Orbit", "rejected — see the reason" — and a rejected plugin leads with the reviewer's reason.
Drafts (tier 2, no confirmation): create_plugin_draft, update_plugin_draft, set_plugin_icon_tile, create_theme_draft, update_theme_draft, cancel_theme_review. These cannot touch a live listing: asked to edit a plugin that is live or in review, the assistant is refused and told to use the dashboard. The assistant cannot upload screenshots or icons: those go up in the partner dashboard. It handles the listing text and the lifecycle, and it can build a theme (see Building a theme).
Live changes (tier 3, confirmed every time): submit_plugin_for_review, publish_plugin_unlisted, set_plugin_visibility, create_plugin_install_link, revoke_plugin_install_link, reply_to_plugin_review, create_plugin_plan, update_plugin_plan, archive_plugin_plan, set_plugin_plan_price, deactivate_plugin_plan_price, submit_theme_for_review, create_theme_version, publish_theme, unpublish_theme, rollback_theme. Before any of these runs, the assistant reads the plugin or theme, then puts the change to you by name — "Acme Plugins (partner account): publish without review the plugin "Acme Feeds" (acme-feeds). This plugin is draft, not submitted, visibility unlisted. Status: draft becomes active. Live the moment you say yes. Any merchant with the direct address or an install link can install it…" — with what puts it back, or that nothing here can (a submitted plugin cannot be withdrawn by the assistant; a revoked install link cannot be restored). Only your yes in your next message runs it. An install link's address is shown once, in the result, and never in the prompt. Through the assistant, plugin prices are given by currency code (for example GBP) and are monthly or one-off, never yearly. The assistant cannot set a compare-at price, and a plan's free trial is at most 14 days.
Some refusals happen before you are even asked: a plugin with no release cannot be submitted or self-published (releases are created in the partner dashboard, with the CLI, or by an assistant with create_plugin_release), a public plugin cannot be self-published or given an install link (public goes through review), a theme that has never been approved cannot be published (its first publication goes through review and Orbit's approval; after that you publish versions yourself), and a visibility already in place is a no-op.
Hosting console (partner-hosting:console): run_plugin_command, query_plugin_database, set_console_access, end_access_session. A read-only query runs at once. A command, SQL that can change data and the Console and SSH switch are not confirmed in the conversation: they wait until the person who connected the assistant approves the exact request in the partner dashboard, under Hosting, Approvals. set_env_var, which needs partner-hosting:manage, waits for the same approval. check_hosting_approval reads whether a request was approved and, once it ran, its result, without asking. end_access_session asks in the conversation, like the other tier-3 tools. The assistant never adds SSH keys or makes database passwords. Details in Let an AI assistant do it.
If Orbit suspends your plugin
Orbit can suspend a plugin, for example while a reported problem is looked into. While it is suspended:
- Console, SSH and AI tools stop at once, and open sessions end.
- Changes to its hosting are refused: deploys, rollbacks, builds, restarts, switching to your own hosting, environment variables, settings, domains and moves, and copying its stored files. The API answers
409with the codePLUGIN_SUSPENDED. - You can still read and download logs, read metrics and deployments, update your payment method, confirm customer data erasure requests and revoke your registry logins.
- You can still stop its hosting and deprecate the plugin. Stopping ends your bill at the close of the billing period for a plugin on a server of its own; a server that other plugins share keeps running. Hosting cannot be started again while the plugin is suspended, and a deprecated plugin cannot be restored.
- You cannot download its database export or copy its stored files while it is suspended, whether its hosting is running or has stopped. Orbit keeps them while the plugin is suspended. If Orbit restores it, you have at least 7 days to download them before they are deleted.
- The plugin keeps running as it was.
Everything works again when Orbit restores the plugin. Contact Orbit support if you have questions.
Building a theme
With partner-theme-content:update an assistant can build a whole theme in its working copy, and read it back with partner-theme:read:
- Templates (
list_theme_templates,get_theme_template,create_theme_template,update_theme_template_content,update_theme_template,duplicate_theme_template,set_default_theme_template) for every page type a store uses: home, product list, product, category list, category, cart, checkout, order confirmation, account, sign-in, register, search, blog listing, blog post, 404, popups and content pages, plus headers, footers and reusable sections. A template starts blank, from Orbit's template library (list_theme_library,get_library_template), as a copy of another template in the same theme, or from a tree of sections. Content is edited with the same operations as the merchant page tools and read back as an outline. - Elements (
search_theme_elements,describe_theme_element): the page-builder elements and their settings, so the assistant picks elements that suit the page type. Some templates must keep their required elements: a product template with an Add to Cart or Buy Now button needs a variant selector, sign-in and register templates need their form, and a checkout template needs contact details, shipping address, shipping method, payment method, order summary and the Place Order button. Saving content without them is refused, and so is publishing a theme whose templates lack them. - Styles (
get_theme_styles,update_theme_styles): colours, typography, buttons, layout, body, links, motion and custom code (CSS, and JavaScript for the page head and body). - Menus (
list_theme_menus,get_theme_menu,create_theme_menu,update_theme_menu): a store that installs the theme gets each menu by its handle, such asmain-menu. A store menu with the same handle that the merchant never edited is replaced. One they edited is kept, unless the merchant chooses to replace it, in which case theirs is first copied to<handle>-previous. - Branding and listing images (
set_theme_branding,set_theme_thumbnail,add_theme_screenshot,update_theme_screenshot): from files already uploaded in the partner dashboard. On a theme that is already on the marketplace the listing changes straight away, so these ask you to confirm first. - Checks (
get_theme_readiness,audit_theme_links): what the theme still needs before it can be submitted, and any broken or preview-only links. - Deletes (tier 3, confirmed every time):
delete_theme_template,delete_theme_menu,remove_theme_screenshot,reset_theme_styles.
The build_theme prompt takes a theme and a brief and walks the assistant through those steps in order: read the readiness checklist, set the styles, build the header and footer, create every required page type (home, product list, product, category list, category, cart, search, 404, blog listing and blog post), add the menus, run the checks until only the listing images are missing, then fill in the listing text with update_theme_draft. The thumbnail, the screenshots and submitting the theme are left to you.
Three rules hold throughout:
- Stores get nothing until you publish. Every change lands in the theme's working copy, and stores receive it only when you publish a version with
publish_theme. A theme in review refuses changes until the review ends or you take it out of review. - Theme JavaScript is reviewed. When a new version changes the theme's JavaScript, Orbit reviews it before it reaches stores, and stores stay on the live version meanwhile;
publish_themesays so. CSS and motion changes need no review. Theme JavaScript can run only on the home, catalogue, blog, search and content pages; it never runs on the cart, checkout, order confirmation, account or sign-in pages. - Headers start from the library or a copy. Header and menu layouts have slots that a tree of sections cannot create, so start a header from Orbit's library or from an existing one, then edit it.
Reference
- MCP at Orbit — the map of every MCP surface
- MCP for merchants — the merchant-facing connection, and the tier and confirmation model the partner connection reuses
- MCP for affiliates — dev stores for affiliates who build for clients
- MCP for agencies — one connection across an agency's client stores
- API reference — the document the developer server serves
- Scope catalog — what
get_developer_docreturns forscope-catalog @orbitcommerce/mcp-devon npm