Shopify Python MCP Server
The Shopify Python MCP Server integrates with the Shopify API to manage product data:
List Products: Retrieve products with an optional limit (max 250)
Get Product: Fetch detailed information about a specific product by ID
Create Product: Add new products with attributes like title, description, price, vendor, type, tags, status, variants, options, and images
Update Product: Modify existing product details by ID
Delete Product: Remove products from the Shopify store by ID
Provides tools for managing Shopify products, including listing, retrieving, creating, updating, and deleting products with their associated details such as variants, options, images, and inventory.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Shopify Python MCP Serverlist the first 10 products in my store"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shopify Python MCP Server
This is an MCP server that works with the Shopify API. By using this server, you can retrieve and manipulate Shopify product information from Claude Desktop.
function
tool
The server provides the following tools:
list_products : Get a list of products
limit: Number of items to retrieve (maximum 250, default value 50)
get_product : Get detailed product information
product_id: Product ID (required)
create_product : Create a new product
title: Product name (required)body_html: Product description (HTML format)vendor: Vendor nameproduct_type: Product typetags: tags (comma separated)status: Status (active/draft/archived)variantsoptions: optionsimages: Images
update_product : Update a product
product_id: Product ID (required)title: Product namebody_html: Product description (HTML format)vendor: Vendor nameproduct_type: Product typetags: tags (comma separated)status: Status (active/draft/archived)variantsoptions: optionsimages: Images
delete_product : Delete a product
product_id: Product ID (required)
Related MCP server: Shopify MCP Server by CData
setting
Required Environment Variables
To use this server, you must set the following environment variables:
SHOPIFY_SHOP_URL: Your Shopify store URL (e.g. mystore.myshopify.com)SHOPIFY_API_KEY: Shopify Admin API keySHOPIFY_API_PASSWORD: Shopify Admin API password (Secret)SHOPIFY_API_VERSION: Shopify API version (default: 2023-10)
Claude Desktop settings
If you are using Claude Desktop, add the following settings to claude_desktop_config.json:
macOS
Configuration file location: ~/Library/Application Support/Claude/claude_desktop_config.json
"mcpServers": {
"shopify-py-mcp": {
"command": "uv",
"args": [
"--directory",
"/your_path/shopify-py-mcp",
"run",
"shopify-py-mcp"
],
"env": {
"SHOPIFY_SHOP_URL": "your-store.myshopify.com",
"SHOPIFY_API_KEY": "your-api-key",
"SHOPIFY_API_PASSWORD": "your-api-password",
"SHOPIFY_API_VERSION": "2023-10"
}
}
}How to use
To use this server with Claude Desktop, call the tool as follows:
Get product list
商品一覧を取得してください。Get detailed product information
商品ID 1234567890の詳細情報を取得してください。Creating a new product
以下の情報で新しい商品を作成してください:
- 商品名: サンプル商品
- 説明: これはサンプル商品です。
- 価格: 1000円Product Updates
商品ID 1234567890を以下の情報で更新してください:
- 商品名: 更新後の商品名
- 価格: 2000円Remove a product
商品ID 1234567890を削除してください。development
Installing dependencies
cd shopify-py-mcp
uv sync --dev --all-extrasdebug
You can debug using MCP Inspector:
npx @modelcontextprotocol/inspector uv --directory /your_path/shopify-py-mcp run shopify-py-mcpBuild and publish
To prepare a package for distribution:
Sync dependencies and update lock files:
uv syncBuild the package:
uv buildPublished to PyPI:
uv publishNote: You will need to set your PyPI credentials via environment variables or command flags:
Token:
--tokenorUV_PUBLISH_TOKENOr username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Available Tools
5 toolscreate_productC
新しい商品を作成する
| Name | Required | Description | Default |
|---|---|---|---|
| body_html | No | 商品の説明(HTML形式) | |
| images | No | 画像 | |
| options | No | オプション | |
| product_type | No | 商品タイプ | |
| status | No | ステータス | active |
| tags | No | タグ(カンマ区切り) | |
| title | Yes | 商品名 | |
| variants | No | バリエーション | |
| vendor | No | ベンダー名 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. 'Create' implies a write/mutation operation, but the description doesn't mention required permissions, whether creation is idempotent, what happens on duplicate titles, or what the response contains. For a mutation tool with zero annotation coverage, this leaves significant behavioral gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient Japanese sentence that states the core purpose without any wasted words. It's appropriately sized for a creation tool and front-loads the essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex product creation tool with 9 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what constitutes a successful creation, what data is returned, or how to handle the various nested structures (images, options, variants). The agent would need to guess about the mutation's behavior and results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with all 9 parameters well-documented in Japanese. The description adds no parameter information beyond what's already in the schema. According to guidelines, when schema coverage is high (>80%), the baseline is 3 even with no param info in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description '新しい商品を作成する' (Create a new product) clearly states the verb ('create') and resource ('product'), making the purpose immediately understandable. It doesn't explicitly differentiate from siblings like 'update_product' or 'delete_product', but the verb 'create' inherently distinguishes it as a creation operation rather than modification or deletion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'update_product' or 'list_products'. There's no mention of prerequisites, constraints, or appropriate contexts for creation versus other product operations. The agent must infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_productC
商品を削除する
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | 商品ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. While '削除する' (delete) implies a destructive mutation, the description doesn't specify whether deletion is permanent, requires specific permissions, has side effects (e.g., cascading deletions), or provides confirmation feedback. This is inadequate for a destructive tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence ('商品を削除する') that directly states the tool's action without unnecessary words. It's appropriately sized and front-loaded, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive mutation tool with no annotations and no output schema, the description is incomplete. It lacks critical context: what happens on success/failure, whether deletion is reversible, permission requirements, or error conditions. Given the complexity and risk of deletion operations, this minimal description doesn't provide enough information for safe and effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% (the product_id parameter is fully documented in the schema as '商品ID'), so the baseline is 3. The description adds no additional parameter semantics beyond what the schema already provides—it doesn't explain format constraints, validation rules, or example values for product_id.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description '商品を削除する' (deletes a product) clearly states the verb (delete) and resource (product), making the basic purpose understandable. However, it doesn't differentiate this destructive operation from its sibling tools (create_product, get_product, list_products, update_product) beyond the obvious verb difference, missing opportunities to clarify scope or constraints.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., product must exist), consequences (e.g., irreversible deletion), or relationships with sibling tools (e.g., use get_product first to verify). This leaves the agent without contextual usage instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_productC
商品の詳細情報を取得する
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | 商品ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a read operation ('取得する'), which implies it's non-destructive, but doesn't mention other important traits like authentication requirements, rate limits, error conditions, or what '詳細情報' (detailed information) specifically includes. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence in Japanese that directly states the tool's purpose without unnecessary words. It's appropriately sized for a simple read operation, though it could be slightly more informative without losing conciseness. There's no structural issue like burying key information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, 100% schema coverage) and lack of annotations or output schema, the description is incomplete. It doesn't explain what '詳細情報' (detailed information) includes in the response, potential error cases (e.g., invalid product_id), or how this differs from sibling tools. For a read operation with no output schema, more context about return values would be helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the single parameter 'product_id' clearly documented as '商品ID' (product ID) in the schema. The description doesn't add any meaning beyond this—it doesn't explain what format the ID should be in, where to find it, or provide examples. Since the schema does the heavy lifting, the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description '商品の詳細情報を取得する' (Get detailed product information) clearly states the verb '取得する' (get) and resource '商品の詳細情報' (detailed product information), making the purpose understandable. However, it doesn't distinguish this tool from its sibling 'list_products' (which presumably lists multiple products rather than getting details of a specific one), so it doesn't reach the highest clarity level.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'list_products' for browsing products or 'create_product' for adding new ones. It doesn't mention prerequisites (e.g., needing a valid product_id) or contextual constraints, leaving the agent to infer usage from the tool name and parameters alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_productsC
商品一覧を取得する
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 取得する商品数(最大250) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('取得する' - get) but doesn't describe what '一覧' (list) entails (e.g., pagination, sorting, filtering beyond the limit parameter), return format, or any constraints like rate limits or authentication needs. This is a significant gap for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient phrase ('商品一覧を取得する') with zero wasted words. It's appropriately sized and front-loaded, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., a list of product objects, pagination details) or behavioral aspects like error handling. For a list-retrieval tool with no structured context, this leaves the agent under-informed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'limit' parameter fully documented (default: 50, min: 1, max: 250). The description adds no parameter information beyond what the schema provides, so it meets the baseline of 3 for high schema coverage without compensating value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description '商品一覧を取得する' (Get product list) states a clear verb ('取得する' - get) and resource ('商品一覧' - product list), which establishes the basic purpose. However, it doesn't distinguish this from its sibling 'get_product' (which presumably gets a single product), leaving ambiguity about when to use each tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_product' (for single products) or other siblings. There's no mention of prerequisites, context, or exclusions, leaving the agent to infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_productC
商品を更新する
| Name | Required | Description | Default |
|---|---|---|---|
| body_html | No | 商品の説明(HTML形式) | |
| images | No | 画像 | |
| options | No | オプション | |
| product_id | Yes | 商品ID | |
| product_type | No | 商品タイプ | |
| status | No | ステータス | |
| tags | No | タグ(カンマ区切り) | |
| title | No | 商品名 | |
| variants | No | バリエーション | |
| vendor | No | ベンダー名 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure but offers none. '更新する' (update) implies a mutation operation, but the description doesn't mention permission requirements, whether updates are partial or complete, side effects, error conditions, or response format. For a mutation tool with 10 parameters and no annotations, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at just three Japanese characters. While this represents under-specification rather than ideal conciseness, according to the scoring framework, it's not penalized in this dimension. The description wastes no words and is front-loaded, earning full points for conciseness despite its inadequacy in other areas.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (10 parameters, mutation operation), lack of annotations, and absence of an output schema, the description is severely incomplete. It doesn't explain what the tool returns, error conditions, or behavioral constraints. For a product update tool in what appears to be an e-commerce context, this minimal description leaves critical gaps for an agent to understand how to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all 10 parameters thoroughly with Japanese descriptions. The tool description adds no additional parameter context beyond what's in the schema. According to scoring rules, when schema coverage is high (>80%), the baseline is 3 even with no parameter information in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description '商品を更新する' (Update product) is a tautology that essentially restates the tool name 'update_product' in Japanese. It doesn't specify what aspects of a product can be updated or differentiate this tool from its sibling 'create_product' beyond the basic verb. The purpose is clear at a high level but lacks specificity about scope or capabilities.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'create_product' or 'get_product'. There's no mention of prerequisites (e.g., needing an existing product ID), constraints, or typical use cases. An agent would have to infer usage from the parameter schema alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool has a clearly distinct purpose targeting different CRUD operations on products: create, delete, get, list, and update. There is no overlap or ambiguity between these operations, making tool selection straightforward for an agent.
All tool names follow a consistent verb_noun pattern (e.g., create_product, delete_product) with snake_case throughout. The naming is predictable and uniform across all five tools, enhancing readability and usability.
With 5 tools, this server is well-scoped for product management in Shopify, covering essential CRUD operations. Each tool earns its place without being overly sparse or bloated, fitting typical expectations for such a domain.
The tool set provides complete CRUD coverage for products (create, read, update, delete, and list), with no obvious gaps. This allows agents to handle the full lifecycle of products without dead ends, making the surface comprehensive for the stated purpose.
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 Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
MCP server for Product Management
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.6MIT
- AlicenseNot gradedqualityDmaintenanceThis read-only MCP Server allows you to connect to Shopify data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).MIT
- AlicenseNot gradedqualityFmaintenanceA comprehensive MCP server for Shopify Admin API integration, enabling AI assistants to manage products, orders, customers, inventory, analytics, and more through natural language.1418MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Shopify Admin API. Enables product, order, customer, and inventory management via natural language.191MIT
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/kishimoto-banana/shopify-py-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server