How to connect any VTEX MCP server to the most popular AI clients.
All examples below use @vtex-mcp/catalog-api as a reference — replace with whichever server package you need.
Edit your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"vtex-catalog": {
"command": "npx",
"args": ["@vtex-mcp/catalog-api"],
"env": {
"VTEX_ACCOUNT_NAME": "your-account",
"VTEX_APP_KEY": "your-app-key",
"VTEX_APP_TOKEN": "your-app-token"
}
}
}
}Restart Claude Desktop after saving. The server tools will appear in the tool list.
Create or edit .kiro/settings/mcp.json in your project root:
{
"mcpServers": {
"vtex-catalog": {
"command": "npx",
"args": ["@vtex-mcp/catalog-api"],
"env": {
"VTEX_ACCOUNT_NAME": "your-account",
"VTEX_APP_KEY": "your-app-key",
"VTEX_APP_TOKEN": "your-app-token"
}
}
}
}Kiro will detect the config automatically. You can also use the command palette → "MCP: Reconnect Servers" to reload.
Create or edit .vscode/mcp.json in your project root:
{
"servers": {
"vtex-catalog": {
"command": "npx",
"args": ["@vtex-mcp/catalog-api"],
"env": {
"VTEX_ACCOUNT_NAME": "your-account",
"VTEX_APP_KEY": "your-app-key",
"VTEX_APP_TOKEN": "your-app-token"
}
}
}
}Requires the GitHub Copilot extension with MCP support enabled. Go to Settings → search "mcp" → enable "Chat: MCP".
Create or edit .cursor/mcp.json in your project root:
{
"mcpServers": {
"vtex-catalog": {
"command": "npx",
"args": ["@vtex-mcp/catalog-api"],
"env": {
"VTEX_ACCOUNT_NAME": "your-account",
"VTEX_APP_KEY": "your-app-key",
"VTEX_APP_TOKEN": "your-app-token"
}
}
}
}Restart Cursor or use the command palette to reload MCP servers.
Create or edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"vtex-catalog": {
"command": "npx",
"args": ["@vtex-mcp/catalog-api"],
"env": {
"VTEX_ACCOUNT_NAME": "your-account",
"VTEX_APP_KEY": "your-app-key",
"VTEX_APP_TOKEN": "your-app-token"
}
}
}
}If your client supports HTTP/SSE instead of stdio, start the server with:
npx @vtex-mcp/catalog-api --transport http --port 3000Then point your client to http://localhost:3000/sse.
You can add as many servers as you need — each one is independent:
{
"mcpServers": {
"vtex-catalog": {
"command": "npx",
"args": ["@vtex-mcp/catalog-api"],
"env": {
"VTEX_ACCOUNT_NAME": "your-account",
"VTEX_APP_KEY": "your-app-key",
"VTEX_APP_TOKEN": "your-app-token"
}
},
"vtex-orders": {
"command": "npx",
"args": ["@vtex-mcp/orders-api"],
"env": {
"VTEX_ACCOUNT_NAME": "your-account",
"VTEX_APP_KEY": "your-app-key",
"VTEX_APP_TOKEN": "your-app-token"
}
}
}
}The credentials are the same across all servers — only the package name changes.
| Variable | Required | Description |
|---|---|---|
VTEX_ACCOUNT_NAME |
Yes | Your VTEX account name |
VTEX_APP_KEY |
Yes* | App key from VTEX License Manager |
VTEX_APP_TOKEN |
Yes* | App token paired with the key |
VTEX_AUTH_TOKEN |
No | User token (alternative to key/token pair) |
VTEX_ENVIRONMENT |
No | API environment (default: vtexcommercestable) |
* Required unless VTEX_AUTH_TOKEN is provided.