PHPocalypse-MCP
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 cloneeste repositorio en el directorio elegidoEjecutar
npm installA 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-interactionAdvertencias
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-sonneto configura tus comandos para que devuelvan menos.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.7MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol (MCP) server that enables AI assistants to query Tideways performance monitoring data and provide conversational performance insights for PHP applications.5133MIT
- AlicenseAqualityCmaintenanceA 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.8MIT
- FlicenseAqualityDmaintenanceAn MCP server that lets AI agents run PHP unit and integration tests inside Docker containers without local PHP or Composer.212
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/plapinski/PHPocalypse-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server