An MCP server that exposes PMD static code analysis and copy-paste detection to AI assistants. It can analyze source files with PMD rulesets, detect duplicated code, and list supported languages and rulesets.
From the registry: MCP server for PMD static code analyzer - run code analysis and detect duplicates
$ brew install pmdhttps://pmd.github.io/$ pmd --versionPlease install the `pmd` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Node.js 18+** — Node.js version 18 or higher is required to run the MCP server via npx.
- **Install PMD locally** — PMD must be installed locally and available in your PATH for the server to provide static analysis capabilities. Run: `brew install pmd` (https://pmd.github.io/)
Optional prerequisites:
- Verify PMD installation — Confirm that PMD is installed and accessible from your PATH. Run: `pmd --version`
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["@springsoftware/pmd-mcp"]
Note: The README provides a stdio configuration using npx. No environment variables are documented. PMD must already be installed locally and accessible on PATH.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.