phpgraph MCP
phpgraph provides a knowledge graph of PHP codebases for AI coding agents via the Model Context Protocol. It performs static analysis to answer questions about code impact, feature outlines, handler routing, and layer rule compliance without using LLMs or network calls. It supports frameworks like Symfony, Laravel, and Sylius.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Determine what breaks if a specific method is changed
- Outline how a feature works including classes and routes
- Identify which handler receives a specific message
- Check if code respects defined architectural layers
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/hbenabdallah/phpgraph:2.1.0
{
"transport": "stdio",
"identifier": "ghcr.io/hbenabdallah/phpgraph:2.1.0",
"registryType": "oci",
"runtimeArguments": [
{
"name": "--mount",
"type": "named",
"value": "type=bind,src={project_path},dst=/project",
"variables": {
"project_path": {
"format": "filepath",
"isRequired": true,
"description": "Absolute path of the PHP project on the host"
}
},
"isRequired": true,
"description": "The PHP project to analyse, mounted at /project"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"phpgraph-mcp-2-1-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hbenabdallah/phpgraph:2.1.0"
]
}
}
}Cline
{
"mcpServers": {
"phpgraph-mcp-2-1-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hbenabdallah/phpgraph:2.1.0"
]
}
}
}VS Code
{
"servers": {
"phpgraph-mcp-2-1-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hbenabdallah/phpgraph:2.1.0"
]
}
}
}Claude Desktop
{
"mcpServers": {
"phpgraph-mcp-2-1-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/hbenabdallah/phpgraph:2.1.0"
]
}
}
}Let your agent find its tools
Find servers like phpgraph MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.