@anton.andrusenko/shopify-mcp-admin 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -4
- package/dist/index.js +1143 -59
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @anton.andrusenko/shopify-mcp-admin
|
|
2
2
|
|
|
3
|
-
> 🛍️ **MCP Server for Shopify Admin API** — Enable AI agents to manage Shopify stores with
|
|
3
|
+
> 🛍️ **MCP Server for Shopify Admin API** — Enable AI agents to manage Shopify stores with 79 powerful tools
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@anton.andrusenko/shopify-mcp-admin)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## ✨ Features
|
|
13
13
|
|
|
14
|
-
- 🛠️ **
|
|
14
|
+
- 🛠️ **79 MCP Tools** — Complete store management: products, inventory, collections, pages, blogs, redirects, metafields, markets, locales & translations
|
|
15
15
|
- 🤖 **AI-Optimized** — Tool descriptions and error messages designed for LLM comprehension
|
|
16
16
|
- 🔌 **Dual Transport** — STDIO for Claude Desktop, HTTP for ChatGPT/OpenAI
|
|
17
17
|
- ⚡ **Rate Limiting** — Automatic retry with exponential backoff for Shopify API limits
|
|
@@ -250,7 +250,62 @@ Each tool can be converted to OpenAI function format:
|
|
|
250
250
|
|
|
251
251
|
## 🛠️ Available Tools
|
|
252
252
|
|
|
253
|
-
@anton.andrusenko/shopify-mcp-admin provides **
|
|
253
|
+
@anton.andrusenko/shopify-mcp-admin provides **79 tools** organized into 16 categories:
|
|
254
|
+
|
|
255
|
+
<details>
|
|
256
|
+
<summary><strong>🏪 Store Info (9 tools)</strong></summary>
|
|
257
|
+
|
|
258
|
+
| Tool | Description |
|
|
259
|
+
|------|-------------|
|
|
260
|
+
| `get-store-info` | Get basic store information (name, domain, plan, currency, timezone, email) |
|
|
261
|
+
| `get-store-limits` | Get store resource limits (max variants, max options, location limit) |
|
|
262
|
+
| `get-store-features` | Get feature flags (gift cards, reports, storefront, bundles, subscriptions) |
|
|
263
|
+
| `get-store-currencies` | Get multi-currency configuration (base currency, presentment currencies, formats) |
|
|
264
|
+
| `get-store-shipping` | Get shipping configuration (ships-to countries, countries in shipping zones) |
|
|
265
|
+
| `get-store-domain` | Get primary domain configuration (hostname, URL, SSL status) |
|
|
266
|
+
| `get-store-taxes` | Get tax configuration (taxes included in prices, tax shipping) |
|
|
267
|
+
| `get-store-policies` | Get legal policies (privacy, terms of service, refund policy) |
|
|
268
|
+
| `get-store-alerts` | Get admin alerts and setup requirements |
|
|
269
|
+
|
|
270
|
+
#### Example: Get Store Limits
|
|
271
|
+
|
|
272
|
+
```json
|
|
273
|
+
{
|
|
274
|
+
"maxProductVariants": 2000,
|
|
275
|
+
"maxProductOptions": 3,
|
|
276
|
+
"locationLimit": 1000,
|
|
277
|
+
"redirectLimitReached": false
|
|
278
|
+
}
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
#### Example: Get Store Features
|
|
282
|
+
|
|
283
|
+
```json
|
|
284
|
+
{
|
|
285
|
+
"giftCards": true,
|
|
286
|
+
"reports": true,
|
|
287
|
+
"storefront": true,
|
|
288
|
+
"bundles": {
|
|
289
|
+
"eligibleForBundles": true
|
|
290
|
+
},
|
|
291
|
+
"sellsSubscriptions": false
|
|
292
|
+
}
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
#### Example: Get Store Currencies
|
|
296
|
+
|
|
297
|
+
```json
|
|
298
|
+
{
|
|
299
|
+
"currencyCode": "USD",
|
|
300
|
+
"enabledPresentmentCurrencies": ["USD", "EUR", "GBP", "CAD"],
|
|
301
|
+
"currencyFormats": {
|
|
302
|
+
"moneyFormat": "${{amount}}",
|
|
303
|
+
"moneyWithCurrencyFormat": "${{amount}} USD"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
</details>
|
|
254
309
|
|
|
255
310
|
<details>
|
|
256
311
|
<summary><strong>📦 Product Management (7 tools)</strong></summary>
|
|
@@ -488,13 +543,38 @@ npm run inspect:config
|
|
|
488
543
|
|
|
489
544
|
MCP Inspector opens a web UI at `http://localhost:6274` where you can:
|
|
490
545
|
|
|
491
|
-
- 📋 Browse all
|
|
546
|
+
- 📋 Browse all 79 registered tools with schemas
|
|
547
|
+
- 📊 Access 9 MCP resources for store context
|
|
492
548
|
- ▶️ Execute tools interactively and view results
|
|
493
549
|
- 🔍 Inspect JSON-RPC protocol messages
|
|
494
550
|
- 📊 Monitor server events in real-time
|
|
495
551
|
|
|
496
552
|
> **Tip:** Use `npm run inspect:dev` during development for instant feedback without rebuilding.
|
|
497
553
|
|
|
554
|
+
---
|
|
555
|
+
|
|
556
|
+
## 📊 MCP Resources
|
|
557
|
+
|
|
558
|
+
The MCP server exposes comprehensive store context information via MCP resources. These are read-only data sources that AI agents can query for context.
|
|
559
|
+
|
|
560
|
+
### Extended Store Resources
|
|
561
|
+
|
|
562
|
+
| Resource URI | Description |
|
|
563
|
+
|--------------|-------------|
|
|
564
|
+
| `shopify://store/info` | Basic store info (name, domain, plan, currency, timezone) |
|
|
565
|
+
| `shopify://store/limits` | Resource limits (max variants, max options, location limit) |
|
|
566
|
+
| `shopify://store/features` | Feature flags (gift cards, reports, storefront, bundles) |
|
|
567
|
+
| `shopify://store/currencies` | Multi-currency configuration (base currency, presentment currencies) |
|
|
568
|
+
| `shopify://store/shipping` | Shipping configuration (ships-to countries, shipping zones) |
|
|
569
|
+
| `shopify://store/domain` | Primary domain configuration (hostname, URL, SSL status) |
|
|
570
|
+
| `shopify://store/taxes` | Tax configuration (taxes included, tax shipping) |
|
|
571
|
+
| `shopify://store/policies` | Legal policies (privacy, terms of service, refund) |
|
|
572
|
+
| `shopify://store/alerts` | Admin alerts and setup requirements |
|
|
573
|
+
|
|
574
|
+
> **Note:** For MCP clients that don't support resources (e.g., Claude Desktop), equivalent tools are available. See **Store Info Tools** below.
|
|
575
|
+
|
|
576
|
+
---
|
|
577
|
+
|
|
498
578
|
### FAQ
|
|
499
579
|
|
|
500
580
|
**Q: Can I connect to multiple stores?**
|