🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@codespar/mcp-vtex

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-vtex

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

npmnpm
Version
0.2.0
Version published
Weekly downloads
31
-40.38%
Maintainers
1
Weekly downloads
 
Created
Source

@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:

{
  "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

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

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.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

Catalog

ToolDescription
list_productsList products from VTEX catalog
get_productGet product details by ID
create_productCreate a new product
update_productUpdate product details
list_skusList SKUs for a product
create_skuCreate a new SKU
list_categoriesList categories with pagination
create_categoryCreate a new category
get_catalogGet the catalog category tree

Orders (OMS)

ToolDescription
list_ordersList orders with optional filters
get_orderGet full OMS order details by ID
update_order_statusStart handling (fulfillment) on an order
invoice_orderIssue a fiscal invoice (nota fiscal) for an order
track_order_invoiceUpdate tracking info on an issued invoice
cancel_orderCancel an order
list_customer_ordersList order history for a customer email

Pricing

ToolDescription
get_sku_priceGet base / list / cost price and fixed prices for an SKU
update_sku_priceUpdate pricing for an SKU
list_price_tablesList configured price tables (trade policies)

Inventory & Shipping

ToolDescription
get_inventoryGet inventory/stock for a SKU across warehouses
update_inventoryUpdate inventory quantity at a warehouse
get_shipping_ratesSimulate shipping rates for items to a postal code

Logistics

ToolDescription
list_warehousesList all warehouses
create_warehouseRegister a new warehouse (fulfillment center)

Promotions & Coupons

ToolDescription
create_promotionCreate a promotion/discount
list_couponsList promotion coupons
create_couponCreate a coupon code

Subscriptions

ToolDescription
list_subscriptionsList customer subscriptions
create_subscriptionCreate a recurring subscription

Master Data (customer profiles & custom entities)

ToolDescription
get_masterdata_documentGet a document from a data entity
search_masterdataSearch documents with filters

Giftcards

ToolDescription
create_giftcardIssue a gift card for a customer
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

  • Go to VTEX Developer Portal
  • Access your VTEX admin or create a partner account
  • Generate an app key and app token from License Manager
  • 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.

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

Keywords

mcp

FAQs

Package last updated on 24 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts