MobiariDocs

AI clients (MCP)

Connect Claude, ChatGPT or Cursor to your store over MCP. Reads run right away; you decide which changes wait for approval.

Mobiari has an MCP server (Model Context Protocol), the standard AI assistants such as Claude, ChatGPT and Cursor use to reach other systems. With it, the AI you already use can look up orders, products, stock, customers and the rest of the panel, and make changes. By default, ordinary changes run right away and risky ones (deleting, touching money, sending something outside the store) wait for someone to approve them in Grow → Assistant, AI clients view. After reading this page you can connect an AI client, choose what it may do without asking and decide its requests.

Before you start

  • Every connection acts as a service account, never as you. It only does what the account's permission sets allow.
  • To connect an app or create a key you need Manage access and Manage tokens in the store. To open the AI clients view, Use the assistant.
  • To approve a request you need the same permission the operation requires (for example, Cancel orders to cancel an order). The list only shows requests you could carry out yourself.

Connect Claude or ChatGPT

  1. Open Grow → Assistant, AI clients view, click How to connect Claude, ChatGPT or Cursor and copy the MCP server address (https://api.mobiari.com/mcp).
  2. In Claude or ChatGPT, add a custom connector with that address.
  3. The app opens Mobiari's Connect ... to your store screen. Sign in if asked, and choose:
    • Store: where the connection works.
    • Permissions: the sets it receives. Pick only what the AI needs; you cannot give more than you have.
    • Approval of AI changes (MCP): see Which changes wait for approval.
  4. Click Allow. The app comes back connected.

The connection creates a service account named after the app and shows in Settings → Team and access, API keys tab, marked OAuth. Access renews itself; to disconnect, revoke the key or switch the account off.

Connect with a key

For clients that take a header (Claude Code, Cursor, scripts):

  1. In Settings → Team and access, API keys tab, create a service account just for the AI and issue a key. When issuing it, choose the Approval of AI changes (MCP). Copy the value (it starts with mobi_sa_).
  2. In the client, add an HTTP MCP server with the address and the header Authorization: Bearer followed by the key. In Claude Code, for example:
claude mcp add --transport http mobiari https://api.mobiari.com/mcp --header "Authorization: Bearer mobi_sa_..."

Ask something to test it, like "how many pending orders do we have today?".

One connection per client

Connect each app separately (one connection for Claude, another for Cursor). Every request shows which key it came from, and you can disconnect one without touching the others.

Which changes wait for approval

Each key or connection has a mode, chosen when connecting and changed later in the Approval (MCP) column of the key list:

  • Only risky ones (default): ordinary changes, like editing a product or creating a coupon, run right away. Deleting, touching money (refunds, charged prices) or sending something outside the store (messages, emails, carriers, ads) waits for approval.
  • Every change: every change waits for approval. Reads still run right away.
  • None: everything runs right away, within the account's permissions.

Careful with None

Without approval, whoever has the key can delete or refund without asking. Use it only with narrow permission sets.

Every change the AI makes, approved or not, is in the Audit log under the service account's name.

Approve or decline a request

When a change needs approval, the AI gets a link to the request and tells you. Open Grow → Assistant, AI clients view: the Waiting tab lists the requests with no decision yet. Click one to see:

  • Key and Runs as: which key it came from and which service account the operation runs as.
  • Reason given by the AI, when it explained why.
  • What will run: the operation, its parameters and the current state of what it changes.
  • Risk, when the change deletes data, involves money or reaches outside the store.

Click Approve and confirm: the operation runs right away and the Result shows on the request. The AI reads the result and carries on with the task. Click Decline to discard it; nothing runs. The All tab keeps the history.

A request with no decision expires after 24 hours. If the key is revoked or the service account is switched off before approval, the request fails and nothing changes.

What the AI can do

It reaches the same operations as the panel assistant: orders, products, stock, customers, shipping, invoices, email, support, automations, storefront and settings. It never changes access, keys, integrations or domains.

If something goes wrong

  • The app says it is not authorized (401): connect again from the app. With a key, check that the header is Authorization: Bearer followed by the whole key, and that it was not revoked and has not expired. A person's sign-in does not work here.
  • The connect screen says you manage no store: you need Manage access and Manage tokens. Ask someone who has them to connect.
  • The AI says it lacks permission: the service account does not include that action. Use Explain an access in Settings → Team and access to see what is missing.
  • The request does not show for me: you lack the permission the operation requires. Ask someone who has it.

On this page