MC

Mcp Phpstan Server

Developer Tools
0
GitHub Stars

An MCP server that runs PHPStan static analysis on PHP code — analyze files at a configurable rule level and memory limit, with support for PHPStan Pro, directly from your MCP client.

Installation

⭐ RecommendedMcp-phpstan
/absolute/path/to/mcp-phpstan-server/bin/mcp-phpstan
View configuration snippet
{
  "mcpServers": {
    "phpstan": {
      "command": "/absolute/path/to/mcp-phpstan-server/bin/mcp-phpstan",
      "env": {
        "MCP_PHPSTAN_PATH": "/usr/local/bin/phpstan",
        "MCP_PHPSTAN_CONFIG": "/path/to/your/phpstan.neon",
        "MCP_PHPSTAN_LEVEL": "max",
        "MCP_PHPSTAN_MEMORY_LIMIT": "1G"
      }
    }
  }
}

💡 Tip: Make sure you have the appropriate package manager installed. Refer to the official documentation for detailed installation instructions.

Compatibility Matrix

Filter:

Cursor

STDIO
stdio:Auto-detected (unverified)

Claude Desktop

STDIO
stdio:Auto-detected (unverified)

MCP Compatible

STDIO
stdio:Auto-detected (unverified)
Verified - Tested by community
Unverified - Not yet tested
⚡ STDIO🌊 SSE🌐 HTTP

Server Information

License:unknown
Classification:active
Source:Data aggregated from public MCP directories

Quick Stats

Transports:
STDIO
Compatible Clients:3
Install Methods:1

Like this server?

Discover more MCP servers or submit your own to directory.