Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FASTLY_API_TOKENNoOptional: Fastly API token for cache purging.
MAGENTO_BASE_URLYesThe base URL of your Magento 2 / Adobe Commerce instance (e.g., https://your-magento-instance.com).
FASTLY_SERVICE_IDNoOptional: Fastly Service ID for targeted cache invalidation.
MAGENTO_OAUTH_TOKENNoOAuth 1.0 Access Token from Magento Integration setup.
MAGENTO_ADMIN_PASSWORDNoMagento admin password (alternative to OAuth auth).
MAGENTO_ADMIN_USERNAMENoMagento admin username (alternative to OAuth auth).
MAGENTO_OAUTH_CONSUMER_KEYNoOAuth 1.0 Consumer Key from Magento Integration setup.
MAGENTO_OAUTH_TOKEN_SECRETNoOAuth 1.0 Access Token Secret from Magento Integration setup.
MAGENTO_OAUTH_CONSUMER_SECRETNoOAuth 1.0 Consumer Secret from Magento Integration setup.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
auth_login

Authenticate with Magento Admin credentials and establish a session.

auth_logout

Destroy the current session.

auth_whoami

Return current admin user info for the active session.

scope_list_websites_stores

List all websites, stores, and store views configured in Magento.

scope_set_default

Set the default store view scope for the current session.

promotions_prepare_cart_price_rule_create

Validate and prepare a cart price rule for creation. Returns a plan for review.

promotions_commit_cart_price_rule_create

Execute a previously prepared cart price rule creation.

promotions_search_rules

Search cart price rules by query, website, or enabled status.

promotions_get_rule

Get details of a specific cart price rule.

promotions_update_rule

Update an existing cart price rule.

promotions_enable_rule

Enable a cart price rule.

promotions_disable_rule

Disable a cart price rule.

promotions_generate_coupons

Generate coupon codes for an existing cart price rule.

promotions_export_coupons

Export coupon codes for a rule in CSV format.

catalog_search_products

Search products with filters, pagination, and optional scope.

catalog_get_product

Get full product details by SKU.

catalog_prepare_bulk_update

Prepare a bulk product update. Returns a plan with affected count and sample diffs.

catalog_commit_bulk_update

Execute a previously prepared bulk product update.

pricing_prepare_bulk_price_update

Prepare a bulk price update. Returns plan with affected count, diffs, and warnings.

pricing_commit_bulk_price_update

Execute a previously prepared bulk price update.

cms_search_pages

Search CMS pages by query string.

cms_get_page

Get a CMS page by ID.

cms_prepare_bulk_update_pages

Prepare a bulk update for CMS pages.

cms_commit_bulk_update_pages

Execute a previously prepared CMS page bulk update.

cms_search_blocks

Search CMS blocks by query string.

cms_get_block

Get a CMS block by ID.

cms_prepare_bulk_update_blocks

Prepare a bulk update for CMS blocks.

cms_commit_bulk_update_blocks

Execute a previously prepared CMS block bulk update.

seo_prepare_bulk_update_url_keys

Prepare a bulk URL key update with collision validation and redirect plan.

seo_commit_bulk_update_url_keys

Execute a previously prepared bulk URL key update.

seo_bulk_update_meta

Bulk update meta fields (title, description, keywords) for products.

seo_report_redirect_chains

Report on URL redirect chains up to a configurable depth.

diagnostics_product_display_check

Check why a product may not be displaying correctly on the storefront.

diagnostics_indexer_status_report

Report on the status of all Magento indexers.

diagnostics_inventory_salable_report

Report on MSI salable quantity for a product.

cache_purge_by_url

Purge specific URLs from CDN cache.

cache_purge_product

Purge cache for a specific product by SKU.

cache_purge_category

Purge cache for a specific category.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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