Skip to content
Grok

php mcp for Grok

io.github.mrfentmen/php-mcp

PHP MCP: 20 real tools to read, check, lint, scaffold, build and run PHP code.

client:Grok transport:stdio runtime:npm

Install php mcp in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "php-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/php-mcp"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

php mcp in other clients