PHPStan
A lightweight PHPStan MCP server that exposes static analysis capabilities through two specialized tools: phpstan_analyze for human-readable reports and phpstan_pro for raw JSON output. Built with zero external dependencies using only native PHP, it features automatic PHPStan binary detection (preferring vendor/bin/phpstan), configuration file discovery, and flexible path normalization for analyzing PHP codebases. The implementation includes a custom autoloader, JSON-RPC message handling over STDIO, and configurable analysis levels, making it useful for integrating PHPStan static analysis into AI-assisted development workflows, automated code review processes, and quality assurance pipelines.
Composite of vulnerability cleanliness, spec conformance, provenance, stability, and usage signals — scanned and weighted by Cognium. Human and agent signals are tracked separately.
View full trust & usage report →Metadata
- Version
- 1.0.0
- Skill type
- atomic
- Execution layer
- mcp-remote
- Category
- devops-ci
- Source
- PulseMCP
- Repository
- github.com/larspohlmann/mcp-phpstan-server
- Author type
- human
- Updated
- 2026-04-25
Use via MCP
Resolve PHPStan from your agent
Streamable HTTP transport at https://api.skillsregistry.net/mcp. No auth for read tools. Discovery: .well-known/mcp.json.
One command in your shell — Claude Code wires it up and verifies the connection. Run /mcp in any session to confirm.
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp --scope user for --scope project to commit it to .mcp.json.