
Mcp Magento Audit
io.github.michalperPublished by GitHub account michalperv0.4.0Updated Oct 28, 2026
MCP server for auditing Magento projects: update compatibility, module quality, dependency security
The publisher's own server: audit.domains - Domain Valuation
Overview
Audits Magento 2 / Adobe Commerce projects: upgrade compatibility, custom module quality and dependency security, with a combined upgrade plan.
- What you can do
- Report project status: Magento version, PHP requirement, package count, abandoned packages
- Check each package against a target PHP/Magento version and flag code needing Rector changes
- Scan custom module code with phpcs, phpstan and rector, plus core-override and dangling-reference checks
- Audit installed packages for known advisories and list outdated packages via Composer
- Fetch Magento release notes from GitHub Releases
- Combine findings into an upgrade plan with blockers, and triage many projects in one fleet overview
- When to use it
- Useful for Magento agencies and developers deciding whether a store can be bumped to a newer PHP or Magento version, what blocks it, and which custom modules or packages to fix first. Also handy for a quick first pass across many store projects.
- Requirements
- Runs locally as a Python package (mcp-magento-audit) over stdio; the README installs it from source in a Python 3.12 virtualenv. The audited project needs Composer and its own vendor/bin tools (phpcs, phpstan, rector) available; for container-based setups set MCP_MAGENTO_AUDIT_EXEC_PREFIX. Optional GITHUB_TOKEN or GH_TOKEN raises GitHub API rate limits.
Installation
In SourceWeft
- Open Mcp Magento Audit in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-magento-audit
[CI] [PyPI] [michalper/mcp-magento-audit MCP server] [License: MIT] [Python 3.12+] [Ruff] [Last commit]
An MCP server giving an AI agent tools to assess a Magento 2 / Adobe Commerce project along three axes: compatibility with a target PHP and Magento version, quality of custom modules, and dependency security.
It answers the question that never stops coming up in Magento agencies: "can we bump this client to a newer version, what's blocking it, and where do we start?"
Status: early stage. Built on evenings/weekends. All eight planned tools (
get_project_status,check_updates,scan_module_risk,audit_security,check_outdated_packages,fetch_release_notes,build_upgrade_plan,build_fleet_overview) are working. SeeROADMAP.mdfor what's next.
How this differs from composer audit
composer audit and composer outdated are built into Composer and do their job well —
audit_security and check_outdated_packages actually shell out to them rather than
reimplementing a CVE database or version comparison. This server targets what plain
Composer doesn't give you:
- It doesn't see
app/code. Custom modules don't exist on Packagist, so they get zero coverage from vulnerability databases — and that's exactly the code agencies write.scan_module_riskcovers that side withphpcs/phpstan/rectorinstead. - It doesn't combine axes. Nobody gets one answer: this module blocks the upgrade,
has an open CVE, is abandoned by its author, and has the worst complexity in the
project — fix this one first.
build_upgrade_plandoes, foldingaudit_security's advisories in alongside composer-constraint and code-quality blockers. - It doesn't aggregate across projects. "Which of our twenty stores can be upgraded
today" requires stitching results together from many directories by hand.
build_fleet_overviewruns the composer-constraint check across every project path given to it in one call — a fast first pass, not a replacement for a fullbuild_upgrade_planper project.
What this server doesn't pretend to be: there's no clean dataset of "module X works
with Magento 2.4.8". Results are derived from declarations in composer.json, a code
scan, and the vendor's own release notes — this is a decision-support tool, not an
oracle. Upgrading a production store still requires testing, not just a report.
Install
Connecting to Claude Code
Projects that develop inside Docker/DDEV/Warden/Lando
scan_module_risk (phpcs/phpstan/rector), check_updates's code_compatibility signal, and
audit_security/check_outdated_packages all shell out to the project's own vendor/bin/*
and composer. If that project only has PHP/Composer available inside a dev container
— common for Magento — and this MCP server runs on the host, every one of those checks
will correctly report scanned=false with a reason rather than silently being wrong, but
that's easy to misread as "found nothing" instead of "couldn't check".
Set MCP_MAGENTO_AUDIT_EXEC_PREFIX to wrap every one of those calls in a command that
runs it inside the container instead, e.g.:
This assumes the usual bind-mount setup (the project directory mirrors the same
relative layout inside the container, just under a different root) — host-absolute
paths like vendor/bin/phpcs are rewritten relative to the project root before being
wrapped, and composer resolves against the container's own PATH rather than the
host's. If that assumption doesn't hold for a given setup, running this server from
inside the dev container directly (no prefix needed) is the more reliable fallback.
Rate limits on GitHub API calls
fetch_release_notes calls the GitHub REST API, capped at 60 requests/hour per IP when
unauthenticated — easily hit from a shared office/CI IP running build_fleet_overview or
build_upgrade_plan across many projects. Set GITHUB_TOKEN (or GH_TOKEN) in the
environment to raise that to 5000/hour; a read-only, no-scope token is enough, since this
only ever reads public release data.
Example
An agent calling build_upgrade_plan against a store that has one abandoned, PHP-7-only
package and no phpstan.neon of its own (trimmed — the real result also includes
release_notes, and the full update_check/scan_module_risk results each blocker was
derived from):
ready is false because of a real blocker, not a guess; unverified says phpstan never
ran at all, so a clean result elsewhere isn't mistaken for "everything was checked".
Tools
Development
Run .venv/bin/pre-commit install once to run all of the above (except
pip-audit, which needs network access and stays CI-only) on every commit.
Architectural decisions are recorded in docs/adr/. See CHANGELOG.md for what
changed in each release.
License
MIT
Source: README.md at commit da28aee
Tools
0Version history
3- v0.4.0LatestOct 18, 2026
- v0.3.0Oct 17, 2026
- v0.1.1Oct 17, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Audit integrations
audit.domains - Domain Valuation
domains.auditOfficial publisher
Deterministic domain-name valuation: fair-value intervals, comparable recorded sales, availability checks, and a verified for-sale listing market.
Revenue Agent — OpenAPI Audit & Change Detection
news.prhOfficial publisher
A remote MCP endpoint that audits OpenAPI specifications and detects API changes, charging $0.10 USDC per analysis via x402 on Base.

SEO Audit & Broken Link Checker
Published by GitHub account prometheus-maker
An Apify-hosted MCP server that audits a website's pages for SEO metadata and finds broken links and images, returning per-page scores.

FinePrint AI Legal Risk & Contract Audit MCP Server
Published by GitHub account RitualDev-Lab
Local in-memory scanner that grades legal contracts, NDAs and leases for risk and drafts redline amendments for coding agents.

Mcp Supply Audit
Published by GitHub account kimmawla
Audits MCP servers as supply-chain artifacts — registry entries, PyPI/npm packages, client configs and tool definitions — using read-only static checks.