sales
Magento MCP, CLI, and Lua Integration for AI Agents
Magento integration docs for AI agents: MCP gateway setup, Magento CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Manual OAuth token auth
Magento for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
magento- route_slug
magento- package
magento- auth_strategy
oauth2_manual_tokenManual OAuth token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Magento CLIHeadless setup and direct function calls. Magento MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Magento MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Magento.
Claude Code Magento MCP setup for Claude Code. Cursor Magento MCP setup for Cursor. Codex Magento MCP setup for Codex. OpenAI Agents Magento MCP setup for OpenAI Agents SDK. Claude Agent SDK Magento MCP setup for Claude Agent SDK. Vercel AI SDK Magento MCP setup for Vercel AI SDK. LangChain Magento MCP setup for LangChain. LangGraph Magento MCP setup for LangGraph. CrewAI Magento MCP setup for CrewAI. MCP clients Magento MCP setup for Generic MCP Clients.
Magento CLI Matrix
Use these pages for direct Magento CLI workflows in scripts, CI, cron, and agent wrappers.
CI Magento CLI for CI. Cron Jobs Magento CLI for cron jobs. Shell Scripts Magento CLI for shell scripts. Headless Automation Magento CLI for headless automation. Coding Agents Magento CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
magento.magento_list_products | Read read | 3 | List products from the Magento catalog. Returns a list of products with support for search criteria filtering and pagination. |
magento.magento_get_product | Read read | 1 | Get details of a specific Magento product by its SKU. Returns the full product object including attributes, pricing, and stock information. |
magento.magento_create_product | Write write | 10 | Create a new product in the Magento catalog. Requires SKU, name, price, and attribute set ID. Returns the created product object. |
magento.magento_list_orders | Read read | 3 | List orders from the Magento store. Returns a list of orders with support for search criteria filtering and pagination. |
magento.magento_get_order | Read read | 1 | Get details of a specific Magento order by its ID. Returns the full order object including items, addresses, payment, and totals. |
magento.magento_list_customers | Read read | 3 | List customers from the Magento store. Returns a list of customers with support for search criteria filtering and pagination. |
magento.magento_get_current_user | Read read | 0 | Verify Magento API connectivity and retrieve current user information. Useful as a health check to confirm the integration is properly configured. |