Skip to main content
Glama

Magento 2 Development MCP Server

by elgentos

dev-module-create

Create and register a new Magento 2 module with customizable components including blocks, helpers, models, and setup files for extending e-commerce functionality.

Instructions

Create and register a new Magento 2 module

Input Schema

NameRequiredDescriptionDefault
addAllNoAdd blocks, helpers and models
addBlocksNoAdd blocks
addComposerNoAdd a composer.json file to generated module
addHelpersNoAdd helpers
addModelsNoAdd models
addReadmeNoAdd a readme.md file to generated module
addSetupNoAdd SQL setup
addStrictTypesNoAdd strict_types declaration to generated PHP files
authorEmailNoAuthor email for readme.md or composer.json
authorNameNoAuthor for readme.md or composer.json
descriptionNoDescription for readme.md or composer.json
enableNoEnable module after creation
minimalNoCreate only module file
modmanNoCreate all files in folder with a modman file
moduleNameYesName of your module
vendorNamespaceYesNamespace (your company prefix)

Input Schema (JSON Schema)

{ "properties": { "addAll": { "description": "Add blocks, helpers and models", "type": "boolean" }, "addBlocks": { "description": "Add blocks", "type": "boolean" }, "addComposer": { "description": "Add a composer.json file to generated module", "type": "boolean" }, "addHelpers": { "description": "Add helpers", "type": "boolean" }, "addModels": { "description": "Add models", "type": "boolean" }, "addReadme": { "description": "Add a readme.md file to generated module", "type": "boolean" }, "addSetup": { "description": "Add SQL setup", "type": "boolean" }, "addStrictTypes": { "description": "Add strict_types declaration to generated PHP files", "type": "boolean" }, "authorEmail": { "description": "Author email for readme.md or composer.json", "type": "string" }, "authorName": { "description": "Author for readme.md or composer.json", "type": "string" }, "description": { "description": "Description for readme.md or composer.json", "type": "string" }, "enable": { "description": "Enable module after creation", "type": "boolean" }, "minimal": { "description": "Create only module file", "type": "boolean" }, "modman": { "description": "Create all files in folder with a modman file", "type": "boolean" }, "moduleName": { "description": "Name of your module", "type": "string" }, "vendorNamespace": { "description": "Namespace (your company prefix)", "type": "string" } }, "required": [ "vendorNamespace", "moduleName" ], "type": "object" }

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/elgentos/magento2-dev-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server