Skip to main content
Glama

PHPocalypse-MCP

by plapinski

PHPocalypse-MCP

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

前提条件

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

方法

  • まず、このリポジトリ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を使用するか、コマンドを工夫して、より少ない値を返すようにしてください。
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

開発者向けに PHP テストと静的分析ツールを自動的に実行し、結果をカーソル エディターの AI アシスタントに直接提供するメッセージ コントロール プロトコル サーバーです。

  1. 前提条件
    1. 方法
      1. phpocalypse-mcp.yaml設定
        1. 注意点

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            A comprehensive Model Context Protocol server for advanced code analysis that provides tools for syntax analysis, dependency visualization, and AI-assisted development workflow support.
            Last updated -
            28
            4
            Python
          • -
            security
            A
            license
            -
            quality
            An AI-powered MCP server that automates web testing workflows by enabling recording, execution, and discovery of tests through natural language prompts.
            Last updated -
            56
            Python
            Apache 2.0
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants like Cursor to interact with Testomatio test management platform, allowing users to query test cases, runs, and plans through natural language.
            Last updated -
            67
            JavaScript
          • A
            security
            A
            license
            A
            quality
            A server that provides Model Control Protocol (MCP) tools for High Performance Computing, designed to integrate with Large Language Models in IDEs like Cursor and VSCode for debugging and other HPC tasks.
            Last updated -
            1
            1
            Python
            MIT License

          View all related MCP servers

          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