Magento MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FASTLY_API_TOKEN | No | Optional: Fastly API token for cache purging. | |
| MAGENTO_BASE_URL | Yes | The base URL of your Magento 2 / Adobe Commerce instance (e.g., https://your-magento-instance.com). | |
| FASTLY_SERVICE_ID | No | Optional: Fastly Service ID for targeted cache invalidation. | |
| MAGENTO_OAUTH_TOKEN | No | OAuth 1.0 Access Token from Magento Integration setup. | |
| MAGENTO_ADMIN_PASSWORD | No | Magento admin password (alternative to OAuth auth). | |
| MAGENTO_ADMIN_USERNAME | No | Magento admin username (alternative to OAuth auth). | |
| MAGENTO_OAUTH_CONSUMER_KEY | No | OAuth 1.0 Consumer Key from Magento Integration setup. | |
| MAGENTO_OAUTH_TOKEN_SECRET | No | OAuth 1.0 Access Token Secret from Magento Integration setup. | |
| MAGENTO_OAUTH_CONSUMER_SECRET | No | OAuth 1.0 Consumer Secret from Magento Integration setup. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| auth_loginB | Authenticate with Magento Admin credentials and establish a session. |
| auth_logoutB | Destroy the current session. |
| auth_whoamiB | Return current admin user info for the active session. |
| scope_list_websites_storesC | List all websites, stores, and store views configured in Magento. |
| scope_set_defaultC | Set the default store view scope for the current session. |
| promotions_prepare_cart_price_rule_createB | Validate and prepare a cart price rule for creation. Returns a plan for review. |
| promotions_commit_cart_price_rule_createA | Execute a previously prepared cart price rule creation. |
| promotions_search_rulesB | Search cart price rules by query, website, or enabled status. |
| promotions_get_ruleC | Get details of a specific cart price rule. |
| promotions_update_ruleB | Update an existing cart price rule. |
| promotions_enable_ruleC | Enable a cart price rule. |
| promotions_disable_ruleC | Disable a cart price rule. |
| promotions_generate_couponsC | Generate coupon codes for an existing cart price rule. |
| promotions_export_couponsC | Export coupon codes for a rule in CSV format. |
| catalog_search_productsC | Search products with filters, pagination, and optional scope. |
| catalog_get_productA | Get full product details by SKU. |
| catalog_prepare_bulk_updateB | Prepare a bulk product update. Returns a plan with affected count and sample diffs. |
| catalog_commit_bulk_updateB | Execute a previously prepared bulk product update. |
| pricing_prepare_bulk_price_updateA | Prepare a bulk price update. Returns plan with affected count, diffs, and warnings. |
| pricing_commit_bulk_price_updateC | Execute a previously prepared bulk price update. |
| cms_search_pagesC | Search CMS pages by query string. |
| cms_get_pageB | Get a CMS page by ID. |
| cms_prepare_bulk_update_pagesC | Prepare a bulk update for CMS pages. |
| cms_commit_bulk_update_pagesB | Execute a previously prepared CMS page bulk update. |
| cms_search_blocksC | Search CMS blocks by query string. |
| cms_get_blockC | Get a CMS block by ID. |
| cms_prepare_bulk_update_blocksC | Prepare a bulk update for CMS blocks. |
| cms_commit_bulk_update_blocksB | Execute a previously prepared CMS block bulk update. |
| seo_prepare_bulk_update_url_keysC | Prepare a bulk URL key update with collision validation and redirect plan. |
| seo_commit_bulk_update_url_keysB | Execute a previously prepared bulk URL key update. |
| seo_bulk_update_metaC | Bulk update meta fields (title, description, keywords) for products. |
| seo_report_redirect_chainsC | Report on URL redirect chains up to a configurable depth. |
| diagnostics_product_display_checkB | Check why a product may not be displaying correctly on the storefront. |
| diagnostics_indexer_status_reportC | Report on the status of all Magento indexers. |
| diagnostics_inventory_salable_reportC | Report on MSI salable quantity for a product. |
| cache_purge_by_urlB | Purge specific URLs from CDN cache. |
| cache_purge_productC | Purge cache for a specific product by SKU. |
| cache_purge_categoryC | Purge cache for a specific category. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/thomastx05/magento-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server