MCP and REST API setup for Claude, ChatGPT and Cursor
Connect Claude, ChatGPT or Cursor to your store's numbers.
MCP and REST API setup for AxiTrace, step by step. In Claude and ChatGPT you open the AxiTrace listing, sign in and choose which stores to share. Cursor, Claude Code and your own scripts use the connector address or a personal access token.
- Official ChatGPT plugin, approved by OpenAI
- Listed in the Claude Connectors Directory
- On every paid plan
- Where Connectors Directory click Connect
- Sign-in OAuth in your browser
- You choose Stores and permissions on an AxiTrace page
- Works in Web, desktop and mobile under one Claude account
- Token to paste None
- Where Plugin directory click Install plugin
- Sign-in OAuth no developer mode
- You choose Stores and permissions on an AxiTrace page
- Plugin Official approved by OpenAI
- Token to paste None
- Where mcp.json for all projects or for one
- Address axitrace.com/api/mcp without www
- Sign-in Personal access token valid 30 to 365 days
- Token kept in AXITRACE_TOKEN an environment variable
- You choose Stores and permissions when you create the token
AxiTrace is listed in the Claude Connectors Directory. Open the listing, click Connect, sign in to AxiTrace and approve: there is no address and no token to copy.
AxiTrace is an official ChatGPT plugin, approved by OpenAI. Open it, click Install plugin, sign in to AxiTrace and approve. Then name AxiTrace in your question.
Cursor reads a personal access token from an environment variable. You create the token in AxiTrace, with its stores, its permissions and an expiry date.
How connecting works
Nothing is shared until you approve.
Claude and ChatGPT open an AxiTrace page in your browser. It names the application that is asking, lists what it will be able to read and shows your stores, all ticked. You untick what you do not want to share, tick the permissions you do want, and click Approve.
- You choose the stores The consent page lists your stores. Untick any you do not want to share: the assistant never sees it.
- It reads unless you say otherwise Reports are read-only. A tool that changes something works only with a permission you tick yourself.
- Yours to revoke Every new connection is emailed to you. Revoke one in your account menu and it stops working at once.
- Your main store Shared ticked from the start
- A second store Unticked by you the assistant never sees it
- A store on the Free plan Not offered paid plans only
- A demo store Marked Demo
- A store you add later Reconnect to add it
- Reports and orders reports:read granted when you approve
- Profit in the reports profit:read only if you tick it
- Lead contact details lead_contacts:read only if you tick it
- Changing settings settings:write only if you tick it
- Buyer emails and phones Never sent
- Security email Sent at once with the stores it can read
- Connection 180 days then you approve it again
- Access token 1 hour renewed in the background
- Revoke One click MCP & API, in your account menu
- After a revoke Stops at once
Every store on a paid plan starts ticked, and at least one stays ticked. An assistant can read only the stores you can see yourself.
Reports are read-only. Every box that shares more or lets the assistant change something starts unticked, and no box shares the email addresses or phone numbers of your buyers.
You get an email for every new connection and can end any of them yourself. Removing the connector inside the assistant may not revoke it, so revoke it in AxiTrace too.
What you can ask
Three questions to start with.
No filters, no date pickers, no exports. The assistant picks the reports it needs and reads them from AxiTrace.
-
Overview
The month against the one before
Compare revenue, orders, ROAS and conversion rate with the previous 30 days. Which one moved the most?
-
Campaigns
Campaigns with a weak ROAS
Which campaigns had ROAS below 1.5 last month, and what share of my total ad spend went to them?
-
Order journeys
The visits behind large orders
For my five largest orders last week, which visit gets the credit under first click, and which under last click?
See more questions
Setup
Three steps in Claude or ChatGPT.
You need a store on a paid plan and your own AxiTrace login. In Cursor, Claude Code or a script, a personal access token takes the place of the first two steps.
-
Open AxiTrace in your assistant
In Claude, find AxiTrace in the Claude Connectors Directory and click Connect. In ChatGPT, install the official AxiTrace plugin.
-
Sign in and choose your stores
Sign in to AxiTrace, untick any store you do not want to share, tick the permissions you want and click Approve.
-
Ask your first question
Open a new chat and ask it to list your AxiTrace workspaces. Allow the tool when the assistant asks.
The facts
Every address and token, in one place.
- Plans
-
Every paid plan: Pro, Business and Custom. The fraud tools need Business or Custom. The Free plan has no MCP or API access.
See pricing - Connector address
-
One address for every MCP client that speaks Streamable HTTP, with OAuth 2.1 or a personal access token. Paste it exactly, without www: an address on www.axitrace.com is refused.
- https://axitrace.com/api/mcp
- Claude
-
Open AxiTrace in the Claude Connectors Directory, click Connect and sign in. The connection also works in Claude Desktop and the Claude mobile apps under the same account.
Open the directory listing - ChatGPT
-
Open the official AxiTrace plugin, click Install plugin and sign in. No developer mode and no token.
Open the plugin - Claude Code
-
One command in the terminal, then OAuth in your browser.
- claude mcp add --transport http axitrace https://axitrace.com/api/mcp
- Cursor
-
A personal access token in mcp.json, read from an environment variable.
See the Cursor setup - Personal access token
-
For Cursor, the ChatGPT desktop app, scripts and anything else that cannot sign in with OAuth. Create it under MCP & API in your account menu and choose its stores, its permissions and how long it lives: 30, 90, 180 or 365 days. It is shown once.
- REST API v1
-
The same reports as JSON over HTTPS, with the same token or OAuth. The OpenAPI document describes every endpoint and needs no token.
- https://axitrace.com/api/v1
- /api/v1/openapi.json
- Your data
-
Stored in the EU, on Google Cloud in Warsaw, under a data processing agreement.
Frequently asked questions
Something else on your mind? Ask us directly
Is AxiTrace in the Claude Connectors Directory?
Yes. AxiTrace is listed in the Claude Connectors Directory at https://claude.ai/directory/axitrace. Open the listing while you are signed in to claude.ai, click Connect, sign in to AxiTrace, choose which stores Claude may read and click Approve. The first time Claude uses each AxiTrace tool it asks you to allow it. The connector also works in Claude Desktop and the Claude mobile apps, and it needs an AxiTrace store on a paid plan.
Is there an official AxiTrace plugin for ChatGPT?
Yes. AxiTrace is an official ChatGPT plugin, approved by OpenAI: https://chatgpt.com/plugins/plugin_asdk_app_6ae342d3d8a881919ec2180d5eaced31. Open the listing, click Install plugin, sign in to AxiTrace and choose which stores ChatGPT may read. You need no developer mode and no token, only an AxiTrace store on a paid plan.
How do I connect Cursor, Claude Code or my own script?
With the connector address or a personal access token. Claude Code takes one command and then signs you in with OAuth in your browser. Cursor reads a personal access token from an environment variable in mcp.json. A script calls the REST API v1 at https://axitrace.com/api/v1 with the same token. You create the token under MCP & API in your account menu, with its stores, its permissions and an expiry of 30, 90, 180 or 365 days.
Can the assistant change anything in my store or ad accounts?
Only what you allow. Reports are read-only. Tools that change something (custom events, surveys, leads, workspace settings, Product Labels rules, Fraud Detection, excluding orders from reports) work only with a permission you tick when you connect. No tool changes your tracked data, existing orders, connections or campaigns. The one thing that can reach an ad account is a Google Ads IP exclusion for an address you block while Fraud Detection Auto Exclusion is on.
What data can the assistant see?
Only the stores you approve when you connect. It reads report figures (revenue, orders, ad spend, ROAS, traffic sources, campaigns, products, integration health, and fraud results on Business and Custom) and the visits and ad clicks behind each order. Profit and POAS are shared only if you tick that permission. Buyer contact details are not exposed, with one exception you choose yourself: the contact details of your leads, behind their own permission. Visitor IP addresses, product costs and stored credentials are never sent.
How do I disconnect an assistant?
Open MCP & API in your AxiTrace account menu and click Revoke next to the connection or the personal access token. It stops working at once. Removing the connector inside Claude, ChatGPT or Cursor does not always revoke it on the AxiTrace side, so revoke it in AxiTrace too. You also get a security email for every new connection and every new token, so an unexpected one is easy to spot.
Does AxiTrace send my data to Anthropic or OpenAI?
Only when you connect an assistant yourself. The assistant fetches the reports you ask about, and from then on its provider handles them under your own agreement with that provider. AxiTrace does not send your data to any AI provider on its own initiative.
Connect your assistant and ask your first question.
Free up to 10,000 visits a month. Pro and Business are free for 14 days, with no card and no automatic charge.
An agency, or more than 3M visits a month? Talk to us
- Data stored in the EU
- GDPR, with a DPA
- On the Shopify App Store
- Plugin on WordPress.org
- In ChatGPT and Claude