Skip to content
Grok

pmd for Grok

io.github.roeiba/pmd

MCP server for PMD static code analyzer - run code analysis and detect duplicates

client:Grok transport:stdio runtime:npm

Install pmd in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "pmd": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@springsoftware/pmd-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

pmd in other clients