Xnurta MCP connects advertising data from the Xnurta platform to the AI assistant you already use. After setup, you can use natural language to query ad performance, entity configuration, and operation logs. You can also ask AI to combine Xnurta data with your own cost, margin, targets, or other business context for analysis.
The current version supports data queries, AI managed-group management, ad-entity editing, and Sponsored Products campaign creation. Write operations require the corresponding permission and explicit confirmation where required.
1. What Is MCP
MCP, or Model Context Protocol, is a standard protocol that allows AI assistants to connect to external systems. You can think of it as a standard way for AI assistants to access business systems.
Compared with an API, an API is usually designed for systems or developers. To integrate a system through APIs, engineers often need to read API documentation, write code, handle authentication, and map fields. MCP builds on top of API capabilities and provides a more standardized connection method for AI assistants.
Xnurta packages platform data access capabilities as MCP Tools, and AI assistants call these Tools through the MCP protocol. This means you do not need to write code or remember every API and field name. You can ask questions in natural language and let AI query and analyze the data.
In one sentence:
MCP is the USB-C of the AI world. We turn Xnurta advertising capabilities into a standard connector, so your AI can plug in and use them.
2. What Xnurta MCP Can Do
After setup, you can use Xnurta MCP in an AI assistant that supports MCP to:
Query advertising data in natural language: for example, "Sort last week's campaigns by ACOS from highest to lowest" or "What is the TACOS trend for this product line over the last 8 weeks?"
Analyze with your own business data: for example, provide product cost, gross margin rate, inventory pressure, or target ACOS, and ask AI to identify which campaigns need adjustment based on Xnurta advertising data.
Reuse fixed analysis workflows: for example, turn recurring tasks such as weekly ad reports, monthly reports, product diagnosis, or ad structure analysis into Skills, reducing the need to describe the same analysis method every time.
Trace human and AI operation records: for example, review recent changes to budget, bids, targeting, or managed groups for a specific campaign.
Manage AI managed groups (requires write permission): create, edit, and delete managed groups in your AI assistant, and adjust target ACOS, managed goals, AI status, action spaces, and campaign bindings under each managed group.
Edit your ads (requires write permission): change budgets, adjust bids, enable / pause / archive campaigns, add keywords and negatives, and manage products — all from your AI assistant.
Create Sponsored Products campaigns (requires write permission): create SP campaigns with ad groups, advertised products, targeting, negative targeting, placement settings, and an optional Audience bid adjustment.
3. What You Can Query and Manage
Xnurta MCP currently supports three query-data categories, AI managed-group management, ad-entity editing, and Sponsored Products campaign creation.
3.1 Reporting and Performance Data
This includes advertising performance metrics and selected business metrics, such as:
Impressions, clicks, spend, sales, orders, units sold
ACOS, ROAS, click-through rate (CTR), conversion rate (CVR), cost per click (CPC), cost per order
AI-managed sales, ACOS, and ROAS
ASIN-level total sales, TACoS, sessions, page views, Buy Box ownership, and more
3.2 Entity Configuration and Metadata
This includes key advertising objects and configuration in the ad account, such as:
Campaigns, ad groups, targeting, and advertised products
ASIN title, inventory, advertising eligibility, and other product information
Managed groups, product lines, and other grouping information
3.3 Operation Logs
This includes operation records from both users and AI, such as:
Changes to campaigns, ad groups, targeting, bids, budgets, and managed groups
Operator, action type, entity, and operation time
AI-managed operations and related performance changes
3.4 Manage AI managed groups (requires write permission)
This includes AI managed group create, edit and delete:
Create, edit, and delete managed groups right in your AI assistant
Adjust target ACOS, optimization goals, AI status, action spaces, and which campaigns belong to each group.
3.5 Ad-entity editing (requires write permission)
Change a campaign's daily budget, state, and bidding strategy;
Add or remove keywords, targets, promoted products, negative keywords, and negative product targets;
Adjust bids in bulk.
Edit placement bid adjustments and Audience bid adjustments for supported campaign types.
3.6 Sponsored Products Campaign Creation (Requires Write Permission)
Create SP campaigns with ad groups and advertised products.
Configure automatic, keyword, or product targeting; negative targeting; placement settings; and an optional Audience bid adjustment.
4. Before You Start
Before using Xnurta MCP, make sure you have:
A Xnurta platform account with access to the stores or ad accounts you need to query.
An AI assistant that supports MCP, such as WorkBuddy, Claude, ChatGPT Codex, Cherry Studio, or Coze.
5. How to Set Up Xnurta MCP: Get Started in 3 Steps
Choose an authorization method and connect MCP.
Install Skills (optional).
Start querying in natural language.
Choose an Authorization Method and Connect MCP
Choose the setup path that matches your AI client. Xnurta MCP supports OAuth and MCP Token authorization.
OAuth for self-configuring AI clients: ask the client to configure Xnurta MCP, then authorize it in your browser.
OAuth through a Claude Custom Connector: add the connector in Claude, then authorize it in your browser.
MCP Token: create a Token in Xnurta and add it to a supported AI client manually.
You can manage manually created MCP Tokens from the MCP Token management page in Xnurta.
Option A: Configure MCP Automatically and Sign In with OAuth
Use this path for Claude Code, Codex, and other AI clients that can configure an MCP server from a prompt. You do not need to create, copy, or store an MCP Token.
Step 1 — Ask your AI client to 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
Step 2 — Complete authorization in your browser.
When your AI client prompts you to authenticate, continue in the browser:
Sign in to your Xnurta account.
Review the requested permissions and Profiles.
Approve the authorization.
Return to your AI client and verify that Xnurta MCP is connected.
Step 3 — Confirm that the Xnurta Skills are installed.
The AI client normally installs the Skills while configuring MCP. If MCP is connected but the Skills were not installed, send the following prompt:
Please read the following GitHub repository and follow its instructions to install the Xnurta Skills: https://github.com/Xnurta/Xnurta-MCP
Option B: Connect Claude Cowork, Desktop, or Web with a Custom Connector
Claude Cowork, the Claude desktop app, and claude.ai connect to Xnurta through a Custom Connector. Do not use the setup prompt in Option A or manually configure an MCP Token for these clients.
Free / Pro / Max: add the connector yourself.
Open Customize > Connectors > + > Add custom connector.
Enter
https://mcp.xnurta.com/mcpand select Add.
Team / Enterprise: an Owner or Primary Owner adds the connector once for the organization, and each member then connects it individually.
Owner: open Organization settings > Connectors > Add, hover over Custom, select Web, enter
https://mcp.xnurta.com/mcp, and select Add. Leave Advanced settings empty; no OAuth Client ID or Secret is required.Member: open Customize > Connectors, find Xnurta MCP, and select Connect.
Sign in to Xnurta in the browser window, review the requested permissions and Profiles, approve the authorization, and return to Claude. Each member authorizes with their own Xnurta account, so an organization-level connector does not expand anyone's store access or permissions.
The connector and Skills are separate. Adding the connector completes MCP authorization but does not install Skills. In a new chat, ask Claude to install or update the Xnurta Skills from the repository:
Please read this GitHub repository and follow the instructions to install or update the Xnurta Skills:https://github.com/Xnurta/Xnurta-MCP
Step-by-step guide:
Option C: Create an MCP Token on Xnurta
Use this path only for AI clients that support manual MCP Token configuration. Claude Cowork, the Claude desktop app, and claude.ai must use the Custom Connector in Option B.
Step 1 — Log in to the Xnurta platform and create your token
Log in to the Xnurta platform.
Go to MCP & Skill.
Click Create Token.
Select the required authorization scope and create the Token.
Copy the generated Token and keep it in a secure place.
Note: You usually cannot view the Token again after leaving the page. If you did not save it, create a new one.
Step 2 — Configure MCP in Your AI Assistant (Recommended)
We recommend using the one-prompt setup method. Open an AI assistant that supports MCP and send the following prompt:
Please read this GitHub repository and follow the instructions to configure Xnurta MCP and install the Skills:
https://github.com/Xnurta/Xnurta-MCP
The AI assistant will configure MCP based on the repository instructions and call the verification tool. If it returns your user information and authorized store or Profile list, the setup is successful.
Alternative — Manual Setup (Advanced)
If your AI assistant does not support automatic setup, add a remote MCP service in the client's MCP settings.
MCP service URL:
https://mcp.xnurta.com/mcp
Request header:
Authorization: Bearer <your Token>
Claude Code CLI example:
claude mcp add --transport http sparkx-mcp https://mcp.xnurta.com/mcp --header "Authorization: Bearer <your Token>"
ChatGPT Codex example:
[mcp_servers.sparkx-mcp]url = "https://mcp.xnurta.com/mcp"bearer_token_env_var = "SPARKX_TOKEN"http_headers = {}Different AI assistants may have different MCP settings. If you see a 401 error, the Token may be incorrect or missing permission. If the request times out, check your network connection and MCP configuration.
For Existing Users: Re-authorize and Update Skills
Existing connections do not automatically receive newly added write scopes. Customers who already use Xnurta MCP must re-authorize the connection and update their Skills before using ad-entity editing or SP campaign creation.
Claude Cowork / Desktop / Web: open Settings or Customize > Connectors, disconnect Xnurta MCP, reconnect it, sign in, and approve the new permissions. Signing in again without removing and reconnecting the Connector keeps the old permissions.
Claude Code / ChatGPT Codex and other self-configuring clients: remove or replace the existing MCP connection, complete OAuth again, and call
get_user_authorized_contextto verify the new scope.MCP Token users: create a new Token whose scope includes ad editing, verify that it works, and then disable the old Token.
Campaign creation does not require a separate application for main accounts that already have campaign-editing access, but re-authorization and a Skills update are still required.
6. How to Ask Questions
After setup, you can ask questions in natural language. For more accurate results, include:
Query object: store, campaign, ad group, ASIN, product line, managed group, etc.
Time range: yesterday, last week, last 30 days, a calendar month, etc.
Metrics: spend, sales, ACOS, ROAS, TACoS, orders, etc.
Output format: table, Top N list, trend summary, anomaly explanation, action recommendations, etc.
Common question scenarios include:
6.1 Account or Store Health Check
Use this for daily account checks or weekly performance reviews.
Review this store's advertising performance last week. Summarize the main changes in spend, sales, ACOS, and ROAS, and point out the most important anomalies.
Compare the last 7 days with the previous 7 days. Which campaigns had the fastest spend increase? Did the increase bring sales growth?
6.2 Campaign or ASIN Diagnosis
Use this to diagnose a specific campaign, product, or product line.
Diagnose this ASIN's advertising performance over the last 30 days, focusing on spend, sales, ACOS, conversion rate, and inventory-related risks.
List campaigns from the last 14 days with ACOS above target and high spend, and provide prioritized recommendations.
6.3 Search Term and Targeting Analysis
Use this to find wasted spend, promising search terms, or targeting that needs adjustment.
Find search terms from the last 30 days with high spend and no orders, sorted by spend.
Which search terms had high ROAS but limited impressions or budget in the last 14 days? Provide a list of candidates for scaling.
6.4 Product Line or Ad Structure Analysis
Use this to check whether ad budget and traffic allocation are reasonable.
Summarize ad spend, sales, ACOS, and TACoS by product line for the last 30 days, and identify which product lines are over- or under-allocated.
Analyze my ad structure by ad type and match type. Break down spend and output, and identify structural imbalance.
6.5 Operation Log Tracing
Use this to understand whether performance changes are related to human or AI operations.
ACOS increased for this campaign over the last 14 days. Check the related budget, bid, and targeting operation logs during the same period and identify possible causes.
List the main operations AI performed on managed groups in the last 7 days, and explain whether key metrics changed after those operations.
6.6 Analyze with Your Own Data
If you have your own cost, margin, inventory, or target data, provide it in the conversation and ask AI to analyze it together with Xnurta data.
Here are my product costs and target margin rates. Combine them with ad spend and sales from the last 30 days, identify ASINs with poor actual profit performance, and provide adjustment recommendations.
The target TACoS for this product line this month is 12%. Based on current ad performance and total sales, should we control budget or increase investment?
6.7 Weekly Reports, Monthly Reports, and Fixed Templates
If you need the same analysis framework on a regular basis, use a Skill or a fixed prompt.
Generate last week's advertising report, including core KPIs, week-over-week changes, abnormal campaigns, Top movers, and recommendations for next week.
Generate last month's advertising report, including MoM and YoY comparison, ad structure, product performance, keyword performance, and target achievement.
7. Use Skill Hub
A Skill is a reusable set of analysis instructions. After a Skill is installed, the AI assistant follows fixed steps to query data, analyze it, and produce output for the matching scenario.
7.1 Official Skills
Common official Skills include:
Skill | Use case | Output |
Weekly Ad Report | Weekly advertising performance review | KPI week-over-week changes, 7-day trends, anomalies, Top lists, and recommendations for next week |
Monthly Ad Report | Monthly business review | MoM and YoY comparison, ad group structure, product and keyword performance, and target achievement |
Ad Structure Analysis | Budget and traffic structure review | Spend and output breakdown by ad type and delivery method, with structural imbalance diagnosis |
Product Diagnosis | ASIN performance troubleshooting | ASIN ranking layers, low-performing product identification, variation comparison, inventory and advertising eligibility checks |
7.2 Install Skills
In most cases, when you configure Xnurta MCP by following the GitHub repository instructions, the AI assistant will install the required official Skills for you. After setup, you can ask the AI assistant to confirm the list of installed Skills.
If the AI assistant does not install them automatically, or if your client requires manual installation, tell the AI assistant which Skill you want to use. For example:
I want to install the Weekly Ad Report Skill.
Or:
Help me install the official Skills for Xnurta MCP.
The AI assistant will guide you through the installation. After installation, you can say "Generate last week's advertising report" or "Help me run a product diagnosis." If the AI assistant asks you to upload or select a Skill file, follow the instructions in your client.
7.3 Create Your Own Skill
If your team has a fixed analysis method, you can turn it into a custom Skill. We recommend defining:
Use case: weekly review, target achievement check, product line budget review, etc.
Data needed: campaigns, ASINs, search terms, operation logs, etc.
Analysis steps: overview, anomalies, causes, recommendations
Output format: table, summary, action item list
7.4 AI Managed Group Management (Requires Write Permission)
"Find campaigns in Store XX that had spend in the last 30 days but are not yet under AI management, and group them by how close their ACOS values are."
"Create managed groups from these groups of SP campaigns with similar ACOS. Set target ACOS to 6%, and leave AI switched off for now."
"Turn on AI for managed group XX."
"Enable placement bid-adjustment AI for managed group XX."
"Remove these campaigns from managed group XX, and confirm they no longer belong to any managed group after removal."
Note:
Managed group management will actually modify your account configuration. We recommend asking the AI to first show the objects, target ACOS, AI status, action space, and campaign list it plans to change, then confirming before it executes.
7.5 Ad-Entity Editing (Requires Write Permission)
"Raise the daily budgets of these three SP campaigns by 10%."
"Lower the bids of these high-ACOS keywords by 15%."
"Set the top-of-search placement adjustment to 25% and the Audience bid adjustment to 10% for Campaign XX."
The assistant shows the affected objects and the old and new values before operations involving money, bids, or archiving are submitted.
7.6 Sponsored Products Campaign Creation (Requires Write Permission)
"Create a paused SP automatic campaign for these five ASINs with a $30 daily budget, and show me the full structure before submission."
"Create an SP keyword campaign with these exact-match keywords, negative keywords, placement settings, and Audience bid adjustment."
SP campaign creation is atomic: if any campaign in the request fails validation, none are created. Create campaigns as paused when you want to review them before they spend. SB and SD campaign creation are not currently supported.
8. FAQ
Q1: How Does Xnurta MCP Access, Process, and Protect Customer Data?
Within the scope authorized by the customer, Xnurta MCP enables MCP-compatible AI clients such as Claude, Codex, and Cursor to query Xnurta data. The following sections explain how Xnurta MCP accesses and processes that data.
Access scope
Connecting Xnurta MCP does not give an AI client access to the entire Xnurta account. Every request is subject to Xnurta identity and permission checks. The accessible scope is determined by the intersection of the current user's permissions, the MCP Token permissions, and the authorized Profiles. An MCP Token cannot expand the user's existing data permissions.
Xnurta MCP can provide data retrieval and advertising management capabilities, depending on the tools currently available and the permissions granted to the MCP Token. Read and write permissions are controlled separately. Without the relevant write permission, MCP cannot modify an advertising account. For a request that may change a Campaign, Budget, Bid, or other configuration, the client must display the proposed action and execute it only after receiving explicit confirmation from the user.
Data processing flow
The AI client sends the parameters and call information required for a request to Xnurta only when it invokes an Xnurta MCP tool. After completing the permission checks, Xnurta performs the authorized data query or advertising action and returns the result to the client. Connecting MCP does not initiate a full data sync or automatically perform advertising actions. Xnurta also does not automatically receive the user's entire conversation with the AI client simply because MCP is connected.
Data processing by third-party AI services
After a tool result is returned to the AI client, the customer's selected AI client and model provider continue processing it. Whether the provider stores the data, how long it retains the data, and whether it uses the data for product improvement or model training depend on the provider's product tier, contract, privacy policy, and account settings. Xnurta does not control these third-party practices.
Enterprise customers should use AI services and enterprise accounts approved by their internal security and legal teams. They should also configure data retention, model improvement, and data-sharing settings according to their own data governance requirements.
Token security
An MCP Token identifies the user and authorizes access. Manage it with the same level of security as a password or API Key. Do not include a Token in a chat, document, or support ticket, and do not share a personal Token with other people. If a Token is exposed or no longer needed, disable or delete it in Xnurta immediately.
Q2: Why can't AI find data after setup?
First, ask AI to call get_user_authorized_context to verify authorization. If it cannot return authorized stores or profiles, check whether the Token is correct, expired, or missing the required store or ad account permission.
Q3: Why does AI give slightly different answers to the same question?
MCP provides queryable data. The final analysis is generated by the AI assistant. Different AI assistants, conversation context, and question wording may change how conclusions are organized. To improve consistency, specify the time range, object, metrics, and output format in your question.
Q4: When should I use MCP, and when should I use InsightAgent?
Use InsightAgent when you want ready-made analysis directly inside the Xnurta platform. InsightAgent is better for out-of-the-box ad diagnosis, anomaly analysis, and platform-based reviews.
Use MCP when you want to query Xnurta data in your own AI assistant, or when you need to combine it with your own cost, margin, inventory, targets, internal spreadsheets, or other context. MCP is better for follow-up questions, cross-source analysis, fixed report generation, and personalized workflows.
They are not replacements for each other. InsightAgent helps you get standard conclusions quickly inside the platform. MCP brings Xnurta data into your own AI workflow for further analysis.
Q5: How is MCP different from viewing reports directly in Xnurta?
Platform reports are better for fixed dashboards and standard metrics. MCP is better for natural-language queries, cross-source analysis, fixed report generation, and personalized follow-up questions in your own AI assistant. You can use both together.
9. Appendix: Common Metrics and Objects
You usually do not need to remember every field name. Natural-language descriptions are enough for daily use. The following reference is only for cases where you need to specify metrics or objects precisely.
9.1 Common Metrics
Category | Example metrics |
Traffic | Impressions, clicks, spend, AI spend |
Sales and conversions | Sales, orders, units sold, conversion rate |
Efficiency | ACOS, ROAS, click-through rate, CPC, cost per order |
New-to-brand | New-to-brand orders, new-to-brand sales, new-to-brand order share |
Detail page | Detail page views, detail page view rate |
AI management | AI-managed sales, AI-managed ACOS, AI-managed ROAS |
ASIN business | Total sales, TACoS, sessions, page views, Buy Box ownership |
9.2 Common Query Objects
Object | Common use |
Campaign | Review overall budget, spend, sales, and efficiency |
Ad group | Analyze structure and performance differences within campaigns |
Targeting | Analyze keyword, product targeting, or audience targeting performance |
Search term | Find high-converting terms, wasted spend, and new opportunities |
Advertised product | Review advertising performance of promoted ASINs |
ASIN | Analyze product health with both advertising and business metrics |
Managed group | Review AI-managed configuration, operations, and performance changes |
Product line | Review budget and sales contribution by business grouping |
9.3 Common Operation Log Filters
Filter | Examples |
Time range | Last 7 days, last week, a calendar month |
Operator | Manual operation, AI operation, specific user |
Operation object | Campaign, ad group, targeting, budget, bid, managed group |
Action type | Create, update, enable, pause, budget adjustment, bid adjustment |
9.4 Managed-Group Write Operations (Write Permission Required)
Purpose: create, edit, schedule, and delete managed groups via natural language — single or in bulk.
Create / Edit (same settable items; grouped by the edit page’s sections)
Basics: managed-group name, AI managed status, AI personality
Goal: management goal, target ACoS
Campaigns: managed-group total budget, campaign name marker, add / remove / assign campaigns under the managed group
AI action space: supports on / off, supports Rule → AI; does not support AI → Rule
Schedule: add a managed-group schedule
Template: create a managed group from a template
Bulk supported (multiple groups at once); some changes may be skipped while AI is running.
Delete
Delete (archive) the entire managed group — irreversible.
Platform UI only (not writable via MCP)
Brand / non-brand / competitor mode
All word-list-related features
9.5 Ad-Entity Write Operations (Write Permission Required)
Purpose: bulk-edit the ads themselves through natural language.
Campaign
Change state: enable / pause / archive
Adjust budget (absolute value, increase / decrease by amount, increase / decrease by percentage, suggested budget)
Adjust bidding strategy: fixed bids, dynamic bids – down only, dynamic bids – up and down, rule-based bidding (SP only)
Add products (SP / SD), add negative keywords (SP only)
Campaign-level adjustments: edit placement bid adjustments and Audience bid adjustments for supported campaign types.
Product
Enable, pause, and archive
Target — auto targeting, keywords, product targeting
Create keywords (keyword, keyword group, theme targeting) and product targets (ASIN, category, expression)
Change state and bid
Negative targets — negative keywords, negative products
Create negative keywords and negative products
Change their state
Copy negatives to another campaign or ad group
Confirmation before execution
Operations involving money, bids, or archiving are never executed straight away — the assistant returns a preview first (which objects, and from what value to what value), and submits only after you confirm.
9.6 Sponsored Products Campaign Creation (Write Permission Required)
Purpose: create one or more SP campaigns through natural language.
Create SP campaigns with ad groups and advertised products.
Configure automatic, keyword, or product targeting; negative targeting; placement bid adjustments; and an optional Audience bid adjustment.
Review the complete structure before submission. The request is atomic: if any campaign fails validation, none are created.
SB and SD campaign creation are not supported. A campaign cannot be deleted after creation; it can only be archived, which is irreversible.


