Xnurta-MCP

Xnurta/Xnurta-MCP Checked 4 hours ago

Bring Xnurta's advertising capabilities into your own AI assistant via MCP — natural-language Amazon ads data queries, analysis, and reporting.

Bring Xnurta's advertising capabilities into your own AI agent (Claude, ChatGPT, and more) and make your data part of your workflow — query data, run analyses, and calculate true profitability in plain language, combining your own costs, margins, and goals. After authorization, there is no need to repeatedly sign in to the platform, export spreadsheets, or switch between systems. The current Xnurta MCP v1.3.7 supports data queries, AI managed-group management, SP/SB/SD campaign and ad group creation, portfolio creation, and live Amazon Sponsored Ads editing.

Summary extracted from the README.

Xnurta MCP

Bring Xnurta's advertising capabilities into your own AI agent (Claude, ChatGPT, and more) and make your data part of your workflow — query data, run analyses, and calculate true profitability in plain language, combining your own costs, margins, and goals. After authorization, there is no need to repeatedly sign in to the platform, export spreadsheets, or switch between systems.

The current Xnurta MCP v1.3.7 supports data queries, AI managed-group management, SP/SB/SD campaign and ad group creation, portfolio creation, and live Amazon Sponsored Ads editing. You can create SP, SB, or SD campaigns with ad groups, advertised products, targeting, and placement settings, or add new ad groups to an existing campaign of any type, and create portfolios; update campaign budgets, status, and SP bidding strategies; change portfolio membership, portfolio budgets and flight dates, and ad group state; and manage keywords, targets, promoted products, and negative targeting. Using a separate campaign-delete operation is not supported; archiving a campaign through a status update is supported.


What Xnurta MCP can do for you

  • Query your data in natural language — ask "rank last week's campaigns by ACOS" or "show this product line's TACOS trend over the past 8 weeks" right inside your AI assistant. After authorization, there is no need to repeatedly sign in or export data.
  • Calculate true profitability with your own data — hand your costs / margins / goals to the AI and let it pull ad spend: "based on real margins, which campaigns are losing money — cut or scale?" Questions that require combining ad data with your own business data are exactly what the platform alone can't answer.
  • Codify your own playbook — save frequent questions as templates, or even schedule a weekly report routine that runs every Monday.
  • Manage AI managed groups — create, edit, or delete managed groups after explicit confirmation, then read back the resulting state.
  • Create SP, SB, or SD campaigns — create campaigns of any supported type with ad groups, advertised products, automatic, keyword, or product targeting, negative targeting, and placement settings, and create portfolios, after reviewing the complete structure.
  • Edit live ad entities — update campaign budgets, status, SP bidding strategies, placement adjustments, and AMC audience bid adjustments; adjust keyword or target bids; and manage promoted products or negative targeting. Writes take effect on the live account, so the assistant must confirm the target and exact change first.
  • Diagnose search terms — classify search terms with reproducible rules, identify wasted spend, negative and harvest candidates, and fragmented exact-keyword coverage using thresholds derived from order value and target ACOS.
  • Reset promotion changes safely — recover human bid, budget, placement, and managed-group changes made for a promotion, then restore all changes or stage the reset by post-promotion performance with preview and read-back.

What you can query and manage

Category Contents
Performance / report data Impressions, clicks, spend, sales, ACOS, ROAS, CTR, CVR, CPC, and more; AI-managed metrics; business metrics such as total sales, TACOS, sessions, and Buy Box share
Entity configuration / metadata Campaigns, ad groups, targets, advertised products, ASINs, managed groups, product lines
Operation logs Human and AI action history, filterable by operator, action type, entity, and time window
AI managed-group management Create, edit, and delete SP, SB, and SD managed groups; update supported optimization targets, budgets, campaign membership, and AI action-space settings
Ad entity management Create SP, SB, or SD campaigns and portfolios; update campaign budgets, status, SP bidding strategies, placement adjustments, and AMC audience bid adjustments; manage keyword and target status and bids; archive promoted products; create, copy, or update supported negative targeting

