Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP Shopee
Overview
Description from the maker (original English)
MCP server for Shopee — LatAm marketplace Partner API v2 (orders, products, shipping, returns)
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Online shops & payments
- You need to fill in: SHOPEE_PARTNER_ID, SHOPEE_PARTNER_KEY, SHOPEE_ACCESS_TOKEN, SHOPEE_SHOP_ID
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
SHOPEE_PARTNER_ID,SHOPEE_PARTNER_KEY,SHOPEE_ACCESS_TOKEN,SHOPEE_SHOP_ID,SHOPEE_ENV
Values marked secret are keys to your account. Never share them or paste them into a chat.
You need
- npmNode.js installed (for the npx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"shopee": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-shopee"
],
"env": {
"SHOPEE_PARTNER_ID": "your-value",
"SHOPEE_PARTNER_KEY": "your-value",
"SHOPEE_ACCESS_TOKEN": "your-value",
"SHOPEE_SHOP_ID": "your-value",
"SHOPEE_ENV": "your-value"
}
}
}
}Run this in your terminal
claude mcp add shopee --env SHOPEE_PARTNER_ID=your-value --env SHOPEE_PARTNER_KEY=your-value --env SHOPEE_ACCESS_TOKEN=your-value --env SHOPEE_SHOP_ID=your-value --env SHOPEE_ENV=your-value -- npx -y @codespar/mcp-shopeeFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"shopee": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-shopee"
],
"env": {
"SHOPEE_PARTNER_ID": "your-value",
"SHOPEE_PARTNER_KEY": "your-value",
"SHOPEE_ACCESS_TOKEN": "your-value",
"SHOPEE_SHOP_ID": "your-value",
"SHOPEE_ENV": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"shopee": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-shopee"
],
"env": {
"SHOPEE_PARTNER_ID": "your-value",
"SHOPEE_PARTNER_KEY": "your-value",
"SHOPEE_ACCESS_TOKEN": "your-value",
"SHOPEE_SHOP_ID": "your-value",
"SHOPEE_ENV": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
- Shopee Open Platform partner_id (integer) assigned when the app is registered.
- Shopee partner_key used as the secret for HMAC-SHA256 request signing.
- Merchant access_token obtained via the shop authorization OAuth flow (expires every 4 hours; refresh via refresh_token).
- Shop identifier (integer) returned after merchant authorization.
SHOPEE_ENVenvEnvironment: 'sandbox' uses partner.test-stable.shopeemobile.com, 'production' (default) uses partner.shopeemobile.com.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account codespar, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 1747 servers in this category
- Published to the registry more recently than 13% of the other 1747 servers in this category
- Basic checks equal to or better than 100% of the other 1747 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is MCP Shopee safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: SHOPEE_PARTNER_ID, SHOPEE_PARTNER_KEY, SHOPEE_ACCESS_TOKEN, SHOPEE_SHOP_ID
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (0.2.0-alpha.3) reached the registry 5 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
@codespar/mcp-shopee
MCP server for Shopee — the Shopee Open Platform Partner API v2.
Shopee is one of the two marketplaces where LatAm merchants concentrate the bulk of their online GMV (dominant in Brazil, rapidly expanding across the region). Paired with @codespar/mcp-mercadolibre, this package gives agents full reach across LatAm's major ecommerce marketplaces — each has its own seller ecosystem, so merchants typically operate on both.
Tools (22)
| Tool | Purpose |
|---|---|
get_shop_info | Get basic information about the authorized Shopee shop (shop_name, region, status, auth expiry). |
list_orders | List orders within a time window, optionally filtered by order_status. |
get_order_detail | Get full detail for one or more orders by order_sn (comma-separated, up to 50). |
ship_order | Arrange shipment for an order — either request pickup, drop off, or pass a tracking number depending on the... |
cancel_order | Cancel an order that has not yet shipped. |
list_products | List items (products) in the shop with optional status filter. |
get_product_detail | Get detailed base info for up to 50 items by item_id. |
update_product_stock | Update stock levels for an item (or its models/variants). |
update_product_price | Update prices for an item (or its models/variants). |
get_shipment_list | List orders currently in shipment (status SHIPPED or in-transit). |
get_return_list | List return/refund requests on the shop, optionally filtered by status and time window. |
confirm_return | Confirm (accept) a buyer-initiated return request by return_sn. |
add_item | Create a new product (item) in the shop. |
update_item | Update an existing product. |
delete_item | Delete an item (product) from the shop by item_id. |
get_shipping_parameter | Fetch the required shipping parameters for an order before calling ship_order. |
get_tracking_number | Get the tracking number (and courier info when available) for a shipped order. |
download_shipping_document | Request the shipping label / air waybill PDF for one or more orders. |
accept_return_offer | Accept the buyer's return offer (proposed solution) for a return_sn, ending negotiation in the buyer's favor. |
add_discount | Create a new shop-level discount (promotion) with a time window. |
add_bundle_deal | Create a bundle-deal promotion (e.g. |
send_chat_message | Send a text or sticker message to a buyer in Shopee's seller chat. |
Install
npm install @codespar/mcp-shopee@alpha
Environment
SHOPEE_PARTNER_ID="2001234" # partner_id (integer) from Shopee Open Platform
SHOPEE_PARTNER_KEY="..." # partner_key (secret) for HMAC signing SHOPEE_ACCESS_TOKEN="..." # merchant access_token (4h lifetime; refresh via refresh_token) SHOPEE_SHOP_ID="123456789" # shop_id (integer) from authorization flow SHOPEE_ENV="production" # or "sandbox"
Authentication
Shopee uses partner-signed requests. For shop-level endpoints the signature is:
base_string = partner_id + api_path + timestamp + access_token + shop_id
sign = hex(HMAC_SHA256(partner_key, base_string))
partner_id, timestamp, access_token, shop_id, and sign are attached as URL query parameters on every request. The signing helper (src/index.ts) handles this on each call.
The access_token is obtained via the merchant authorization OAuth flow on Shopee Open Platform; it expires every 4 hours. Refresh it using the refresh_token (30-day lifetime) — that exchange lives outside this MCP's scope, typically in a separate token-management service.
Run
# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-shopee
HTTP (server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-shopee
Base URLs
- Production:
https://partner.shopeemobile.com/api/v2 - Sandbox:
https://partner.test-stable.shopeemobile.com/api/v2
Select with SHOPEE_ENV.
Status
0.1.0-alpha.1 — Shopee's Partner API documentation portal requires developer registration, so some endpoint payloads and field-level contracts (especially around ship_order pickup/dropoff objects and logistics channel specifics) should be validated against the live docs before production use. The signing recipe and base-URL selection are implemented to spec.
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT