Skip to content
Claude Desktop

JVM Source Lens for Claude Desktop

io.github.sintexer/jvmsrc

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

client:Claude Desktop transport:stdio runtime:npm

Install JVM Source Lens in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

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

{
  "mcpServers": {
    "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>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

JVM Source Lens in other clients