shopify-multi-store
Shopify Multi Store
该 Codex 插件可在单个任务中维护多个 Shopify Admin 商店。每个商店有独立的别名和访问令牌,因此切换商店不会断开其他商店的连接。
要求
带有钥匙串访问权限的 macOS
Node.js 20 或更高版本
每个商店的 Shopify Admin API 访问令牌
Related MCP server: Shopify Storefront MCP Server
安装
克隆仓库并安装其依赖项:
git clone https://github.com/alex-brecher/shopify-multi-store.git
cd shopify-multi-store
npm ci
npm run build使用克隆的目录在 Codex 中安装本地插件。仓库包含 Codex 插件清单和 MCP 服务器配置。
添加商店
在此插件目录中打开终端。
运行此命令:
npm run configure -- add输入简短的商店别名。
输入永久的
*.myshopify.com域名。输入 Admin API 访问令牌。
对每个商店重复该命令。
脚本会将每个令牌保存在 macOS 钥匙串中,服务名为 codex-shopify-multi-store。配置文件不包含任何访问令牌。
导入现有工具包
导入兼容的多商店 stores.json 文件:
npm run import-legacy -- /absolute/path/to/stores.json导入会将每个令牌保存在 macOS 钥匙串中。它会把两个配置文件改为仅所有者可访问。当不再需要旧凭据文件时,请将其删除。
仅使用每个任务所需的 Admin API 作用域。Shopify 通过这些作用域控制可用数据。
管理商店
列出已配置的商店:
npm run configure -- list移除一个商店及其钥匙串令牌:
npm run configure -- remove store-alias可用工具
shopify_list_stores列出已连接的商店别名。shopify_get_shop_info获取一个商店的身份信息。shopify_graphql_query运行只读的 Admin GraphQL 查询。shopify_graphql_mutation在获得明确授权后更改一个商店。
每次商店操作都需要商店别名。此要求降低了错误更改商店的风险。
安全
切勿提交访问令牌、OAuth 客户端密钥、
.env文件或包含凭据的stores.json文件。仅授予预期任务所需的 Shopify Admin API 作用域。
在执行变更操作前确认目标商店。
有关报告说明,请参阅 SECURITY.md。
开发
npm ci
npm test许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Shopify store data using the GraphQL API, supporting product, customer, and order management with comprehensive error handling.158717MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with multiple Shopify stores simultaneously through the Storefront API. Supports product search, cart management, and store operations across configured Shopify stores through natural language.2
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Shopify store data via the GraphQL Admin API to manage products, customers, orders, and collections. Supports multi-store configurations and provides comprehensive management tools for e-commerce administration in both local and remote environments.191MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Shopify stores via the Admin API for product, order, metafield, and theme management.87MIT
Related MCP Connectors
Shopify MCP Pack — wraps the Shopify Admin REST API (2024-01)
Encrypted secret store and rotation for autonomous agent credentials
Issue, rotate and revoke scoped API-key passes for 25+ providers — the agent never sees a real key
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alex-brecher/shopify-multi-store'
If you have feedback or need assistance with the MCP directory API, please join our Discord server