Skip to main content
Glama

PHPocalypse-MCP

Servidor MCP para desarrolladores de Vibe que están demasiado ocupados para ejecutar pruebas y análisis estáticos.

Prerrequisitos

  • Necesitas tener instalado node, npx y tsx

Related MCP server: Tideways MCP Server

Cómo

  • Primero, git clone este repositorio en el directorio elegido

  • Ejecutar npm install

  • A continuación, abra la configuración del cursor y agregue la siguiente configuración MCP:

{
    "mcpServers": {
        "phpocalypse-mcp": {
            "command": "npx",
            "args": ["tsx", "/Absolute/Path/To/PHPocalypse-MCP/src/index.ts", "--config", "/Absolute/Path/To/Your/PHP/Based/Project/phpocalypse-mcp.yaml"]
        }
    }
}

¡Asegúrese de que las rutas sean correctas!

  • En su proyecto PHP, cree el archivo phpocalypse-mcp.yaml

configuración phpocalypse-mcp.yaml

La estructura es sencilla. Define las herramientas asignándoles un nombre y un comando para ejecutarlas.

tools:
  - name: php-cs-fixer
    command: make php-cs

  - name: php-stan
    command: /vendor/bin/phpstan analyse -c phpstan.neon --memory-limit=-1

  - name: tests-unit
    command: docker compose run --rm php ./vendor/bin/phpunit --testsuite=Unit

  - name: tests-behat
    command: task behat -- --no-interaction

Advertencias

  • Este MCP es solo una prueba de concepto y podría no funcionar en todos los casos. Algo que seguramente no funcionará es cualquier entrada interactiva de la CLI. Un buen ejemplo es behat, que, si no se ejecuta en modo no interactivo, preguntará al usuario si se deben generar los fragmentos faltantes. Asegúrese de que sus comandos simplemente se ejecuten y generen información significativa, y deje el resto a su LLM preferido.

  • Algunas salidas más grandes aún no se gestionan correctamente. Para solucionarlo, intenta usar claude-3.7-sonnet o configura tus comandos para que devuelvan menos.

Related MCP Connectors

  • The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.

  • Run, debug, and triage tests from your IDE using natural language, no dashboard switching, no manual data transfers. The TestMu AI (formerly LambdaTest) MCP Server is a single remote server exposing four tool suites: HyperExecute — analyze your project, generate YAML configs and test runner commands, then monitor jobs and sessions. Automation — pull a TestID's details plus command, network, and console logs into one chat for instant root-cause analysis. Includes mobile app upload. SmartUI — explain pixel, layout, DOM, and perceptual changes in a visual regression run, with context-aware React/HTML/CSS fixes. Accessibility — audit any public URL or a local React app against WCAG and get ready-to-apply remediation steps. Connects over https://mcp.lambdatest.com/mcp using OAuth 2.1 — no API keys in your config. One-click install in Cursor; works with Claude, GitHub Copilot, Cline, and any MCP client. Tests execute on the TestMu AI cloud: 3,000+ browsers and 10,000+ real devices.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for building and testing AI agents with multi-model experimentation and insights.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.
    7
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A production-ready Model Context Protocol (MCP) server that bridges your Symfony/PHP project with LLMs such as Claude. It exposes tools that let the AI read your project's routes, services, Twig templates, and PHP source code.
    8
    MIT