mcp amazon for VS Code
io.github.codespar/mcp-amazon
MCP server for Amazon Selling Partner API (SP-API) — orders, listings, catalog, inventory, finances
client:VS Code
transport:stdio
runtime:npm
Install mcp amazon in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "amazon-lwa-client-id",
"description": "AMAZON_LWA_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "amazon-lwa-client-secret",
"description": "AMAZON_LWA_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "amazon-refresh-token",
"description": "AMAZON_REFRESH_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "amazon-marketplace-id",
"description": "AMAZON_MARKETPLACE_ID",
"password": true
},
{
"type": "promptString",
"id": "amazon-region",
"description": "AMAZON_REGION",
"password": true
},
{
"type": "promptString",
"id": "amazon-seller-id",
"description": "AMAZON_SELLER_ID",
"password": true
}
],
"servers": {
"mcp-amazon": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-amazon"
],
"env": {
"AMAZON_LWA_CLIENT_ID": "${input:amazon-lwa-client-id}",
"AMAZON_LWA_CLIENT_SECRET": "${input:amazon-lwa-client-secret}",
"AMAZON_REFRESH_TOKEN": "${input:amazon-refresh-token}",
"AMAZON_MARKETPLACE_ID": "${input:amazon-marketplace-id}",
"AMAZON_REGION": "${input:amazon-region}",
"AMAZON_SELLER_ID": "${input:amazon-seller-id}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs