trackmcp
Back to directory
amir-bengherbi

shopify-mcp-server

View on GitHub

MCP Server for Shopify API

17 stars TypeScriptOthers Updated Jul 30, 2026

Documentation

Shopify MCP Server

MCP Server for Shopify API, enabling interaction with store data through GraphQL API. This server provides tools for managing products, customers, orders, and more.

Features

  • Product Management: Search and retrieve product information
  • Customer Management: Load customer data and manage customer tags
  • Order Management: Advanced order querying and filtering
  • GraphQL Integration: Direct integration with Shopify's GraphQL Admin API
  • Comprehensive Error Handling: Clear error messages for API and authentication issues

Tools

1. `get-products`

    2. `get-products-by-collection`

      3. `get-products-by-ids`

        4. `get-variants-by-ids`

          5. `get-customers`

            6. `tag-customer`

              7. `get-orders`

                8. `get-order`

                  9. `create-discount`

                    10. `create-draft-order`

                      11. `complete-draft-order`

                        12. `get-collections`

                          13. `get-shop`

                            14. `get-shop-details`

                              15. `manage-webhook`

                                Setup

                                Shopify Access Token

                                To use this MCP server, you'll need to create a custom app in your Shopify store:

                                1. From your Shopify admin, go to Settings > Apps and sales channels

                                2. Click Develop apps (you may need to enable developer preview first)

                                3. Click Create an app

                                4. Set a name for your app (e.g., "Shopify MCP Server")

                                5. Click Configure Admin API scopes

                                6. Select the following scopes:

                                  7. Click Save

                                  8. Click Install app

                                  9. Click Install to give the app access to your store data

                                  10. After installation, you'll see your Admin API access token

                                  11. Copy this token - you'll need it for configuration

                                  Note: Store your access token securely. It provides access to your store data and should never be shared or committed to version control.

                                  More details on how to create a Shopify app can be found here.

                                  Usage with Claude Desktop

                                  Add to your `claude_desktop_config.json`:

                                  json
                                  {
                                    "mcpServers": {
                                      "shopify": {
                                        "command": "npx",
                                        "args": ["-y", "shopify-mcp-server"],
                                        "env": {
                                          "SHOPIFY_ACCESS_TOKEN": "",
                                          "MYSHOPIFY_DOMAIN": ".myshopify.com"
                                        }
                                      }
                                    }
                                  }

                                  Development

                                  1. Clone the repository

                                  2. Install dependencies:

                                  bash
                                  npm install

                                  3. Create a `.env` file:

                                  code
                                  SHOPIFY_ACCESS_TOKEN=your_access_token
                                  MYSHOPIFY_DOMAIN=your-store.myshopify.com

                                  4. Build the project:

                                  bash
                                  npm run build

                                  5. Run tests:

                                  bash
                                  npm test

                                  Dependencies

                                  • @modelcontextprotocol/sdk - MCP protocol implementation
                                  • graphql-request - GraphQL client for Shopify API
                                  • zod - Runtime type validation

                                  Contributing

                                  Contributions are welcome! Please read our Contributing Guidelines first.

                                  License

                                  MIT

                                  Community


                                  Built with ❤️ using the Model Context Protocol

                                  Frequently asked questions

                                  What is shopify-mcp-server?

                                  shopify-mcp-server is MCP Server for Shopify API

                                  How do I install shopify-mcp-server?

                                  Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

                                  Is shopify-mcp-server open source?

                                  Yes — it is hosted on GitHub at https://github.com/amir-bengherbi/shopify-mcp-server and has 17 stars.

                                  Related MCP tools

                                  Run your own MCP server? See who uses it and what to fix.

                                  Measure it with TrackMCP