Amazon Seller MCP Server
Amazon Seller MCP Server
MCP (Model Context Protocol) server exposing Amazon Selling Partner API tools for sellers. Built from the Swagger models in ../models/.
Tools (47)
Full coverage of every operation in the underlying API models per group.
Group | Tools |
Orders (Orders API v0 — all 10 ops) |
|
FBA / Inventory (FBA Inventory + Inbound Eligibility) |
|
Listings (Listings Items 2021-08-01 — all 5 ops + Restrictions + Product Type Definitions) |
|
Catalog (Catalog Items 2022-04-01) |
|
Pricing (Product Pricing v0 — all 6 ops + 2022-05-01 + Product Fees — all 3 ops) |
|
Analytics (Sales + Finances v0 — all 4 ops) |
|
Reports (Reports 2021-06-30 — all 9 ops) |
|
† Buyer PII — requires the restricted (PII) role on your SP-API app; the server creates the Restricted Data Token automatically via the Tokens API.
‡ Sandbox only — requires SPAPI_SANDBOX=true; used to seed FBA sandbox test data.
Setup
cd mcp-server
npm install
npm run buildCredentials
Self-authorize an SP-API app in Seller Central (Apps & Services → Develop Apps) to obtain LWA credentials and a refresh token. SP-API no longer requires AWS SigV4 — only the LWA token.
Variable | Required | Description |
| yes | LWA client ID of your SP-API app |
| yes | LWA client secret |
| yes | Refresh token from the seller authorization |
| no |
|
| no | Country code, default |
| for listings | Merchant token (Settings → Account Info → Merchant Token) |
| no |
|
Claude Desktop / Claude Code config
{
"mcpServers": {
"amazon-seller": {
"command": "node",
"args": ["/path/to/selling-partner-api-models/mcp-server/dist/index.js"],
"env": {
"SPAPI_LWA_CLIENT_ID": "amzn1.application-oa2-client...",
"SPAPI_LWA_CLIENT_SECRET": "...",
"SPAPI_REFRESH_TOKEN": "Atzr|...",
"SPAPI_REGION": "na",
"SPAPI_DEFAULT_MARKETPLACE": "US",
"SPAPI_SELLER_ID": "A1EXAMPLE"
}
}
}
}Or with Claude Code: claude mcp add amazon-seller -e SPAPI_LWA_CLIENT_ID=... -e SPAPI_LWA_CLIENT_SECRET=... -e SPAPI_REFRESH_TOKEN=... -- node /path/to/mcp-server/dist/index.js
Notes
Buyer PII tools (
get_order_buyer_info,get_order_address,get_order_items_buyer_info) create a Restricted Data Token automatically (cached ~1h). A 403 means your SP-API app lacks the restricted role approval from Amazon.Responses are truncated at 25,000 characters with pagination hints; all tools support
nextToken/pageTokenwhere the API does.429 throttling is retried automatically with exponential backoff (up to 3 retries).
update_listingsupportsvalidateOnly: true(VALIDATION_PREVIEW) to dry-run a patch before applying.