Skip to main content
Glama

amazon-mcp

MCP server for Amazon Selling Partner API (SP-API) and Advertising API โ€” exposes orders, inventory, pricing, ads, reports, and related read paths to Claude, Cursor, and other MCP clients.

Quick Start

git clone https://github.com/coaxon/amazon-mcp.git
cd amazon-mcp
cp .env.example .env
python run_mcp.sh

๐Ÿ”’ 0 violations across 6 projects โ€” CodeQL audited. View Report

This connects your own Seller Central and Ads API data โ€” an operations tool for sellers who already run a store, not a market or product-research tool. If you want category research, keyword mining, or competitor intel on products you do not yet sell, look elsewhere.

Audience: developers who already use MCP. You are expected to read tool docstrings, configure LWA credentials yourself, and run the server locally or on your own host.


Related MCP server: google-ads-mcp

30-second start

git clone https://github.com/coaxon/amazon-mcp.git
cd amazon-mcp
pip install -r requirements.txt
cp .env.example .env            # defaults: dry-run, no credentials
python -m amazon_mcp            # stdio โ†’ Claude Desktop / Cursor

Planned (not on PyPI yet): pip install amazon-mcp ยท uvx amazon-mcp

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "amazon-sp": {
      "command": "python3",
      "args": ["-m", "amazon_mcp"],
      "cwd": "/path/to/amazon-mcp",
      "env": {
        "AMAZON_MCP_DRY_RUN": "1",
        "AMAZON_MCP_DATA_DIR": "/path/to/amazon-mcp/data"
      }
    }
  }
}

HTTP transport (Cursor / remote client). Set AMAZON_MCP_API_KEY in server .env first.

AMAZON_MCP_TRANSPORT=streamable-http AMAZON_MCP_HOST=127.0.0.1 AMAZON_MCP_PORT=8780 python -m amazon_mcp
{
  "mcpServers": {
    "amazon-sp": {
      "url": "http://127.0.0.1:8780/mcp",
      "headers": {
        "Authorization": "Bearer ${AMAZON_MCP_API_KEY}"
      }
    }
  }
}

See claude_desktop_config.example.json.


Dry-run (no credentials)

Default AMAZON_MCP_DRY_RUN=1 serves bundled fixtures โ€” no LWA app, no Seller Central auth. Defaulted to DRY_RUN=1 to keep your seller account safe while testing the logic.

cp .env.example .env
python -m amazon_mcp

In your MCP client, call:

amazon_health()
amazon_inventory(action="list_asins")
amazon_catalog(action="lookup", asin="B0POC00001")
amazon_orders(action="revenue_summary")
amazon_alerts(action="alert_config")

Fixture ASINs include B0POC00001, B0FIXTURE01, etc. Responses include "dry_run": true in metadata.


Live SP-API

Set in .env:

Variable

Source

AMAZON_LWA_CLIENT_ID

Developer Console โ†’ your SP-API app โ†’ LWA credentials

AMAZON_LWA_CLIENT_SECRET

same

AMAZON_LWA_REFRESH_TOKEN

Seller Central โ†’ authorize app โ†’ refresh token

AMAZON_SELLER_ID

optional but recommended (Merchant Token)

AMAZON_MCP_DRY_RUN

set to 0

Step-by-step credential setup: docs/OPERATOR_QUICKSTART.md (ยง SP-API ๅฎขๆˆทๅ‡ญ่ฏ็”ณ่ฏทๆŒ‡ๅผ•).


Core tools (open source)

Domain tools follow amazon_<domain>(action="..."). Core includes:

Domain

Actions (summary)

system

health, auth_token, metrics, marketplaces

account

seller feedback, SP-API notification subscriptions

catalog

lookup, bulk_lookup, search, listing_quality, competitor_insights

pricing

product_pricing, competitive_offers, fee_estimate, profit_analysis

orders

revenue_summary, list, order_details, sales_by_asin

inventory

levels, list_asins, health, stranded, suppressed

listings

read/update listing fields (preview gate on writes)

report

create, status, download, brand_analytics

ads

profiles, campaigns, keyword/search-term performance

finance

financial_summary, COGS import/read

fulfillment

