Shopify Agent SDK. Query and manage Shopify stores with AI agents and MCP.
npm install @clawpify/skillsimport { ShopifyClient } from "@clawpify/skills";
const client = new ShopifyClient({
storeUrl: "my-store.myshopify.com",
accessToken: "shpat_xxxxx",
});
const { data } = await client.graphql(`{
products(first: 5) {
nodes { id title }
}
}`);Requires @anthropic-ai/sdk:
import { ShopifyClient } from "@clawpify/skills";
import { ShopifyAgent } from "@clawpify/skills/agent";
import { loadSkills } from "@clawpify/skills/skills";
const client = new ShopifyClient({ storeUrl, accessToken });
const agent = new ShopifyAgent({ shopify: client, skillContent: await loadSkills() });
const result = await agent.chat("List my products");
console.log(result.response);Add to ~/.claude/mcp.json:
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": ["@clawpify/skills"]
}
}
}Create ~/.clawpify/.env:
SHOPIFY_STORE_URL=your-store.myshopify.com
SHOPIFY_CLIENT_ID=your-client-id
SHOPIFY_CLIENT_SECRET=shpss_xxxxxProducts, Orders, Customers, Inventory, Discounts, Collections, Gift Cards, Refunds, Draft Orders, Webhooks, and more.
MIT