Skip to content
Zed

pmd for Zed

io.github.roeiba/pmd

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

client:Zed transport:stdio runtime:npm

Install pmd in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "pmd": {
      "command": "npx",
      "args": [
        "-y",
        "@springsoftware/pmd-mcp"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

pmd in other clients