JVM Source Lens

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

stdiocommunityapplication

Package Details

Transportstdio
Runtimenpx

Runtime Arguments

Named
-y
Install the package via npx without a confirmation prompt.

Package Arguments

Positional
Position 0
mcpRun the bundled MCP server (stdio transport).

Environment Variables

JVMSRC_ALLOWED_ROOTS(str)

Optional comma-separated absolute paths; only these project roots are allowed.

JVMSRC_CACHE_ROOT(str)

Optional absolute path for resolution and decompile caches (default: OS cache dir).

JVMSRC_LOG_DIR(str)

Optional absolute path for failure diagnostic logs.

JVMSRC_MAX_SOURCE_OUTPUT_CHARS(str)

Max characters returned for full-file source (default 524288).

JVMSRC_GRADLE_TIMEOUT_MS(str)

Gradle resolution subprocess timeout in milliseconds.

JVMSRC_CFR_PATH(file)

Optional path to a custom CFR JAR for decompilation.