
Amazon MCP Server
by codespario.github.codespar/mcp-amazonv0.2.0-alpha.3
MCP server for Amazon Selling Partner API (SP-API) — orders, listings, catalog, inventory, finances
context tax
queued
security
queued
cold start
queued
freshness
Active12d ago
Install Amazon MCP server
Install in Claude Code
claude mcp add amazon-codespar -e AMAZON_LWA_CLIENT_ID='<amazon-lwa-client-id>' -e AMAZON_LWA_CLIENT_SECRET='<amazon-lwa-client-secret>' -e AMAZON_REFRESH_TOKEN='<amazon-refresh-token>' -e AMAZON_MARKETPLACE_ID='<amazon-marketplace-id>' -- npx -y @codespar/mcp-amazonInstall in Cursor
{
"mcpServers": {
"amazon-codespar": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-amazon"
],
"env": {
"AMAZON_LWA_CLIENT_ID": "<amazon-lwa-client-id>",
"AMAZON_LWA_CLIENT_SECRET": "<amazon-lwa-client-secret>",
"AMAZON_REFRESH_TOKEN": "<amazon-refresh-token>",
"AMAZON_MARKETPLACE_ID": "<amazon-marketplace-id>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"amazon-codespar": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-amazon"
],
"env": {
"AMAZON_LWA_CLIENT_ID": "<amazon-lwa-client-id>",
"AMAZON_LWA_CLIENT_SECRET": "<amazon-lwa-client-secret>",
"AMAZON_REFRESH_TOKEN": "<amazon-refresh-token>",
"AMAZON_MARKETPLACE_ID": "<amazon-marketplace-id>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"amazon-codespar": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-amazon"
],
"env": {
"AMAZON_LWA_CLIENT_ID": "<amazon-lwa-client-id>",
"AMAZON_LWA_CLIENT_SECRET": "<amazon-lwa-client-secret>",
"AMAZON_REFRESH_TOKEN": "<amazon-refresh-token>",
"AMAZON_MARKETPLACE_ID": "<amazon-marketplace-id>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"amazon-codespar": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-amazon"
],
"env": {
"AMAZON_LWA_CLIENT_ID": "<amazon-lwa-client-id>",
"AMAZON_LWA_CLIENT_SECRET": "<amazon-lwa-client-secret>",
"AMAZON_REFRESH_TOKEN": "<amazon-refresh-token>",
"AMAZON_MARKETPLACE_ID": "<amazon-marketplace-id>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| AMAZON_LWA_CLIENT_ID | yes | — | Login with Amazon (LWA) client_id from Seller Central > Developer Central (SP-API app). |
| AMAZON_LWA_CLIENT_SECRET | yes | yes | LWA client_secret paired with AMAZON_LWA_CLIENT_ID. |
| AMAZON_REFRESH_TOKEN | yes | yes | Long-lived seller-authorized refresh_token exchanged for 1-hour LWA access tokens used as x-amz-access-token. |
| AMAZON_MARKETPLACE_ID | yes | — | Default marketplace id. BR: A2Q3Y263D00KWC, US: ATVPDKIKX0DER, MX: A1AM78C64UM0Y8, CA: A2EUQ1WTGCTBG2. Required by most endpoints; can be overridden per-call. |
| AMAZON_REGION | — | — | SP-API region: 'na' (default — Americas, incl. BR/US/MX/CA), 'eu' (Europe + India + MENA), 'fe' (Far East — JP/AU/SG). |
| AMAZON_SELLER_ID | — | — | Default sellerId (merchant token) used by Listings endpoints. Can be overridden per-call. |
Freshness
Active — last maintenance signal 12d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-27 · 12d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-06-22 · 4mo ago · official registry · v0.2.0-alpha.3
FAQ
›How do I install the Amazon MCP server in Claude Code?
Run: claude mcp add amazon-codespar -e AMAZON_LWA_CLIENT_ID='<amazon-lwa-client-id>' -e AMAZON_LWA_CLIENT_SECRET='<amazon-lwa-client-secret>' -e AMAZON_REFRESH_TOKEN='<amazon-refresh-token>' -e AMAZON_MARKETPLACE_ID='<amazon-marketplace-id>' -- npx -y @codespar/mcp-amazon. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Amazon require an API key?
Yes. It expects AMAZON_LWA_CLIENT_ID, AMAZON_LWA_CLIENT_SECRET, AMAZON_REFRESH_TOKEN, AMAZON_MARKETPLACE_ID, of which 2 are secrets.
›Can I use Amazon as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Amazon in the official MCP registry?
Yes, as io.github.codespar/mcp-amazon.
Alternatives to Amazon
Other e-commerce MCP servers.