ShipMantaSupport Center
Account & alerts

AI assistants (MCP)

Connect Cursor, Claude, ChatGPT, or another MCP client to your store so it can explain rules, simulate orders, diagnose shipments and price-test carts — with a personal token that can never do more than you can.

Intro

AI assistants lets an assistant read and reason about your store over MCP (Model Context Protocol): explain your automation rules, conditions and filters, run a described or real order through the real engines, work out why a shipment was or was not split or tagged, and price a cart against the checkout shipping rates. It uses the same engines as the Automation Rules Tester, the Rate Tester and Diagnose on an order.

There are two ways to use it:

  1. In-app assistant (Sidekick) — when your ShipManta instance has it enabled, a sparkles button at the bottom right opens a right-hand panel. No token. It uses your signed-in session and the same tools as Cursor, limited to what you can do on the active store. The empty state shows a core setup checklist (order import → warehouse → carrier → labels → shipments → conditions → automation → merge) with no AI cost. Open on Import orders from Shopify launches the order-import setup popup (which orders to pull in); other steps go to their settings pages. Free-form diagnose / “why” questions use the model. Writes from chat come back as a Confirm / Apply card. Apps stay on the Apps hub — not in this checklist.
  2. External clients — open the user menu → AI assistants (also under Settings → AI assistants). The page has four cards: the Server URL, ChatGPT connections, Cursor and Claude tokens, and What assistants can use. Cursor and Claude use a personal token. ChatGPT uses a sign-in (OAuth): you pick the store and the modules on a consent screen, and ShipManta emails you that the app connected. A token is bound to the active store and limited to that person's own permissions. It only works with the MCP server: the ShipManta portal and its API refuse it, so a leaked assistant token cannot be used to sign in. The token email names the token and the store. It does not include the secret, which is shown once on screen.

Purpose

  • Ask "why didn't order #152211 get the -SDC tag?" and get the rule-by-rule answer
  • Simulate a rule you are about to build against a real order before you create it
  • Get setup help (warehouse, carrier, which apps to turn on) from the in-app panel without leaving the page
  • Let an assistant read a shipping-rate profile back to you in plain English
  • Give a developer or consultant scoped, revocable access without a ShipManta login

What the assistant can do

Access is granted per module; the assistant only sees tools from the modules on the token, and only those your own permissions allow.

