Skip to main content
VT

VTEX

v0.2.1OAuth2

Enterprise e-commerce platform: orders, catalog, inventory, pricing, and fulfillment. Your agent manages the full storefront lifecycle.

33 tools1 env varsπŸ‡§πŸ‡· Brazilstable on npm

What your agent can do

VTEX gives your agent 33 tools it calls directly β€” pick the ones it needs, in Claude, Cursor, or any MCP client.

  • list_products β€” List products from VTEX catalog
  • get_product β€” Get product details by ID
  • create_product β€” Create a new product in the VTEX catalog
Example call
// Your agent calls a tool directly β€” no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("list_products", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-vtex

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "vtex": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-vtex"
      ],
      "env": {
        "VTEX_APP_TOKEN": "<your_vtex_app_token>"
      }
    }
  }
}

After restart, your agent can call any of the 33 tools below β€” try list_products first.

Environment variables Β· 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

VTEX_APP_TOKEN
requiredsecret

API key for vtex

Available tools Β· 33

Each tool is independent β€” your agent loads only what it needs to reduce context and response time.

READlist_products
List products from VTEX catalog
READget_product
Get product details by ID
WRITEcreate_product
Create a new product in the VTEX catalog
WRITEupdate_product
Update an existing product in the VTEX catalog
READlist_skus
List SKUs for a product
WRITEcreate_sku
Create a new SKU for a product
READlist_categories
List all categories with pagination
WRITEcreate_category
Create a new category in the catalog

Compatible frameworks

MCP is a protocol β€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

Run `npx -y @codespar/mcp-vtex` and add the config block above to your MCP client β€” Claude, Cursor, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? CodeSpar's managed tier runs it for you with auth handled.
VTEX β€” MCP server Β· 33 tools | CodeSpar