Phpgraph MCP Server

An AI agent dropped into an unfamiliar PHP project reads files one by one and greps for names. It misses what matters most in a real codebase: who calls what, which handler receives a message, which…

Local serverstdio

What is the Phpgraph MCP Server?

phpgraph is an MCP project maintained in the hbenabdallah/phpgraph repository. The maintainer describes its purpose as “An AI agent dropped into an unfamiliar PHP project reads files one by one and greps for names. It misses what matters most in a…”. Read the project documentation for the complete scope.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-13.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
overviewStart here: Composer stack, namespace tree with layers, bounded contexts, layer-rule violations, messages, HTTP routes (each with method, path, controller and…
query_graphFind the code about a topic when you do not know the class names, by the words of their names (validated finds Validator), with the classes of the feature…
outlineBefore explaining a feature: its structural outline, enough to read only the few files with non-obvious logic. The classes it is made of, by namespace and…
get_nodeRead one class, method, route or channel with all its relations; tests using it are counted by module.
get_neighborsSee what uses a node (in) or what it depends on (out).
impact_ofBefore a change: every class that depends on a class or method, nearest first, with the lines of the calls; callers through the interface it implements; code…
shortest_pathSee how two pieces of code are connected.
god_nodesFind the hubs most of the code depends on.