Magento 2 Development
STDIOMCP server for Magento 2 development with AI agents integration
MCP server for Magento 2 development with AI agents integration
A Model Context Protocol (MCP) server for Magento 2 development, designed to integrate with AI agents like Claude, Cursor, Continue.dev, and Augment Code.
npx -y @elgentos/magento2-dev-mcp
{ "mcpServers": { "magento2-dev": { "command": "npx", "args": ["-y", "@elgentos/magento2-dev-mcp"] } } }
Restart your AI agent to load the MCP server
Start using Magento 2 development tools through your AI agent!
See AI Platform Configuration Examples for platform-specific setup instructions.
Parameters:
scope (optional): The scope to get DI preferences for
global, adminhtml, frontend, crontab, webapi_rest, webapi_soap, graphql, doc, adminglobalAvailable Scopes:
global - Global scope (default)adminhtml - Admin areafrontend - Frontend/storefront areacrontab - Cron job execution contextwebapi_rest - REST API contextwebapi_soap - SOAP API contextgraphql - GraphQL API contextdoc - Documentation contextadmin - Admin context (alternative to adminhtml)Parameters:
format (optional): Output format (table, json, csv) - Default: tableenabled (optional): Show only enabled modulesdisabled (optional): Show only disabled modulesParameters:
format (optional): Output format (table, json, csv) - Default: tableevent (optional): Filter by specific event nameParameters:
format (optional): Output format (table, json, csv) - Default: tableParameters:
vendorNamespace (required): Namespace (your company prefix)moduleName (required): Name of your moduleminimal (optional): Create only module fileaddBlocks (optional): Add blocksaddHelpers (optional): Add helpersaddModels (optional): Add modelsaddSetup (optional): Add SQL setupaddAll (optional): Add blocks, helpers and modelsenable (optional): Enable module after creationmodman (optional): Create all files in folder with a modman fileaddReadme (optional): Add a readme.md file to generated moduleaddComposer (optional): Add a composer.json file to generated moduleaddStrictTypes (optional): Add strict_types declaration to generated PHP filesauthorName (optional): Author for readme.md or composer.jsonauthorEmail (optional): Author email for readme.md or composer.jsondescription (optional): Description for readme.md or composer.jsonExample Usage:
{ "name": "dev-module-create", "arguments": { "vendorNamespace": "MyCompany", "moduleName": "CustomModule", "addAll": true, "enable": true, "addReadme": true, "addComposer": true, "authorName": "John Doe", "authorEmail": "[email protected]", "description": "A custom Magento 2 module" } }
Parameters:
format (optional): Output format (table, json, csv) - Default: tableParameters: None
Available Tools:
cache-clean - Clear specific or all cachescache-flush - Flush specific or all cachescache-enable - Enable specific cache typescache-disable - Disable specific cache typescache-status - Check cache statuscache-view - Inspect cache entriesSee Cache Types Reference for details.
Parameters:
path (optional): Configuration path to showscope (optional): Configuration scope (default, website, store)scopeId (optional): Scope ID (website ID or store ID)Parameters:
path (required): Configuration path to setvalue (required): Value to setscope (optional): Configuration scopescopeId (optional): Scope IDencrypt (optional): Encrypt the valueStore-specific configuration management for getting and setting configuration values at the store level.
Parameters:
query (required): SQL query to executeformat (optional): Output format (table, json, csv) - Default: tableParameters:
keepGenerated (optional): Keep generated files during upgradeParameters: None
Parameters: None
Parameters:
languages (optional): Languages to deploythemes (optional): Themes to deployjobs (optional): Number of parallel jobsforce (optional): Force deploymentParameters:
format (optional): Output format (table, json, csv) - Default: tableParameters:
format (optional): Output format (table, json, csv) - Default: tableParameters:
format (optional): Output format (table, json, csv) - Default: tablestoreId (optional): Store ID to filter URLsParameters:
format (optional): Output format (table, json, csv) - Default: tableParameters:
format (optional): Output format (table, json, csv) - Default: tableParameters:
job (optional): Specific cron job to rungroup (optional): Cron group to runMIT License - see LICENSE file for details.