Amazon Selling Partner API (SP-API). Biggest global marketplace platform โ covers US/EU/global + Amazon BR for cross-border LatAm sellers. Orders, listings, catalog, inventory, reports, finances, shipping, notifications. Alpha on npm โ LWA auth verified; integration tests pending.
$ npm install @codespar/mcp-amazon@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"amazon": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-amazon@alpha"
],
"env": {
"AMAZON_LWA_CLIENT_ID": "<your_amazon_lwa_client_id>",
"AMAZON_LWA_CLIENT_SECRET": "<your_amazon_lwa_client_secret>",
"AMAZON_REFRESH_TOKEN": "<your_amazon_refresh_token>",
"AMAZON_MARKETPLACE_ID": "<your_amazon_marketplace_id>"
}
}
}
}After restart, your agent can call any of the 24 tools below โ try list_orders first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
AMAZON_LWA_CLIENT_IDLogin with Amazon (LWA) client_id from Seller Central > Developer Central (SP-API app).
AMAZON_LWA_CLIENT_SECRETLWA client_secret paired with AMAZON_LWA_CLIENT_ID.
AMAZON_REFRESH_TOKENLong-lived seller-authorized refresh_token exchanged for 1-hour LWA access tokens used as x-amz-access-token.
AMAZON_MARKETPLACE_IDDefault marketplace id. BR: A2Q3Y263D00KWC, US: ATVPDKIKX0DER, MX: A1AM78C64UM0Y8, CA: A2EUQ1WTGCTBG2. Required by most endpoints; can be overridden per-call.
AMAZON_REGIONSP-API region: 'na' (default โ Americas, incl. BR/US/MX/CA), 'eu' (Europe + India + MENA), 'fe' (Far East โ JP/AU/SG).
AMAZON_SELLER_IDDefault sellerId (merchant token) used by Listings endpoints. Can be overridden per-call.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
list_ordersget_orderget_order_itemsget_listings_itemput_listings_itemdelete_listings_itemsearch_catalog_itemsget_inventory_summaryMCP is a protocol โ any framework that speaks it can mount this server.