Koskamo

phpgraph MCP

A static analysis tool that builds a knowledge graph of PHP codebases to support AI coding agents via the Model Context Protocol (MCP). It extracts deterministic facts about call graphs, architecture layers, message buses, HTTP routes, and dependency injection without executing code or using LLMs. It supports frameworks like Symfony, Laravel, and WordPress, providing impact analysis and type inference to help agents understand code structure and dependencies.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

phpgraph MCP logo, by hbenabdallahCommunity listingLocal stdioSource reviewed; not executedPublished by hbenabdallah
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 3 GitHub stars

What you can do with it

  • Analyze call graphs and type inference for PHP methods
  • Perform impact analysis to determine what breaks when a method changes
  • Map message buses and event handlers for Symfony, Laravel, or Ecotone
  • Identify HTTP routes and their linked controllers in Symfony or Laravel

Source and maintenance

Community listingRegistry 2.0.0MIT
Last repository push
Latest release
v2.0.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

ghcr.io/hbenabdallah/phpgraph:2.0.0

oci
ghcr.io/hbenabdallah/phpgraph:2.0.0 package definition
{
  "transport": "stdio",
  "identifier": "ghcr.io/hbenabdallah/phpgraph:2.0.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.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "phpgraph-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hbenabdallah/phpgraph:2.0.0"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "phpgraph-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hbenabdallah/phpgraph:2.0.0"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "phpgraph-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hbenabdallah/phpgraph:2.0.0"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "phpgraph-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hbenabdallah/phpgraph:2.0.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.