Skip to main content
SH

Shopify

v0.2.1API Key

Plataforma de ecommerce global — backend DTC dominante. Admin REST API v2024-01. Pedidos, productos, clientes, inventario, fulfillments, webhooks. Complementa a Tienda Nube (solo regional) para marcas DTC internacionales.

28 herramientas3 env vars🌐 GLOBALestable en npm

Qué puede hacer tu agente

Shopify le da a tu agente 28 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • list_ordersList orders with optional filters. Returns an array of order objects with line items, customer, shipping, and financial status.
  • get_orderGet a single order by ID with full detail.
  • create_orderCreate a new order. Useful for draft orders, phone orders, or marketplace order ingestion.
Ejemplo de llamada
// 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_orders", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-shopify

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-shopify"
      ],
      "env": {
        "SHOPIFY_SHOP": "<your_shopify_shop>",
        "SHOPIFY_ACCESS_TOKEN": "<your_shopify_access_token>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 28 herramientas de abajo — probá list_orders primero.

Variables de entorno · 3

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

SHOPIFY_SHOP
obligatorio

Shopify shop subdomain (e.g. 'acme' for acme.myshopify.com)

SHOPIFY_ACCESS_TOKEN
obligatoriosecret

Shopify Admin API access token (private/custom app) sent as X-Shopify-Access-Token header

SHOPIFY_API_VERSION
opcional

Shopify Admin API version. Defaults to 2024-01.

Herramientas disponibles · 28

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

READlist_orders
List orders with optional filters. Returns an array of order objects with line items, customer, shipping, and financial status.
READget_order
Get a single order by ID with full detail.
WRITEcreate_order
Create a new order. Useful for draft orders, phone orders, or marketplace order ingestion.
WRITEupdate_order
Update an existing order (tags, note, email, shipping_address, metafields, etc).
DELETEcancel_order
Cancel an order. Optionally restock inventory, refund payment, notify customer.
READlist_products
List products with optional filters. Each product includes variants, images, and options.
READget_product
Get a single product by ID including all variants and images.
WRITEcreate_product
Create a new product with variants, options, and images.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-shopify` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Shopify — MCP server · 28 tools | CodeSpar