VTEX IO MCP

v0.2.0
io.github.commentemeapp/vtex-io-mcp Checked 4 days ago Published 1 month ago

Scaffold VTEX IO apps, Node services and GraphQL, look up Store Framework block props, search docs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lookup-block-props

Look up the props, description, and usage examples for any VTEX IO Store Framework block (e.g. rich-text, flex-layout.row, shelf, image, info-card)

ParameterTypeDescription
blockName *stringName of the VTEX IO block to look up (e.g. "rich-text", "flex-layout.row", "shelf", "image")

add-block

Generate a JSONC snippet for a VTEX IO block ready to paste into blocks.jsonc. Validates props against the block schema.

ParameterTypeDescription
blockName *stringVTEX IO block name to generate (e.g. "rich-text", "flex-layout.row", "shelf", "image", "info-card")
blockIdstringUnique block identifier appended after #. Example: if blockId is "hero", result is "rich-text#hero". Defaults to the blockName.
childrenarrayList of child block references (e.g. ["rich-text#title", "image#hero"])
propsobjectProps to set on the block. Keys must match valid prop names for the block.

scaffold-vtex-app

Generate a complete VTEX IO app scaffold with manifest.json and all folder structures for the selected builders (store, react, node, graphql, styles, messages, admin, pixel)

ParameterTypeDescription
appName *stringApp name in kebab-case (e.g. "my-store-theme", "product-recommender")
builders *arrayList of VTEX IO builders to include in the app
vendor *stringVTEX account vendor name (e.g. "mystore", "vtex")
descriptionstringApp description
versionstringApp version (default: "0.0.1")

scaffold-node-service

Generate a complete Node.js service scaffold for VTEX IO including index.ts, service.json, clients, and middleware handlers for specified routes and events

ParameterTypeDescription
appName *stringApp name in kebab-case
vendor *stringVTEX account vendor name
eventsarrayEvent handlers to register
memorynumberMemory in MB (default: 256, max: 512)
routesarrayHTTP routes to expose
timeoutnumberRequest timeout in seconds (default: 10)

scaffold-graphql

Generate a GraphQL schema and resolver files for a VTEX IO app, including schema.graphql and TypeScript resolver stubs for queries and mutations

ParameterTypeDescription
appName *stringApp name in kebab-case
vendor *stringVTEX account vendor name
mutationsarrayGraphQL mutations to generate
queriesarrayGraphQL queries to generate

search-courses

Search for a term across all VTEX IO official courses (basic-blocks, layout-blocks, styles-course, store-block, service-course, admin, calling-commerce-apis, content-workflow, store-performance). Returns excerpts with surrounding context.

ParameterTypeDescription
query *stringSearch term to find in VTEX IO courses (e.g. "flex-layout", "CSS handles", "service.json", "GraphQL resolver")
courseIdstringOptionally restrict search to a specific course ID (e.g. "service-course", "store-block", "basic-blocks")

explain-concept

Get full documentation for a VTEX concept by exact ID (e.g. "vtex-io-builders", "vtex-io-css-handles", "vtex-io-service-json"). Use search-concepts to find the right ID first.

ParameterTypeDescription
concept *stringID of the VTEX IO concept to explain (e.g. "workspaces", "css-handles", "builders", "events", "clients", "master-data", "vtex-cli", "service-json", "interfaces")

search-concepts

Search across 391 VTEX documentation files by keywords. Returns ranked results with excerpts. Use this to find concepts before calling explain-concept.

ParameterTypeDescription
query *stringSearch query — keywords to find in VTEX documentation (e.g. "css handles", "master data triggers", "node builder routes", "catalog API", "checkout orderform")
maxResultsnumberMax number of results to return (default: 5, max: 10)

lookup-vtex-api

Look up VTEX REST API reference (endpoints, auth, request/response models) for any VTEX API: catalog, orders, checkout, master-data, logistics, pricing, intelligent-search, session, headless-cms, promotions, payments-gateway, license-manager

ParameterTypeDescription
api *stringAPI name or keyword to look up (e.g. "catalog", "orders", "checkout", "master-data", "logistics", "pricing", "intelligent-search", "session", "headless-cms", "promotions", "payments")