How-to guide

Connect Claude or ChatGPT to Amazon Ads with Xnurta MCP

Xnurta Knowledge Hub cover: "Connect your assistant" on a dark navy gradient, with three numbered steps (Add a custom connector; Sign in to Xnurta; Ask your first question)

TL;DR

To connect Claude to Xnurta MCP, add https://mcp.xnurta.com/mcp as a custom connector, sign in with your own Xnurta login and approve the ad accounts it can see. This guide is for Amazon advertisers and agency teams who want Claude, ChatGPT or another MCP client working on live Sponsored Ads data. You write no code.

  • In Claude desktop, Cowork and claude.ai: Customize, Connectors, Add custom connector, then sign in. There is no token to copy.
  • Claude Code and ChatGPT Codex can set themselves up from one prompt that points at the Xnurta GitHub repository.
  • The connector and the skills are two separate steps. Install the skills in a new chat after you connect.
  • Check the connection by asking the assistant which ad accounts you are authorized to access.

What do you need before you connect?

You need an Xnurta login, an AI assistant that speaks MCP, and, on Claude Team or Enterprise, an Owner who adds the connector once. Xnurta MCP connects Claude, ChatGPT and other MCP clients to your Xnurta data. You sign in with your own login, so the AI sees only the ad accounts that login already carries, main accounts and sub-accounts included.

You needDetails
An Xnurta loginWith access to the ad accounts you want the AI to work on. Nothing else is visible to it.
An MCP clientClaude (desktop, Cowork, claude.ai, Claude Code), ChatGPT Codex, Cherry Studio, WorkBuddy, or another MCP-compatible client.
An Owner, on Claude Team or EnterpriseOnly Owners add custom connectors to an organization.

How do you connect Claude desktop, Cowork or claude.ai?

You add Xnurta as a custom connector and sign in through your browser. These three clients cannot configure MCP themselves, and local MCP config files do not exist in Cowork or claude.ai, so the connector is the only road in. On a Free, Pro or Max account, you do it yourself:

  1. Open Customize, then Connectors, click +, and choose Add custom connector.
  2. Enter https://mcp.xnurta.com/mcp and click Add.
  3. Sign in to Xnurta in the browser window that opens. Review the permissions and ad accounts, approve, and return to Claude.
  4. Install the skills in a new chat (two sections down).

How does a Claude Team or Enterprise organization set it up?

It takes two stages, because only an Owner can add a connector for the whole organization. If you are a member and cannot find "Add custom connector," that is expected. Ask your Claude admin to do stage one.

  1. The Owner or Primary Owner adds it once. Open Organization settings, then Connectors, then Add. Hover Custom, choose Web, enter https://mcp.xnurta.com/mcp and click Add. Leave Advanced settings empty. No OAuth Client ID or Secret is needed.
  2. Each member connects on their own. Open Customize, then Connectors, find the Xnurta connector and click Connect. Sign in with your own Xnurta login.

Stage two stays personal on purpose. Adding the connector for the organization does not widen anyone's access, because every member still sees only what their own Xnurta account allows. Anthropic's help center covers who can add connectors in Get started with custom connectors using remote MCP.

How do you install the Xnurta skills?

You ask your assistant to install them, in a new chat, after the connector is in. Adding a connector never installs skills. The connector gives the assistant access to Xnurta. The skills give it the routine for Xnurta tasks, such as what to pull for a weekly report or how to preview a change before it happens.

Prompt: install the Xnurta skills

Please read this GitHub repository and follow the instructions to install the Xnurta Skills: https://github.com/Xnurta/Xnurta-MCP

If the assistant connects MCP but skips the skills, send the repository link again and ask it to install them.

How do you connect Claude Code, Codex or another agent?

You send the agent one prompt and it configures MCP itself. This works for any client that can set up MCP on its own, including Claude Code and ChatGPT Codex.

Prompt: configure Xnurta MCP and install the skills

Please read the following GitHub repository and follow its instructions to configure Xnurta MCP and install the Skills: https://github.com/Xnurta/Xnurta-MCP

When authorization is required, open the sign-in page so I can complete the authorization.

After the configuration is complete, call get_user_authorized_context to verify the connection.

