drio
Open app

PHPocalypse-MCP

Source

MCP server for vibe developers that are too busy to run tests and static analysis.

Catalog onlyCatalog onlySTDIO

Overview

PHPocalypse-MCP is a server designed for vibe developers who are too busy to run tests and static analysis on their PHP projects.

To use PHPocalypse-MCP, clone the repository, install the necessary packages, and configure your MCP settings in your PHP project.

  • Simplifies the process of running tests and static analysis for PHP projects. - Allows configuration of various tools through a YAML file. - Supports non-interactive command execution for seamless integration.
  1. Automating static analysis for PHP codebases.
  2. Running unit tests without manual intervention.
  3. Integrating with CI/CD pipelines for PHP applications.

Add to your AI client

Use these steps to connect PHPocalypse-MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "phpocalypse-mcp-plapinski": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phpocalypse-mcp-plapinski"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "phpocalypse-mcp-plapinski": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phpocalypse-mcp-plapinski"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "phpocalypse-mcp-plapinski": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phpocalypse-mcp-plapinski"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "phpocalypse-mcp-plapinski": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phpocalypse-mcp-plapinski"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "phpocalypse-mcp-plapinski": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phpocalypse-mcp-plapinski"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "phpocalypse-mcp-plapinski": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-phpocalypse-mcp-plapinski"
      ]
    }
  }
}

FAQ

Is PHPocalypse-MCP suitable for all PHP projects?

It is designed for PHP projects but may not work in every case, especially with interactive CLI inputs.

What are the prerequisites for using PHPocalypse-MCP?

You need to have Node.js, npx, and tsx installed.

Can I customize the tools used in PHPocalypse-MCP?

Yes! You can define your own tools and commands in the `phpocalypse-mcp.yaml` configuration file.