@cli4ai/shopify
v1.0.5
Published
Shopify management tools for orders, products, inventory, and content
Downloads
491
Maintainers
Readme
@cli4ai/shopify
Official @cli4ai package • https://cli4ai.com • Install cli4ai:
npm i -g cli4ai
Shopify Admin API wrapper for managing orders, products, inventory, and content.
Setup
npm i -g cli4ai
cli4ai add -g shopifyEnvironment Variables
You need to provide your Shopify shop URL and an Admin API access token. You can set these in your environment or let the MCP server inject them.
SHOPIFY_SHOP: Your shop domain (e.g.,my-shop.myshopify.com)SHOPIFY_ACCESS_TOKEN: Your Admin API Access Token (from a Custom App in Shopify Admin)
Commands
cli4ai run shopify orders [-l 10] [-s any] # List recent orders
cli4ai run shopify products [-l 10] # List products
cli4ai run shopify inventory [-i ids] # Check inventory
cli4ai run shopify reports [--since YYYY-MM-DD] # Get sales summary
cli4ai run shopify seo_audit <handle> <type> # Check SEO (products, pages)
cli4ai run shopify blogs # List blogs
cli4ai run shopify articles <blog_id> # List articles
cli4ai run shopify article_create <blog_id> ... # Create articleExamples
# Get sales summary since Jan 1st
cli4ai run shopify reports --since 2024-01-01
# Check SEO for a product
cli4ai run shopify seo_audit my-cool-product products
# Check inventory for all products
cli4ai run shopify inventory
# List recent orders
cli4ai run shopify orders --limit 5