ModuleTools
CoreWho am I, store overview, store settings, per-location settings (list, and change with your confirmation)
Automation rulesList and explain rules, conditions and tags; dry-run described or real orders (optionally only a draft group); diagnose why an order did or did not trigger rules
Import & shipment filtersList and explain store and shipment filters; dry-run them against a real order
Orders & shipmentsSearch and inspect orders and shipments; diagnose why no shipment exists; read and (with changes enabled) edit the merge rules and Merge Settings including the Merge Conflict Tags; list and cancel shipments left with no items; switch an open shipment between shipping and local pickup, including the split and merged shipments that belong with it (confirm first); re-sync a fulfilled order's shipments with the store; list and (with changes enabled) update saved filter views, including Rate Shopper Rule on a shipment view (confirm first)
Shipping Rates (checkout)Read, explain and price-test profiles — zones, groups, tiers, combination and fold rules, triggers
Fulfillment providersHarrier and ShipStation: list and read SKU mappings, shipping methods, the print-files field, service levels, and mock or automatic sync. With changes enabled, update those settings. A list you send replaces that list, and a SKU mapping can create its condition. The change comes back as a preview. Passwords and API keys stay in ShipManta
Delivery Calendar (checkout dates)Calendars, rules, exceptions and limit rules; replay a cart to see which dates a buyer gets; diagnose where an order's delivery date came from; capacity per day. With changes enabled, black out or reopen a date or weekday, or replace which weekdays are delivery days — the change comes back as a preview and checkout updates on the next cart
Operations (alerts, routines, hooks, printing, integration health)The alerts inbox by level, code or subject — and, with changes enabled, acknowledge, snooze or resolve them; routines and their runs step by step; hooks — list them, read a run, create one as a draft, test it on a shipment, and switch it on (activating a live hook comes back as a preview); document templates — list them, read the HTML, and with changes enabled save an edit (any field the template editor has; the change comes back as a preview); document templates — including Mustache tags ({{ }}, {{# }}, {{^ }}, {{> shopped_tag }}, message partials) and Rate Shopper shopped rates on the printout; document messages (Pro / Enterprise) — list them, dry-run them on a real shipment, create one as a draft, edit or switch it on (a live message comes back as a preview) and delete it (preview first); the print history of a shipment; a one-call health check of Shopify webhooks, the checkout rate callback, the fulfillment provider and the weather feed; the log of recent checkout rate requests
Carrier ClaimsLate FedEx and UPS money-back claims: list and explain why a claim is open or skipped. With changes enabled, scan recent labels and mark filed / recovered / skipped / denied — each write comes back as a preview. ShipManta never files with the carrier
Delivery StatusPurchased labels and delivery progress (Pro+): list / get cached track status, see which carriers have tracking on. With changes enabled, sync one batch (optional carrier, ship dates, all dates, or include delivered), refresh one label, or turn tracking on/off per carrier — each write comes back as a preview. The Labels Sync now dialog is what repeats batches for a whole selection. Separate from Carrier Claims
Rate ShopperRules that choose which carrier accounts and services are quoted, and which winner policy applies. List and explain rules. With changes enabled, create a draft, edit, turn rules on or off, or delete — each write comes back as a preview. A new rule stays off until you turn it on. Not checkout shipping rates, and not a comparison that already ran
Packing MaterialsContainers and supplies catalog; usage report and packer materials; packing on one shipment label. With changes enabled, create / edit / delete catalog entries — each write comes back as a preview. Costs on past labels stay snapshotted
Custom FieldsCustom fields: list them and read one, including its source and whether Lock at first import is on. With changes enabled, add, edit (name, type, source, lock) or delete a field — each write comes back as a preview. Edits apply to orders synced afterwards, and deleting a field deletes the values it saved

Whether an assistant may change anything is chosen on the token, area by area:

  • Read — the assistant can inspect, explain, simulate and diagnose that area.
  • Write — the assistant can also change that area. Anything that touches live data comes back as a preview you must confirm. New rules, conditions and filters are created as inactive drafts.

A token that has not been edited since this choice was added stays read-only, unless the server is configured to let older tokens change every area they can see. The in-app assistant follows that same server setting. Setting one area to Write does not turn on changes for the others.

Every call is logged under your account either way.

The most useful first prompt: "Read the ShipManta guide, then explain my automation rules and simulate an order that mixes two product types." Ask the assistant to simulate a proposed rule against a real order number before you create it — it runs the same engine the Automation Tester does.

Create a token

  1. Click New token.
  2. Name it after where you will use it (Cursor on laptop).
  3. Tick the areas the assistant may access (all are pre-ticked) and choose Read or Write on each one. Write is off until you turn it on. ChatGPT asks for the same choice on its consent screen.
  4. Optionally set Expires in (days) — 1 to 730; leave empty for no expiry. You can revoke at any time.
  5. Create token. Copy it now — it is not shown again.

Connect your assistant

The Token created step offers ready-made connections:

ClientHow
CursorAdd to Cursor opens Cursor with the server (storesboost-{store}) and token pre-filled — confirm and you are done. If nothing opens, Copy mcp.json and paste it into ~/.cursor/mcp.json
Claude CodeCopy the single claude mcp add --transport http --scope user … command into a terminal (--scope user makes it available in every project)
Claude DesktopCopy the config block into Settings → Developer → Edit Config (claude_desktop_config.json), then fully quit and reopen Claude. It bridges through mcp-remote, so Node.js must be installed

Other MCP clients that accept a bearer token: use the Server URL shown on the page with the token as a Bearer Authorization header. Each store gets its own server name, so a multi-store user does not overwrite one connection with another.

Connect ChatGPT

  1. In ChatGPT, add a custom connector (or app) and paste the Server URL from Settings → AI assistants.
  2. ChatGPT sends you to ShipManta to sign in, if you are not already.
  3. On the consent screen, pick one store and the modules ChatGPT may use, then Allow.
  4. The connection appears on the ChatGPT card, with the email of the person who signed in. The store owner and an admin see every connection on this store and can disconnect any of them. Anyone else sees only the connection they signed in themselves. Disconnect cuts it off immediately. Access lasts until you disconnect it, or until the sign-in expires and ChatGPT refreshes it (the refresh stays bound to the same store and modules).

ChatGPT cannot use a pasted token. Cursor and Claude keep using tokens.

Manage tokens

The Cursor and Claude card lists each token with its modules (or All N areas when it has every module), when it was created, last used and expires. Revoke cuts access immediately — any assistant using that token stops working on its next call. Tokens honour exactly the expiry you set; a token without an expiry keeps working until you revoke it.

In-app vs tokens

In-app (top bar)Cursor / Claude tokensChatGPT
WhereBottom-right sparkles → right panelSettings → AI assistantsSettings → AI assistants, then ChatGPT's add-connector
AuthYour login sessionPersonal Bearer tokenSign-in (OAuth) with PKCE
StoreAlways the active storeBound when the token was createdChosen on the consent screen
ModulesAll modules your permissions allowOnly modules you tick on the tokenOnly modules you tick on the consent screen
WritesSame global setting; Apply in the panelSame; confirm in the external chatSame; confirm in the chat

If you do not see the sparkles button, the in-app assistant is turned off for your instance — use a token instead, or ask your ShipManta admin.

Troubleshooting

  • No sparkles button at the bottom right → the in-app assistant is disabled on this instance (ASSISTANT_ENABLED). Use a Cursor/Claude token, or ask your admin to enable it.
  • In-app says chat needs an AI key → the panel is on but the server has no model key yet; tools still work via external tokens.
  • The assistant says a tool is missing → the module is not on the token, or your own role lacks the matching permission (for example View automation rules). Create a new token or ask an admin to adjust your role.
  • "Not authenticated" after it worked before → the token expired or was revoked, or the ChatGPT connection was disconnected. Create a new token, or connect ChatGPT again.
  • ChatGPT will not accept the token → ChatGPT does not use pasted tokens. Add the connector with the Server URL and approve the consent screen.
  • It sees the wrong store → tokens are bound to the store that was active when you created them. Switch stores and create another token; each store gets its own server entry. The in-app panel always follows the store switcher.
  • A change was not applied → in read-only mode nothing is written; with changes enabled, every live change needs your confirmation (Apply in the panel, or confirm in the external chat), and rules or filters are created as drafts you still have to activate.