Best PHP MCP Servers
PHP is a popular general-purpose scripting language that is especially suited to web development.
Why this server?
Provides access to Scout APM performance monitoring data for PHP applications, including traces, errors, endpoint metrics, and performance insights
AsecurityAlicense-qualityEnables AI assistants to access Scout Monitoring performance and error data through Scout's API. Provides traces, errors, metrics, and insights for Rails, Django, FastAPI, Laravel and other applications to help identify and fix performance issues like N+1 queries, slow endpoints, and memory bloat.Last updated 11 days ago927MITWhy this server?
Generates PHP code for Magento 2 modules including blocks, helpers, models, and setup scripts with strict type declarations
AsecurityAlicense-qualityEnables AI agents to interact with Magento 2 development environments through comprehensive tools for module management, database operations, cache control, configuration management, and system diagnostics. Supports complete development workflows from module creation to deployment and troubleshooting.Last updated a month ago283436MITWhy this server?
Offers validation and security checking for PHP code, with the ability to detect issues like prefix violations and apply custom coding standards to PHP files.
AsecurityAlicense-qualityA lightweight, configurable server that fetches coding guidelines, security rules, and validation patterns from external sources to help development teams maintain code quality standards in WordPress projects.Last updated 5 months ago35MITWhy this server?
Provides primary support for PHP documentation generation, creating structured documentation from PHP source code comments.
AsecurityAlicense-qualityA comprehensive server that enables AI assistants to generate, configure, and manage Doxygen documentation for various programming languages through a clean interface.Last updated 3 months ago72GPL 3.0Why this server?
Offers comprehensive validation for PHP code, covering security rules, discouraged functions, and framework-compliant architectural patterns.
AsecurityAlicense-qualityProvides AI assistants with comprehensive Magento 2 coding standards, security rules, and theme-specific guidelines to ensure generated code is compliant. It enables real-time code validation, pattern lookup, and security auditing tailored to different Magento frontend stacks.Last updated 2 months ago712MITWhy this server?
Provides comprehensive PHP debugging capabilities through Xdebug's DBGp protocol, including breakpoint management, step debugging, variable inspection, expression evaluation, watch expressions, logpoints, memory profiling, and code coverage tracking.
AsecurityAlicense-qualityEnables AI assistants to debug PHP applications through Xdebug's DBGp protocol, providing full debugging control including breakpoints, variable inspection, stack traces, and advanced features like watch expressions and code coverage.Last updated 9 days ago4626116MITWhy this server?
Performs AST-based analysis of PHP 8+ projects using nikic/php-parser to extract namespaces, classes, methods, enums, traits, attributes, PHPDoc comments, routes, and middleware with framework detection.
AsecurityAlicense-qualityGenerates professional documentation for multi-language codebases with deep AST-based code analysis, supporting Docusaurus, MkDocs, and Sphinx frameworks. Includes API documentation generation, PDF export, OpenAPI spec generation, and sales-ready documentation for code marketplaces.Last updated 4 months ago9MITWhy this server?
Performs deep AST-based analysis of PHP 8+ code including namespaces, types, enums, traits, attributes, routes, and middleware detection.
AsecurityAlicense-qualityGenerates professional documentation for multi-language projects with deep code analysis, supporting frameworks like Docusaurus, MkDocs, and Sphinx, including API docs, PDF export, and OpenAPI specifications.Last updated 4 months ago9MITWhy this server?
Offers parsing and code structure analysis for PHP files, extracting functions, classes and other definitions
AsecurityAlicense-qualityAn MCP server that scans codebases to extract structural information (classes, functions, etc.) with flexible filtering options and outputs in LLM-friendly formats.Last updated 10 months ago12GPL 3.0