KosmoKrator

productivity

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.

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.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
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.