MCP server for Amazon Selling Partner API (SP-API) — orders, listings, catalog, inventory, finances

stdiocommunityservice

Package Details

@codespar/mcp-amazon

Transportstdio

Environment Variables

AMAZON_LWA_CLIENT_ID(str)
Required

Login with Amazon (LWA) client_id from Seller Central > Developer Central (SP-API app).

AMAZON_LWA_CLIENT_SECRET(str)
RequiredSecret

LWA client_secret paired with AMAZON_LWA_CLIENT_ID.

AMAZON_REFRESH_TOKEN(str)
RequiredSecret

Long-lived seller-authorized refresh_token exchanged for 1-hour LWA access tokens used as x-amz-access-token.

AMAZON_MARKETPLACE_ID(str)
Required

Default marketplace id. BR: A2Q3Y263D00KWC, US: ATVPDKIKX0DER, MX: A1AM78C64UM0Y8, CA: A2EUQ1WTGCTBG2. Required by most endpoints; can be overridden per-call.

AMAZON_REGION(str)

SP-API region: 'na' (default — Americas, incl. BR/US/MX/CA), 'eu' (Europe + India + MENA), 'fe' (Far East — JP/AU/SG).

AMAZON_SELLER_ID(str)

Default sellerId (merchant token) used by Listings endpoints. Can be overridden per-call.