@clawpify/skills
v1.0.9
Published
Shopify Agent SDK — query and manage Shopify stores via GraphQL Admin API with AI agents and MCP
Maintainers
Readme
Clawpify
Shopify Agent SDK. Query and manage Shopify stores with AI agents and MCP.
Install
npm install @clawpify/skillsQuick Start
import { 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 }
}
}`);AI Agent
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);MCP Server
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_xxxxxWhat It Covers
Products, Orders, Customers, Inventory, Discounts, Collections, Gift Cards, Refunds, Draft Orders, Webhooks, and more.
License
MIT
