Skip to content
Zed

JVM Source Lens for Zed

io.github.sintexer/jvmsrc

Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.

client:Zed transport:stdio runtime:npm

Install JVM Source Lens 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": {
    "jvmsrc": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "<JVMSRC_ALLOWED_ROOTS>",
        "JVMSRC_CACHE_ROOT": "<JVMSRC_CACHE_ROOT>",
        "JVMSRC_LOG_DIR": "<JVMSRC_LOG_DIR>",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
        "JVMSRC_GRADLE_TIMEOUT_MS": "<JVMSRC_GRADLE_TIMEOUT_MS>",
        "JVMSRC_CFR_PATH": "<JVMSRC_CFR_PATH>"
      }
    }
  }
}

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

JVM Source Lens in other clients