FBA inbound plan create/read, operation status

analytics

sales & traffic, Data Kiosk queries

alerts

read only: pending_alerts, alert_config

Also in core: run_dag_plan / resume_dag_plan โ€” three-phase SP-API executor (amazon_mcp/dag/); no Pro dependency.


Core vs Pro

Pro is a separate optional package (amazon-mcp-pro). Core detects it via importlib.util.find_spec("amazon_mcp_pro"). No license keys.

Without Pro, these return {"error": "pro_required", ...} (see Getting Pro for how to enable Pro today):

Category

Gated

Entire domains

insights, notify, billing, features, admin, meli, tiktok, cross_platform, rto_geo, command_center, benchmark, inventory_pool, sync_schedule

alerts writes

configure_inventory, add_price_watch, dismiss, manual_check

inventory advanced

reorder_calculator, restock_recommendations, ipi_score, aging_inventory, fnsku_reorder

fulfillment

reimbursement_summary

Scenarios

run_scenario(...), amazon_daily() โ€” e.g. daily_briefing, profit_protection

Pro adds: multi-tenant gateway, AlertEngine polling, Slack/Stripe integrations, scenario orchestration, cross-platform connectors. There is no self-serve install path yet โ€” see Getting Pro below.

Getting Pro

Pro is not yet published as a standalone package. There is no PyPI release (public or private), so pip install amazon-mcp-pro will fail. Current options:

  • Private deployment โ€” we set up and host the full stack (multi-tenant gateway, AlertEngine, Slack/Stripe integrations, scenario orchestration) on your infrastructure or ours.

  • Questions / business inquiries โ€” open a GitHub Issue or email info@coaxon.me.


Environment reference

Full template: .env.example.

Variable

Notes

AMAZON_MCP_DRY_RUN

1 (default) = fixtures; 0 = live API

AMAZON_MCP_DATA_DIR

SQLite / tenant data (required when installed via pip into site-packages)

AMAZON_MCP_TRANSPORT

stdio | streamable-http | sse

AMAZON_MCP_API_KEY

Bearer auth for HTTP /mcp endpoint


Deploy

Generic VPS install:

bash scripts/install.sh --install-dir /opt/amazon-mcp --systemd
bash scripts/verify_install.sh

Details: docs/DEPLOY_HANDBOOK.md, docs/RUNBOOK.md.


Development

AMAZON_MCP_DRY_RUN=1 python -m amazon_mcp
AMAZON_MCP_FORCE_CORE=1 python -m amazon_mcp   # simulate core-only in monorepo

Tests are being updated for the core/pro split; not required for trying dry-run locally.


License

MIT


Beyond the API: CoAxon Finance MCP (Private Beta)

Tired of manually reconciling Amazon settlements with bloated ERPs like QuickBooks or NetSuite?

While amazon-mcp handles your operational read/writes, the CoAxon Finance MCP is our closed-source, enterprise-grade financial nervous system designed specifically for multi-platform sellers and early-stage startups.

We replaced fragile spreadsheets and complex accounting software with a lightweight, AI-native financial ledger:

  • Automated Ingestion: Seamlessly unifies Amazon disbursements, Stripe webhook payouts, and manual CSV uploads into a single standard pipeline.

  • Immutable Ledger Security: Built with strict database-level Trigger Locks and tamper-proof audit trails. No silent overwrites, ever.

  • Real-Time Reporting: Instantly generate Profit & Loss (P&L), Balance Sheets, and Cash Flow statements without the end-of-month scramble.

  • Zero Redundancy: Smart resume protocols ensure that no transaction is ever verified or recorded twice, keeping your ledger perfectly balanced.

Because strict financial compliance and multi-tenant isolation require absolute precision, the core Finance MCP is maintained as a closed-source managed service.

Looking to fully automate your operations-to-finance pipeline? We are currently onboarding a limited number of teams for our Private Beta. Drop us a line at info@coaxon.me to discuss your current tech stack and request early access.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI-powered advertising applications by providing MCP-compliant tools to interact with Amazon Ads API for campaign management, reporting, and optimization.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with Google Ads API through MCP, allowing search and listing of accessible customers.
    Apache 2.0