LATAM marketplace partner API โ huge in BR, growing elsewhere. Orders, products, returns. Pairs with Mercado Libre for full marketplace reach. Alpha on npm โ signing recipe via SDK refs.
$ npm install @codespar/mcp-shopee@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"shopee": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-shopee@alpha"
],
"env": {
"SHOPEE_PARTNER_ID": "<your_shopee_partner_id>",
"SHOPEE_PARTNER_KEY": "<your_shopee_partner_key>",
"SHOPEE_ACCESS_TOKEN": "<your_shopee_access_token>",
"SHOPEE_SHOP_ID": "<your_shopee_shop_id>"
}
}
}
}After restart, your agent can call any of the 22 tools below โ try get_shop_info first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
SHOPEE_PARTNER_IDShopee Open Platform partner_id (integer) assigned when the app is registered.
SHOPEE_PARTNER_KEYShopee partner_key used as the secret for HMAC-SHA256 request signing.
SHOPEE_ACCESS_TOKENMerchant access_token obtained via the shop authorization OAuth flow (expires every 4 hours; refresh via refresh_token).
SHOPEE_SHOP_IDShop identifier (integer) returned after merchant authorization.
SHOPEE_ENVEnvironment: 'sandbox' uses partner.test-stable.shopeemobile.com, 'production' (default) uses partner.shopeemobile.com.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
get_shop_infolist_ordersget_order_detailship_ordercancel_orderlist_productsget_product_detailupdate_product_stockMCP is a protocol โ any framework that speaks it can mount this server.