Skip to main content
Glama
Midhun-edv

Magento 2 Coding Standards MCP Server

by Midhun-edv

validate_code

Check code for Magento 2 standards compliance. Identifies violations with severity levels, line numbers, and provides fix suggestions for PHP, templates, JavaScript, and stylesheets.

Instructions

Validate code against Magento 2 coding standards. Returns violations with severity, line numbers, and fix suggestions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe code to validate
fileTypeYesType of file: php (PHP classes), phtml (templates), js (JavaScript), less/css (stylesheets)

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/Midhun-edv/magento-coding-standard-mcp'

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