amazon-mcp
MCP server for Amazon Selling Partner API and Advertising API, enabling access to orders, inventory, pricing, ads, and reports via natural language.
README
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.
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.
Prerequisites
Technical
- Python 3.10+
- Git
Amazon (for live mode only — dry-run needs none of this)
- An active Amazon Professional Seller account
- SP-API access approved via Seller Central → Apps & Services → Develop Apps. Note: approval can take days to weeks.
- Direct link: https://sellercentral.amazon.com/sellerapp/sell-on-amazon
Dry-run mode works immediately with no Amazon credentials. Start there first.
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.
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.
Vision & Roadmap
<p align="center"> <img src="docs/coaxon_command_center_demo.png" alt="CoAxon Command Center Demo" width="800"/> </p>
Amazon MCP is the first open-source node in the CoAxon E-commerce OS.
The CoAxon platform already runs cross-platform orchestration across Amazon, Mercado Libre, and TikTok Shop — enabling:
- Global Inventory Pooling — unified view across FBA, Meli Full, and TikTok warehouses
- Cross-Platform Price Parity — prevents TikTok flash sales from triggering Amazon Buy Box loss
- Unified Daily Briefing — one Slack report, three platforms, one decision surface
amazon-mcp handles the Amazon layer. The Command Center handles the rest.
→ See the full CoAxon architecture
→ Get Pro access: info@coaxon.me
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.