Skip to main content
SH

Shopify

v0.2.1API Key

Plataforma de ecommerce global — backend DTC dominante. Admin REST API v2024-01. Pedidos, produtos, clientes, estoque, fulfillments, webhooks. Complementa a Tienda Nube (só regional) pra marcas DTC internacionais.

28 ferramentas3 env vars🌐 GLOBALestável no npm

O que seu agente faz

O Shopify dá ao seu agente 28 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer 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.
Exemplo de chamada
// 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

Adicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com 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>"
      }
    }
  }
}

Depois de reiniciar, seu agente pode chamar qualquer uma das 28 ferramentas abaixo — teste list_orders primeiro.

Variáveis de ambiente · 3

Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.

SHOPIFY_SHOP
obrigatório

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

SHOPIFY_ACCESS_TOKEN
obrigatóriosecret

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.

Ferramentas disponíveis · 28

Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.

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 compatíveis

MCP é um protocolo — qualquer framework que o fale pode montar este server.

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

Perguntas frequentes

Rode `npx -y @codespar/mcp-shopify` e adicione o bloco de config acima ao seu cliente MCP — Claude, Cursor, VS Code ou qualquer cliente compatível com MCP. Sem build, sem SDK. Prefere hospedado? O tier gerenciado da CodeSpar roda pra você, com a auth resolvida.
Shopify — MCP server · 28 tools | CodeSpar