Best PHP MCP Servers
PHP is a popular general-purpose scripting language that is especially suited to web development.
Why this server?
Audits PHP test doubles built with PHPUnit, Pest, or Mockery, catching signatures that no longer match the real class, including stubbed methods, return values, and visibility violations.
AlicenseAqualityAmaintenanceChecks mocks, stubs, and spies against current production code to detect stale or mismatched test doubles without running any tests.3MITWhy this server?
Provides access to Scout APM performance monitoring data for PHP applications, including traces, errors, endpoint metrics, and performance insights

Scout Monitoring MCPofficial
AlicenseAqualityBmaintenanceEnables 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.1530MITWhy this server?
Indexes PHP codebases to provide symbol search, call graph navigation, and change impact analysis.

osnovaofficial
AlicenseAqualityAmaintenanceEnables read-only querying of a local repository through a deterministic tree-sitter symbol and edge graph, exposing keyword search with exact file:line hits, regex text search, per-file symbol skeletons, caller/callee traversal, and directory-level maps of clusters, hubs, and hotspots over stdio.10709 npm1Apache 2.0Why this server?
Deploys registered PHP applications, configuring PHP-FPM and application public directories for serving.

Gimme MCPofficial
AlicenseAqualityBmaintenanceEnables provisioning a fixed Ubuntu host and deploying registered PHP applications via Deployer, with read-only planning and validated stack/application reconciliation.12MITWhy this server?
Supports indexing and analysis of PHP code, including classes, functions, and namespaces.
AlicenseAqualityDmaintenanceIntelligent code indexing and analysis for Large Language Models, enabling advanced search, file analysis, and real-time monitoring of codebases.12MITWhy this server?
Generates technology-specific prompts and templates for PHP projects, including PRD, codebase analysis, and bug analysis.
AlicenseAqualityCmaintenanceEnables AI assistants to dynamically generate technology-specific prompts and modular templates for PRD, codebase analysis, and bug analysis through programmable tools, supporting 31 technology stacks and multiple analysis dimensions.644 npm4MITWhy this server?
Analyzes logging quality in PHP code, detecting issues like echo/print overuse, error swallowing, and provides improvement suggestions.
AlicenseAqualityDmaintenanceAn intelligent MCP server that analyzes logging quality in your code and provides improvement suggestions using LLM-powered insights.48 npmApache 2.0Why 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.
AlicenseBqualityAmaintenanceEnables 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.46283 npm27MITWhy 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.
AlicenseAqualityBmaintenanceGenerates 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.9MIT