Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP Shopee
概要
作者による説明(英語の原文)
MCP server for Shopee — LatAm marketplace Partner API v2 (orders, products, shipping, returns)
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況i未計測★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: ネットショップ・決済
- 入力が必要なもの:SHOPEE_PARTNER_ID, SHOPEE_PARTNER_KEY, SHOPEE_ACCESS_TOKEN, SHOPEE_SHOP_ID
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
SHOPEE_PARTNER_ID,SHOPEE_PARTNER_KEY,SHOPEE_ACCESS_TOKEN,SHOPEE_SHOP_ID,SHOPEE_ENV
「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
- npmNode.jsのインストール(npxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、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"
}
}
}
}ターミナルでこれを実行します
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-shopee動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- 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.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント codespar で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
ネットショップ・決済のほかのサーバーとの比較i
- このカテゴリのほかの1745件のうち0%よりスターが多い
- このカテゴリのほかの1745件のうち13%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの1745件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
MCP Shopeeは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:SHOPEE_PARTNER_ID, SHOPEE_PARTNER_KEY, SHOPEE_ACCESS_TOKEN, SHOPEE_SHOP_ID
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.2.0-alpha.3)がレジストリに届いたのは5 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
@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