Skip to content
Zed

JavaLens for Zed

io.github.pzalutski-pixel/javalens

63 semantic Java analysis tools via Eclipse JDT: navigation, refactoring, code intelligence.

client:Zed transport:stdio runtime:npm

Install JavaLens in Zed

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "javalens": {
      "command": "npx",
      "args": [
        "-y",
        "javalens-mcp"
      ],
      "env": {
        "JAVA_PROJECT_PATH": "<JAVA_PROJECT_PATH>",
        "JAVALENS_TIMEOUT_SECONDS": "<JAVALENS_TIMEOUT_SECONDS>",
        "JAVALENS_LOG_LEVEL": "<JAVALENS_LOG_LEVEL>"
      }
    }
  }
}

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

JavaLens in other clients