JVM Source Lens

MCP

by Sintexer · v1.13.1

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

mcplocal

MCP configuration

stdio

Command

npx -y -y jvmsrc@1.13.1 mcp

Environment

  • 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.

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.