← Index

JVM Source Lens

io.github.Sintexer/jvmsrc·v1.8.1·Other
Quality Score
95
/100

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

§00  Trust verdict · v1 advisory ·  method
UNVERIFIEDno verdict on file

Verdict not yet evaluated for this tool. The hybrid eval runs adversarial cases first; coverage rolls out as the corpus expands. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: hybrid eval, four-state verdict, honest limits.

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "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>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "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>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y jvmsrc
§02  Environment variables
JVMSRC_ALLOWED_ROOTS

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

JVMSRC_CACHE_ROOT

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

JVMSRC_LOG_DIR

Optional absolute path for failure diagnostic logs.

JVMSRC_MAX_SOURCE_OUTPUT_CHARS

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

JVMSRC_GRADLE_TIMEOUT_MS

Gradle resolution subprocess timeout in milliseconds.

JVMSRC_CFR_PATH

Optional path to a custom CFR JAR for decompilation.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
10
§04  Alternatives in Other