Skip to main content
Glama

PHPocalypse-MCP

忙しくてテストや静的分析を実行できない Vibe 開発者向けの MCP サーバー。

前提条件

  • node、npx、tsxがインストールされている必要があります

Related MCP server: Tideways MCP Server

方法

  • まず、このリポジトリgit clone選択したディレクトリにコピーします。

  • npm install実行する

  • 次に、カーソル設定を開き、次の 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"]
        }
    }
}

パスが正しいことを確認してください。

  • PHPプロジェクトでphpocalypse-mcp.yamlファイルを作成します。

phpocalypse-mcp.yaml設定

構造はシンプルです。ツールに名前と実行するコマンドを指定して定義します。

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

注意点

  • このMCPは概念実証であり、すべてのケースで動作するとは限りません。確実に動作しないものの一つは、対話型CLI入力です。良い例としてbehatが挙げられます。これは、非対話型モードで実行されていない場合、不足しているスニペットを生成するかどうかをユーザーに確認するプロンプトを表示します。コマンドは実行され、意味のある出力が得られるようにし、残りはお好みのLLMに任せましょう。

  • 大きな出力の一部は、まだ正しく処理されていません。これを修正するには、 claude-3.7-sonnetを使用するか、コマンドを工夫して、より少ない値を返すようにしてください。

A
license - permissive license
Not graded
quality - not tested
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • 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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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