Connect Claude or ChatGPT to StockAI

Add StockAI as a connector in claude.ai, Claude Desktop or ChatGPT, sign in and approve the access: the assistant reads your account and, if you allow it, makes changes, always asking you first before anything that cannot be undone.

On this page
  1. Connecting it
  2. The authorization page
  3. What the assistant can do
  4. Seeing and disconnecting

With StockAI connected, Claude or ChatGPT talk to your account: "what do I need to order today, and why?", "draft the order for Distribuidora Andina", "how accurate was last month's forecast?". The connection uses MCP, the standard these assistants use to talk to other applications, and you sign in with your own StockAI account: no API key needed.

Connecting it

  1. In your assistant add a custom connector (in claude.ai, "Add custom connector"; in ChatGPT, a custom MCP server) with this address: https://app.stockai.es/api/v1/mcp (on your own installation, your server's address followed by /api/v1/mcp).
  2. The assistant takes you to StockAI. If you are not signed in, you sign in first and come straight back to the authorization page.
  3. Check the "{app} wants to access StockAI" page (see below), choose the access level and press "Allow". You go back to the assistant, connected.

The exact menus of each assistant (and of Claude Code, Cursor or VS Code, which connect with an API key) are in the developer guide: Developers → MCP. The server's technical detail is in MCP step by step.

At /autorizar StockAI shows you who is asking to come in before letting it through. It says: "It will act on your behalf, with your permissions and never more. Only allow apps you trust."

Company and Your account
Which company and which user the app will be connected to.
Answers go to
The address the answer goes back to: it must be the assistant you are connecting.
Access level: Read only
Reads your inventory, forecasts, orders and data. Changes nothing.
Access level: Read and change
Can also change data the way an analyst would: record orders, adjust inventory or start trainings. Offered only if you are an analyst or administrator; with another role you see "Your role can only grant read access."
Allow / Deny
Allow connects the app; Deny sends it back with no access.

If the request expired (it lasts 10 minutes) or was already answered, the page says so and asks you to start again from the assistant. If the app asks to answer to an address it did not register, StockAI does not continue.

What the assistant can do

  • Everything StockAI's public API does: it has tools ready for daily work (what to order today, inventory status, orders, suppliers, forecast accuracy) and can look up and use any other API operation.
  • With Read only, it only reads. With Read and change, it can create and change things as an analyst, and only while you are still an analyst or administrator. It only sees the warehouses you see.
  • What cannot be undone — sending or recording an order, overwriting stock, deleting — is not done without an explicit confirmation: the assistant first tells you what would happen and does it only if you answer yes.
  • It never manages users, keys, the account's settings or the installation's.
  • Every call counts toward your company's API usage and every change is in the activity log, under your name.

Seeing and disconnecting

In Automation, API Keys tab, the "Connected apps" card lists each connected assistant, who approved it, with which access and when it was last used. "Disconnect" removes its access at once; each person disconnects their own and an administrator anyone's. It also stops working if your user is deactivated.