phpgraph MCP
A community MCP server that provides a knowledge graph of PHP codebases for AI coding agents. It performs static analysis to map callers, interfaces, service containers, message buses, and routes, enabling agents to understand impact of changes and feature outlines without running code or using LLMs.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Identify classes affected by interface changes
- Trace caller chains through service containers
- Map routes to controllers
- List dependent tests for a class
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/alpine-ronin/phpgraph:2.5.0
{
"transport": "stdio",
"identifier": "ghcr.io/alpine-ronin/phpgraph:2.5.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-5-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.5.0"
]
}
}
}Cline
{
"mcpServers": {
"phpgraph-mcp-2-5-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.5.0"
]
}
}
}VS Code
{
"servers": {
"phpgraph-mcp-2-5-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.5.0"
]
}
}
}Claude Desktop
{
"mcpServers": {
"phpgraph-mcp-2-5-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.5.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.