J

JVM Source Lens

MCP server · by Sintexer

Developer Tools npm v1.16.0

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 1.16.0

npm
npx -y jvmsrc

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "jvmsrc": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc"
      ]
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

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

GitHub

⭐ 4 stars · 最近更新于 23 天前 · MIT license

About this server

jvmsrc — Give your coding agent a Java IDE An MCP server and CLI that gives your coding agent the one thing it's missing on JVM codebases: the actual classpath . The Problem You use an IDE to write Java. Your coding agent doesn't have one. When your agent hits an unfamiliar…

Summary from the project README — github.com/Sintexer/jvm-source-lens

Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the JVM Source Lens MCP server do?

jvmsrc — Give your coding agent a Java IDE An MCP server and CLI that gives your coding agent the one thing it's missing on JVM codebases: the actual classpath . The Problem You use an IDE to write Java. Your coding agent doesn't have one. When your agent hits an unfamiliar

How do I install JVM Source Lens?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is JVM Source Lens free to use?

The MCP server itself is free to install. The source is public on https://github.com/Sintexer/jvm-source-lens. Any third-party service it calls may require its own API key and account.

Which clients support JVM Source Lens?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/jvmsrc.svg)](https://mcpnav.net/server/jvmsrc/)

HTML

<a href="https://mcpnav.net/server/jvmsrc/"><img src="https://mcpnav.net/badge/jvmsrc.svg" alt="Listed on MCPNav" height="20"></a>