Supported AI assistants

Xnurta MCP works with any MCP-compatible AI assistant. Recommended and fully tested:

AI assistant Recommendation
Claude Code ⭐ Recommended
ChatGPT ⭐ Recommended

Other MCP-compatible clients — Cursor, Cline, Claude Desktop, OpenClaw, Hermes, Cherry Studio, and more — work with the standard configuration in the Installation Guide.


Quick start (4 steps)

  1. Choose an authorization method and connect MCP — Xnurta MCP supports both OAuth and MCP Token; choose based on client capabilities and usage requirements.
  2. Verify the connection — call get_user_authorized_context and confirm the authorized store scope.
  3. Install Skills — from this repo's skills/ directory.
  4. Start querying — ask in natural language.

Plugin installation (Claude Code / Codex)

Add the marketplace, then install the plugin. Desktop app users should use the Plugins settings; command-line users can use the CLI commands. See Plugin installation below or Installation Guide · Option 2.

In any client whose AI can configure things itself (Claude, ChatGPT Codex, Cherry Studio, etc.), send:

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

Xnurta MCP supports both OAuth and MCP Token authentication.
Please check which authorization methods the current client supports, briefly explain when each method is appropriate, and ask me to confirm which method to use before starting authorization.
If I choose OAuth, open the sign-in page when authorization is required so I can complete it.
When using OAuth, follow the MCP Authorization specification. Before sending any OAuth request, validate the discovered endpoints and all required fields; do not omit or guess protocol parameters.

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

