MCP Magento Audit
Audit Magento 2 projects for upgrade blockers, risky modules and vulnerable packages
MCP Magento Audit is an open-source MCP server for e-commerce. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.5.0
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add mcp-magento-audit -- uvx mcp-magento-auditAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-magento-audit": {
"command": "uvx",
"args": [
"mcp-magento-audit"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-magento-audit": {
"command": "uvx",
"args": [
"mcp-magento-audit"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-magento-audit": {
"command": "uvx",
"args": [
"mcp-magento-audit"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-magento-audit": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-magento-audit"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-magento-audit -- uvx mcp-magento-auditOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-magento-audit]
command = "uvx"
args = ["mcp-magento-audit"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-magento-audit": {
"command": "uvx",
"args": [
"mcp-magento-audit"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }Or run: gemini mcp add -s user mcp-magento-audit uvx -- mcp-magento-audit
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-magento-audit": { "command": "uvx", "args": [ "mcp-magento-audit" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About MCP Magento Audit
The question this server targets is the one Magento agencies keep asking: can this client move to a newer PHP and Magento version, and what is in the way. It runs eight tools over stdio and returns structured findings rather than a guess, marking checks it could not run as unverified so a clean result is never mistaken for full coverage.
The README positions it against plain Composer. Security and outdated checks shell out to composer audit and composer outdated, while custom code in app/code, which no vulnerability database covers, is scanned with phpcs, phpstan and rector. It also flags core overrides, ObjectManager misuse and dangling DI or layout references. build_upgrade_plan merges these into one list of blockers, and build_fleet_overview triages many projects at once.
For projects developed inside DDEV, Warden, Lando or Docker, set MCP_MAGENTO_AUDIT_EXEC_PREFIX so the tool calls run inside the container. Release notes come from magento/magento2 GitHub Releases, and a GITHUB_TOKEN raises the API rate limit. The author describes it as early-stage decision support, not a replacement for testing an upgrade.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 4 of 8 tools read data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- get_project_statusName suggests: reads
- Magento version, PHP requirement, package count and abandoned packages.
- check_updatesName suggests: reads
- Per-package verdicts against a target PHP and Magento version.
- scan_module_risk
- Scans code with phpcs, phpstan and rector plus Magento-specific checks.
- audit_security
- Checks installed packages for known advisories via composer audit.
- check_outdated_packagesName suggests: reads
- Lists packages with newer versions via composer outdated.
- fetch_release_notesName suggests: reads
- Fetches release notes from magento/magento2 GitHub Releases.
- build_upgrade_plan
- Combines other tools into a list of upgrade blockers.
- build_fleet_overview
- Triages many projects against a target PHP and Magento version.
What it does
- Upgrade readiness
- Gives per-package verdicts against a target PHP and Magento version, plus a Rector-based code compatibility check.
- Custom module scanning
- Runs phpcs, phpstan and rector on app/code and checks for core overrides and dangling references.
- Dependency security
- Checks installed packages for known advisories through composer audit.
- Combined upgrade plan
- Merges compatibility, quality and security findings into one blocker list with a ready flag.
- Fleet overview
- Triages many project paths at once to show which can be upgraded today.
- Container support
- An exec prefix variable runs checks inside DDEV, Docker Compose and similar setups.
Good for
- Decide whether a client store can move to a newer Magento version
- Find which custom module should be fixed first before an upgrade
- Check a store's installed packages for known advisories
- Compare upgrade readiness across a portfolio of stores
- Pull release notes for a Magento version without relying on model memory
Pricing
Open source
MCP Magento Audit FAQ
What does MCP Magento Audit check?
Compatibility with a target PHP and Magento version, quality of custom modules and dependency security.
Does MCP Magento Audit replace composer audit?
No. It calls composer audit and composer outdated and adds scanning of custom code and combined planning.
Why do some checks say scanned=false?
The tools need the project's own vendor/bin and composer. If those live inside a container, set MCP_MAGENTO_AUDIT_EXEC_PREFIX, for example `ddev exec --`.
How do I avoid GitHub rate limits?
Set GITHUB_TOKEN or GH_TOKEN; a read-only token with no scopes is enough.
Is MCP Magento Audit free?
Yes. MCP Magento Audit is open source, so you can use and self-host it for free.
How do I add MCP Magento Audit to Claude Code?
Run this command in your terminal: claude mcp add mcp-magento-audit -- uvx mcp-magento-audit
What are the best alternatives to MCP Magento Audit?
The closest alternatives to MCP Magento Audit are REA, Codebase Memory, Serena MCP: the IDE for your agent, XERJ and Context7.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.



