phpgraph MCP
phpgraph provides a knowledge graph of PHP codebases for AI coding agents like Claude Code, Codex, and Cursor over the Model Context Protocol (MCP). It performs static analysis to answer questions about code impact, feature outlines, handlers, routes, and layer rules without running the code or using LLMs locally. It parses the project once to give agents structured answers in one call, reducing token usage for complex queries.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List classes that must change when an interface method signature is modified
- Identify service container bindings and message bus routes
- Analyze impact of code changes across a PHP codebase
- Provide feature outlines and handler mappings for AI agents
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.3.0
{
"transport": "stdio",
"identifier": "ghcr.io/alpine-ronin/phpgraph:2.3.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-3-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.3.0"
]
}
}
}Cline
{
"mcpServers": {
"phpgraph-mcp-2-3-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.3.0"
]
}
}
}VS Code
{
"servers": {
"phpgraph-mcp-2-3-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.3.0"
]
}
}
}Claude Desktop
{
"mcpServers": {
"phpgraph-mcp-2-3-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.3.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.