Connecting the server is only step one. Complete all of the following:

  1. Add the MCP server (https://mcp.xnurta.com/mcp, Streamable HTTP). Check which authorization methods the client supports, explain when OAuth and MCP Token are appropriate, and ask the user to confirm before configuring it. If OAuth is selected, follow the MCP Authorization specification and validate discovery metadata, endpoints, and every required request field before sending any OAuth request; never omit or guess protocol parameters.
  2. Call get_user_authorized_context to verify. A list of authorized stores means success.
  3. Read skills/manifest.json and compare each installed Skill's local metadata.version in its SKILL.md frontmatter with the matching manifest version. If a local version is lower, list the outdated Skills and tell the user to update them. Do not report an update when versions match, the Skill is not installed, or its local version cannot be read.
  4. Install the 8 required Skills: the 3 query Skills, xnurta-create-ai-group, xnurta-edit-ai-group, xnurta-delete-ai-group, xnurta-edit-ads, and xnurta-create-campaign. Install them directly without asking the user.
  5. Introduce the 6 optional Skills (weekly report, monthly report, structure analysis, product diagnosis, search-term diagnosis, and promotion reset), and install only those the user confirms.

Write the MCP configuration to the correct file for the current client. Config file names vary (mcp.json, .mcp.json, mcp_config.json, config.toml, config.yaml, etc.); do not confuse them.

Machine-readable Skills list: https://raw.githubusercontent.com/Xnurta/Xnurta-MCP/main/skills/manifest.json. Stopping after connection verification means setup is incomplete.

A list of your authorized stores means the connection succeeded. For per-client manual setup, verification, and troubleshooting, see the Installation Guide →


Skills

MCP Tools determine what data the AI can get; Skills determine how well the AI uses it. Official Skills come in two tiers:

Required (8) — core query, managed-group management, SP campaign creation, and ad-editing capabilities:

Skill MCP Tool Purpose
xnurta-query-ads-performance get_ads_perf Query ad performance metrics: spend, ACOS, ROAS, trends, rankings, period comparison, plus hourly (AMS) and keyword × placement views
xnurta-query-entity-metadata get_entity_metadata Query entity configuration: campaign / ad group / target / ASIN / managed group names, status, settings, plus managed-group schedules, enabled campaign automation-rule types, and rule-mode rule configuration
xnurta-query-operation-log get_operation_log Query operation logs: human and AI bid, budget, and status changes
xnurta-create-ai-group create_sd_ai_managed_group / save_sp_sb_ai_managed_group / save_sp_sb_ai_group_schedule / get_ai_group_template Create SP, SB, or SD AI managed groups, optionally from a platform template and with an SP/SB schedule
xnurta-edit-ai-group edit_sd_ai_managed_group / save_sp_sb_ai_managed_group / save_sp_sb_ai_group_schedule / get_ai_group_template Edit one or multiple AI managed groups, apply templates, manage SP/SB schedules
xnurta-delete-ai-group delete_ai_managed_group Delete a managed group and release or migrate its campaigns
xnurta-edit-ads batch_update_ads Edit live campaign settings, keyword and target bids/status, promoted products, and negative targeting; protected operations require explicit two-phase confirmation
xnurta-create-campaign create_sp_sb_campaign / create_sd_campaign / create_sp_ad_group / create_sb_ad_group / create_sd_ad_group / create_portfolio Create SP, SB, or SD campaigns with ad groups, advertised products, automatic/keyword/product targeting, negative targeting, placements, and optional AMC audiences; add ad groups to existing campaigns of any type; create portfolios

Optional (6) — advanced analysis and operational playbooks; add as needed once the required Skills are installed:

Skill Purpose
xnurta-weekly-ads-report Weekly ads report: KPI card with WoW comparison, 7-day trend, anomalies, top movers, next-week actions
xnurta-monthly-ads-report Monthly ads report: full-month KPIs (MoM + YoY), structural breakdown, product and keyword analysis
xnurta-ads-structure-analysis Structure analysis: locate structural mismatches across campaign type / marketplace / portfolio / weekday / hour-of-day dimensions and campaign-size tiers
xnurta-product-diagnosis Product diagnosis: ASIN health tiering, variant comparison, keep/optimize/cut recommendations
xnurta-search-term-diagnosis Search-term diagnosis: classify search terms and surface spend distribution, negative and harvest candidates, and fragmented exact keywords using store-specific thresholds
xnurta-promo-prep Promotion preparation: check readiness, size the plan to the event budget, and prepare role-matched managed-group schedules plus confirmed budget, bid, and placement changes
xnurta-promo-monitor Promotion monitoring: compare hourly delivery with the normal pace, identify budget, efficiency, and inventory risks, and propose small confirmed adjustments
xnurta-promo-reset Promotion reset: recover human changes and pre-promotion values, then restore them all at once or stage the reset by post-promotion performance with preview and read-back

How to install (either way):

  • Agents that can act on their own (Claude Code / Codex / Cursor, etc.): point the AI at the skills/ directory and say "install the 8 required Skills"; add optional Skills as needed.
  • Chat / UI-based assistants (Claude web or desktop app, etc.): Settings → Skills → upload, one by one.

Per-skill versions are in skills/manifest.json; version history is in CHANGELOG.md.


Example prompts

  • "How did all stores under my account perform yesterday? Surface the 5 issues that need attention most."
  • "Top 10 campaigns by spend last week, with ACOS."
  • "Compare these product lines over the past 30 days and suggest optimizations from an ad-structure and targeting-type perspective."
  • "What did the AI auto-adjust bids on in the past 7 days, and why?"
  • "Who changed this campaign's budget, and when?"
  • "Create an AI managed group for these three SP campaigns. Show me the complete configuration before making the change."
  • "Create a paused SP campaign for these ASINs. Show me the complete structure before making the change."
  • "Change this managed group's target ACOS to 25%. Show the old and new values before applying it."
  • "Change this campaign's daily budget to $100. Show me the campaign, current budget, and new budget before applying it."
  • "Pause these keywords after confirming their store, campaign, and ad group."

Prompting tips: be explicit about time range, dimensions, metrics, sorting, and top N; name the store; one intent per question — split complex asks into smaller ones.


Current version boundaries

  • Writes take effect immediately: managed-group and ad-entity writes directly change live configuration. Grant write or delete access only to trusted users; verify the profile, object, and exact change, obtain explicit confirmation where required, and read back the result.
  • Write scope: the current version manages AI managed groups, creates SP/SB/SD campaigns and portfolios, and edits supported ad entities. Campaign budget, status, SP bidding strategy, placement adjustments, and AMC audience bid adjustments can be edited, including archiving through a status update. Using a separate campaign-delete operation is not supported.
  • Not supported yet: word-list settings; creating or editing reusable template definitions; modifying RBA rule configuration (reading it is supported). Existing templates can be read and used to create or edit managed groups. Managed-group scheduling is now supported for SP/SB only. Action space can be switched from RBA to AI, but still not from AI to RBA.
  • Scope: the stores you can query match your Xnurta account (main / sub-account) permissions.
  • History: roughly the most recent 15 months of performance data and logs.
  • Not real-time: data freshness follows the Xnurta platform's update cadence; performance data is daily by default, with hourly granularity available for supported AMS queries.

Plugin installation

Desktop apps

In regular Claude Desktop or Claude on the web, use a Custom Connector for Chat. A Custom Connector provides MCP Tools only; add Skills separately under Settings → Skills. On Claude Team or Enterprise, an organization Owner or Primary Owner must add the connector first. The marketplace flow below applies only to Claude Code Desktop.

Claude Code Desktop

  1. Switch to the Code tab.
  2. Select + → Plugins → Add plugin next to the prompt box to open the plugin browser.
  3. Under Marketplaces, add a repository and enter Xnurta/Xnurta-MCP.
  4. Find and install Xnurta MCP. The plugin installs the MCP server and all 14 Skills together.

Claude Code Desktop does not support the /plugin command. /plugin is for Claude Code CLI only; use the desktop plugin browser instead.

ChatGPT Desktop · Codex

  1. Select Plugins in the left sidebar.
  2. Select Add → Add a marketplace in the upper-right corner.
  3. Enter Xnurta/Xnurta-MCP and add the marketplace.
  4. In Plugins, find the marketplace you added and install Xnurta MCP.
  5. Start a new Codex task. The MCP server and all 14 Skills will be available in the new task.

ChatGPT Desktop Codex does not support /plugin or /plugins. /plugins is for Codex CLI only; use Plugins in the left sidebar of the desktop app.

Desktop UI references: Claude Code Desktop · ChatGPT / Codex Plugins

Command-line CLI

Claude Code CLI

/plugin marketplace add Xnurta/Xnurta-MCP
/plugin install xnurta-mcp@xnurta

Codex CLI

codex plugin marketplace add Xnurta/Xnurta-MCP
codex

In Codex CLI, enter /plugins, select Xnurta MCP from the xnurta marketplace, install it, and then start a new session.

The plugin installs the MCP server and all 14 Skills together. The current Plugin configuration uses XNURTA_TOKEN. To use OAuth, follow the OAuth setup in the installation guide.

Generic MCP clients

See Installation Guide · Option 3 · Manual setup for OpenClaw, Hermes, Cursor, Cline, Cherry Studio, and other clients.


Security note

OAuth and MCP Token access are both limited by your Xnurta account permissions, authorized scope, and store range. Revoke OAuth access when it is no longer needed. Keep MCP Tokens secure and use environment variables where possible. If you notice suspicious access, revoke the authorization or disable the Token immediately.


This repository is also a cross-platform plugin distribution package for Claude Code, ChatGPT Codex, and other MCP-compatible agents. It bundles the Skills and MCP Server configuration used by plugin installers.

File Purpose
.claude-plugin/marketplace.json Claude Code marketplace catalog
.claude-plugin/plugin.json Claude Code plugin descriptor
.agents/plugins/marketplace.json Codex marketplace catalog
.codex-plugin/plugin.json Codex plugin descriptor
.mcp.json Claude Code MCP server configuration using ${XNURTA_TOKEN}
docs/installation.md Detailed installation and troubleshooting guide
skills/manifest.json Machine-readable Skills catalog