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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。