Server data from the Official MCP Registry
Manage ShopNex products, inventory, orders, customers, and analytics via the Admin API.
About
Manage ShopNex products, inventory, orders, customers, and analytics via the Admin API.
Security Report
The ShopNex MCP server authenticates with a scoped bearer token read from an environment variable, defaults write operations to a dry-run preview, and offers a read-only lock; its network access matches its stated purpose. The main concerns are supply-chain exposure from installing unpinned code directly from a GitHub branch via npx, and the ability to read customer personal data (emails, names, phone numbers) through list_customers and list_orders. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity).
10 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: SHOPNEX_URL
Environment variable: SHOPNEX_API_KEY
Environment variable: SHOPNEX_READ_ONLY
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
shopnex-mcp
Model Context Protocol (MCP) server for ShopNex stores. Connect Claude Desktop, Cursor, Cline / VS Code, Windsurf, or n8n to your ShopNex Admin REST API (/api/v1/admin/*) using a scoped sk_… API token.
Built on the official @modelcontextprotocol/sdk stdio transport with JSON Schema 2020-12 validated tool definitions, pagination from day one, dashboard analytics, preview-first inventory writes, and an optional read-only lock (SHOPNEX_READ_ONLY=1).
Features
- Official MCP SDK transport: Uses
@modelcontextprotocol/sdk(Server+StdioServerTransport) with zero hand-rolled framing and zerostdoutlog pollution. - JSON Schema 2020-12 & Anthropic API verified: Every tool's
inputSchemais validated in CI withAjv2020(strict: true) and checked against Anthropic's strict tool-use schema rules. - ShopNex
/api/v1/admin/*native contract: Authenticates viaAuthorization: Bearer sk_…, maps pagination to?limit=&offset=, preserves exact integer-cent money amounts (priceCents,totalCents,salesCents), and surfaces missingread_*/write_*token scopes clearly on HTTP403. - Safe-by-default writes:
update_product_inventorydefaults toconfirm: false(dry-run diff preview) before mutating live variant stock, andSHOPNEX_READ_ONLY=1removes write tools completely.
Tools
| Tool | Method & ShopNex Endpoint | Required Scope | Description |
|---|---|---|---|
list_products | GET /api/v1/admin/products | read_products | Paginated catalog listing (limit, page / offset, search, customField). |
get_product | GET /api/v1/admin/products/{id} | read_products | Full product details including options, variant UUIDs, SKUs, priceCents, and stock. |
update_product_inventory | PATCH /api/v1/admin/variants/{variantId} | write_products | Updates variant inventoryQuantity (and optional priceCents / sku) with confirm preview gate. Hidden when SHOPNEX_READ_ONLY=1. |
list_orders | GET /api/v1/admin/orders | read_orders | Paginated orders with financialStatus, fulfillmentStatus, cancelled, customerId, and search (#1001, email, name). |
list_customers | GET /api/v1/admin/customers | read_customers | Paginated customer directory with search across email, name, and phone. |
shop_analytics | GET /api/v1/admin/analytics/overview + /admin/shop | read_orders | Store sales, order count, AOV, returning customer rate vs. prior period, daily series, top 5 products, and unfulfilled/unpaid queues (days, IANA timezone). |
1-Step Token Setup
In your ShopNex Admin (Settings → API tokens), create a token (sk_…) with the scopes you want the assistant to have:
| Mode | Recommended Scopes (Settings → API tokens) |
|---|---|
| Read + Inventory updates | write_products, read_orders, read_customers (write_* automatically includes read_*) |
Read-only (SHOPNEX_READ_ONLY=1) | read_products, read_orders, read_customers |
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
SHOPNEX_URL | Yes | — | Base URL of your ShopNex store (e.g. https://shop.example.com or http://localhost:3000). |
SHOPNEX_API_KEY | Yes | — | Secret API token (sk_…) from Settings → API tokens. |
SHOPNEX_READ_ONLY | No | 0 | Set to 1 or true to hide and block all write tools. |
SHOPNEX_TIMEOUT_MS | No | 15000 | Per-request HTTP timeout in milliseconds (1000–120000). |
Client Configuration
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"shopnex": {
"command": "npx",
"args": ["-y", "github:khoap1220-hue/shopnex-mcp"],
"env": {
"SHOPNEX_URL": "https://shop.example.com",
"SHOPNEX_API_KEY": "sk_your_token_here"
}
}
}
}
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"shopnex": {
"command": "npx",
"args": ["-y", "github:khoap1220-hue/shopnex-mcp"],
"env": {
"SHOPNEX_URL": "https://shop.example.com",
"SHOPNEX_API_KEY": "sk_your_token_here"
}
}
}
}
Cline / VS Code (.vscode/mcp.json)
{
"servers": {
"shopnex": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:khoap1220-hue/shopnex-mcp"],
"env": {
"SHOPNEX_URL": "https://shop.example.com",
"SHOPNEX_API_KEY": "sk_your_token_here"
}
}
}
}
Windsurf (~/.codeium/windsurf/mcp_config.json)
{
"mcpServers": {
"shopnex": {
"command": "npx",
"args": ["-y", "github:khoap1220-hue/shopnex-mcp"],
"env": {
"SHOPNEX_URL": "https://shop.example.com",
"SHOPNEX_API_KEY": "sk_your_token_here"
}
}
}
}
n8n (MCP Client Tool Node — Command-line / Stdio)
| Field | Value |
|---|---|
| Connection Type | Command Line (STDIO) |
| Command | npx |
| Arguments | -y github:khoap1220-hue/shopnex-mcp |
| Environment | SHOPNEX_URL=https://shop.example.com,SHOPNEX_API_KEY=sk_your_token_here |
Development & Verification
Requires Node.js >= 20.
npm install
npm run lint
npm run typecheck
npm run build
npm test
License
MIT © 2026 Khoa Phan
Custom Enterprise MCP & Webhook Engineering
Need a production-hardened MCP server (OAuth 2.1, tenant scoping, annotation mutation guards, Official Registry server.json + Glama Grade-A) or replay-safe Stripe/HubSpot/n8n webhook integration?
- 48h Fixed Starter Slice: $145 via 0%-fee Contra Escrow (100% async — written spec, tested GitHub PR & 2-min walkthrough)
- Portfolio & Services: khoaphan.dev/services
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