When the client asks, choose OAuth, Sign in or Authenticate. Your browser opens the Xnurta authorization page. Sign in, review the permissions and ad accounts, approve, and go back to the client.

How do you connect ChatGPT?

Codex takes the same one-prompt setup shown above. For ChatGPT apps, add Xnurta MCP with the same address, https://mcp.xnurta.com/mcp, and sign in when the Xnurta authorization page opens. What ChatGPT lets you add depends on your plan and workspace, so read OpenAI's Help Center article "Developer mode and MCP apps in ChatGPT" first.

Can you connect with a token instead?

Yes, in clients that can send a bearer token. Claude desktop, Cowork and claude.ai have no field for one, so use the connector there. In Xnurta:

  1. Open MCP & Skill and click New token.
  2. Create it with the narrowest scope that covers your first use.
  3. Copy the token and store it somewhere safe. You cannot view it again after you leave the page.
  4. Send the agent prompt above with one extra line: Token: [paste your token].

How do you check that it worked?

You ask the assistant to call get_user_authorized_context. If it returns your user ID and your authorized ad accounts, you are connected. Then ask something real, and name the account, a time window and a comparison. Comparisons turn numbers into conclusions.

Prompt: check the connection

Call get_user_authorized_context and list the ad accounts I'm authorized to access.

Prompt: first real question (read only)

For ad account [account name], rank campaigns by ACOS for the last 7 days vs the prior 7 days. Show a table with spend, sales and ACOS for both periods.

Can the AI change your campaigns once it's connected?

Only if write access is on for your Xnurta account. Reading never changes anything. Writing comes in three kinds: AI-managed groups, edits to ads and campaigns, and creating Sponsored Products campaigns. Each kind has its own permission scope, so a token that can edit ads cannot necessarily create campaigns.

The access rule

Generally available from 27 Oct for Sponsored Ads. Write access is turned on per account by your CSM.

Changes to money, bids or archiving never run straight away. The assistant shows a preview first: which objects, and from which value to which value. It submits only after you confirm. Archiving cannot be undone, so pause a campaign if you only want it to stop. Read-only vs read-write MCP for Amazon advertisers explains which access to start with.

What if it doesn't connect?

Most failures trace back to an expired authorization, a missing permission or a skipped step. Match what you see to the row below. Xnurta MCP troubleshooting: 12 errors and fixes covers more errors.

What you seeWhat to do
A 401 error with a tokenThe token is wrong or lacks the scope. Create a new one.
A 401 error with OAuthThe authorization expired or lacks a newer scope. Disconnect, then connect again.
The request times outCheck your network connection.
Connected, but the skills are missingSend the repository link again and ask the assistant to install them.
"Add custom connector" is missing on Team or EnterpriseExpected. Only an Owner can add it. Ask your Claude admin.
Write tools do not appear after your CSM turns on write accessRemove the connector and add it again, or create a new token with the scope you need. Signing in again on the old connector keeps the old permissions. Then ask the assistant to update your Xnurta skills.

Video transcript

FAQ

Frequently asked questions

How many steps does it take to connect Claude to Xnurta MCP?

Four. Add the connector, sign in and approve, install the skills, then check the connection. You write no code.

Do I need a token to connect Claude?

No. Claude desktop, Cowork and claude.ai connect through a custom connector and browser sign-in, and they have no field for a token. Tokens are for clients that need one.

Why do I install skills separately?

The connector gives your assistant access to Xnurta. The skills teach it the routine for Xnurta tasks, such as what to pull for a weekly report. Adding a connector never installs them.

Can my whole team use one connection?

Each person signs in with their own Xnurta login. On Claude Team or Enterprise, an Owner adds the connector once and each member connects on their own, so nobody sees more than their account allows.

Can I connect both Claude and ChatGPT?

Yes. Both use the same address, https://mcp.xnurta.com/mcp, and your access follows your Xnurta login in either one.

What do I do after my CSM turns on write access?

Remove the Xnurta connector and add it again, because signing in again on the old connector keeps the old permissions. Then ask your assistant to update your Xnurta skills.

Xnurta MCP

Ask your Amazon Ads account a question today.

Xnurta MCP is for Xnurta customers only. Create your MCP connection directly in the Xnurta platform. New to Xnurta? Book a demo and we'll walk through your account with you.