Mcp Vtex

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.2更新於 Oct 24, 2026

MCP server for VTEX — e-commerce, orders, products, inventory, shipping

已驗證STDIO僅桌面效率與工作流商業與電商

概覽

AI 產生的概覽

讓助理讀取與修改 VTEX 電商資料,涵蓋商品目錄、訂單、價格、庫存、運費、促銷與禮品卡。

可以做什麼
透過約 33 個工具把助理連接到 VTEX 商店帳號,涵蓋商品目錄(商品、SKU、分類)、訂單(列表、明細、狀態、開立發票、物流追蹤、取消)、價格與價格表、庫存與倉庫、運費試算、促銷與優惠券、訂閱、Master Data 文件以及禮品卡。讀取類工具可查詢商品、訂單、庫存與運費;寫入類工具可建立或更新商品、SKU、分類、價格、庫存、倉庫、促銷、優惠券、訂閱與禮品卡,並可為訂單開立發票、更新追蹤資訊或取消訂單。
適用情境
適合需要操作 VTEX 商店前台或後台的場合:查詢商品目錄與訂單資料、查看庫存與運費估算,或透過對話完成日常的商品、價格、庫存與出貨作業。
執行需求
透過 npx 從 npm 套件 @codespar/mcp-vtex 在本機執行,需要 Node.js 與網路連線。需要 VTEX 帳號名稱以及 app key 與 app token,透過環境變數 VTEX_ACCOUNT_NAME、VTEX_APP_KEY、VTEX_APP_TOKEN 提供;VTEX_ENVIRONMENT 為選用。憑證需在 VTEX License Manager 產生。
安裝前請注意
app token(VTEX_APP_TOKEN)與 app key 是存取商店帳號 API 的機密,請勿寫入共用設定檔。許多工具會寫入或變更線上電商資料,包括建立與更新商品、價格、庫存、促銷與優惠券,以及取消訂單或為訂單開立發票,可能影響客戶與營收。請授予最小必要的 VTEX 權限。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Vtex,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@codespar/mcp-vtex

MCP server for VTEX — e-commerce platform with catalog, orders, inventory, and promotions

[npm] [License: MIT]

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "vtex": {      "command": "npx",      "args": ["-y", "@codespar/mcp-vtex"],      "env": {        "VTEX_ACCOUNT_NAME": "your-account",        "VTEX_APP_KEY": "your-app-key",        "VTEX_APP_TOKEN": "your-app-token"      }    }  }}

Claude Code

bash
claude mcp add vtex -- npx @codespar/mcp-vtex

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "vtex": {      "command": "npx",      "args": ["-y", "@codespar/mcp-vtex"],      "env": {        "VTEX_ACCOUNT_NAME": "your-account",        "VTEX_APP_KEY": "your-app-key",        "VTEX_APP_TOKEN": "your-app-token"      }    }  }}

Tools (33)

ToolPurpose
list_productsList products from VTEX catalog
get_productGet product details by ID
create_productCreate a new product in the VTEX catalog
update_productUpdate an existing product in the VTEX catalog
list_skusList SKUs for a product
create_skuCreate a new SKU for a product
list_categoriesList all categories with pagination
create_categoryCreate a new category in the catalog
get_catalogGet the catalog category tree
list_ordersList orders with optional filters
get_orderGet full OMS order details by ID
update_order_statusTransition an order to the handling state (start fulfillment)
invoice_orderIssue a fiscal invoice (nota fiscal) for an order
track_order_invoiceUpdate tracking info for a previously issued invoice
cancel_orderCancel an order
list_customer_ordersList order history for a customer (filtered by email)
get_sku_priceGet pricing details for an SKU (base price, list price, markup, cost, fixed prices per trade policy)
update_sku_priceUpdate base/list/cost price for an SKU
list_price_tablesList all configured price tables (trade policies)
get_inventoryGet inventory/stock for a SKU across warehouses
update_inventoryUpdate inventory quantity for a SKU at a specific warehouse
get_shipping_ratesSimulate shipping rates for items to a postal code
list_warehousesList all warehouses configured in the account
create_warehouseRegister a new warehouse (fulfillment center)
create_promotionCreate a promotion/discount in VTEX
list_couponsList all promotion coupons
create_couponCreate a promotion coupon code
list_subscriptionsList customer subscriptions
create_subscriptionCreate a recurring subscription for a customer (VTEX Subscriptions)
get_masterdata_documentGet a document (customer profile, custom entity) from VTEX Master Data v2
search_masterdataSearch documents in a Master Data entity
create_giftcardCreate a gift card for a customer (GiftCard Hub)
get_giftcardGet gift card details by ID

Authentication

VTEX uses app key and app token headers for API authentication.

Sandbox / Testing

VTEX provides sandbox access via partner accounts. Contact VTEX for developer access.

Get your credentials

  1. Go to VTEX Developer Portal
  2. Access your VTEX admin or create a partner account
  3. Generate an app key and app token from License Manager
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
VTEX_ACCOUNT_NAMEYesVTEX account name
VTEX_APP_KEYYesAPI app key
VTEX_APP_TOKENYesAPI app token
VTEX_ENVIRONMENTNoEnvironment host slug (default vtexcommercestable)

Roadmap

v0.3 (planned)

  • Checkout / cart session management
  • Marketplace seller and offer management
  • Carrier (shipping policy) registration

Want to contribute? Open a PR or request a tool.

Links

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

來源:packages/ecommerce/vtex/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分