Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

JVM Source Lens

by Sintexerversion 1.16.0i★ –iRuns on your computer
Registry nameio.github.Sintexer/jvmsrc

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: JVMSRC_ALLOWED_ROOTS, JVMSRC_CACHE_ROOT, JVMSRC_LOG_DIR, JVMSRC_MAX_SOURCE_OUTPUT_CHARS, JVMSRC_GRADLE_TIMEOUT_MS, JVMSRC_CFR_PATH

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "jvmsrc": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc",
        "mcp"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "your-value",
        "JVMSRC_CACHE_ROOT": "your-value",
        "JVMSRC_LOG_DIR": "your-value",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "your-value",
        "JVMSRC_GRADLE_TIMEOUT_MS": "your-value",
        "JVMSRC_CFR_PATH": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add jvmsrc --env JVMSRC_ALLOWED_ROOTS=your-value --env JVMSRC_CACHE_ROOT=your-value --env JVMSRC_LOG_DIR=your-value --env JVMSRC_MAX_SOURCE_OUTPUT_CHARS=your-value --env JVMSRC_GRADLE_TIMEOUT_MS=your-value --env JVMSRC_CFR_PATH=your-value -- npx -y jvmsrc mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "jvmsrc": {
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc",
        "mcp"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "your-value",
        "JVMSRC_CACHE_ROOT": "your-value",
        "JVMSRC_LOG_DIR": "your-value",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "your-value",
        "JVMSRC_GRADLE_TIMEOUT_MS": "your-value",
        "JVMSRC_CFR_PATH": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "jvmsrc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "jvmsrc",
        "mcp"
      ],
      "env": {
        "JVMSRC_ALLOWED_ROOTS": "your-value",
        "JVMSRC_CACHE_ROOT": "your-value",
        "JVMSRC_LOG_DIR": "your-value",
        "JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "your-value",
        "JVMSRC_GRADLE_TIMEOUT_MS": "your-value",
        "JVMSRC_CFR_PATH": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • JVMSRC_ALLOWED_ROOTS env
    Optional comma-separated absolute paths; only these project roots are allowed.
  • JVMSRC_CACHE_ROOT env
    Optional absolute path for resolution and decompile caches (default: OS cache dir).
  • JVMSRC_LOG_DIR env
    Optional absolute path for failure diagnostic logs.
  • JVMSRC_MAX_SOURCE_OUTPUT_CHARS env
    Max characters returned for full-file source (default 524288).
  • JVMSRC_GRADLE_TIMEOUT_MS env
    Gradle resolution subprocess timeout in milliseconds.
  • JVMSRC_CFR_PATH env
    Optional path to a custom CFR JAR for decompilation.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Sintexer, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 32683 servers in this category
  • Published to the registry more recently than 35% of the other 32683 servers in this category
  • Basic checks equal to or better than 100% of the other 32683 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is JVM Source Lens safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.16.0) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, MCP Server Autocad Lisp Helper

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

by formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Runs on your computer★ 440MITUpdated 14 months ago
Install

Remote Desktop Commander

by desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Runs in the cloud★ 211Updated 2 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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 library type — say, a superclass from a proprietary internal library — it spends 25+ turns walking ~/.gradle/caches, opening JARs by hand with jar tf, picking one by guesswork, and trying to answer a question your IDE would answer in one keystroke: *does this superclass have a public utility method called X?*

The Solution

jvmsrc queries your build tool (Gradle) for *this project's* resolved classpath, then hands your agent real source, real signatures, and real structure — for the exact version your build actually uses.

  • As an MCP server – Connect to Claude Code, Cursor, Windsurf, or any other MCP host and equip your agent with six purpose-built classpath tools.
  • As the `jvmsrc` CLI – Same engine, scriptable, pipe-friendly, and useful on its own when you just want to read a class.

Claude Code resolving HandlerInterceptor signatures via jvmsrc — 3 calls, correct answer, no cache walking.


What it saves, daily

On JVM projects with private libraries and no public Javadocs, jvmsrc is a force multiplier:

  • ~50K tokens saved per "what's on this external class" investigation — roughly 70% reduction in cost.
  • 15+ agent panic loops avoided daily — no grinding through Gradle caches, opening wrong JARs, or giving up.
  • Unlock delegation for complex tasks touching internal SDKs that you previously had to do yourself.

The Difference in Action

Without jvmsrc (The 25-turn blind grind)

User: Override the audit hook from AbstractTradingService — is there a public utility method on it we should reuse?

Agent:

1. *Searches workspace for AbstractTradingService.java* ➔ 0 hits

2. *Runs:* find ~/.gradle -name "trading-core*"

3. *Finds 4 versions:* 2.1.0, 2.3.0, 2.4.1, 3.0.0-SNAPSHOT

4. *Guesses:* Picks trading-core-2.4.1.jar (the project actually uses 3.0.0-SNAPSHOT!)

5. *Runs:* jar tf and javap -p on the wrong JAR

6. [22 turns later] *"I don't see a utility method, you'll have to implement it yourself."*

Reality: 3.0.0-SNAPSHOT added maskSensitiveFields() as a protected helper exactly for this case. The agent didn't hallucinate — it was just blind.

With jvmsrc (The 3-turn instant resolution)

User: Override the audit hook from AbstractTradingService — is there a public utility method on it we should reuse?

Agent:

1. search_classes("AbstractTradingService") ➔ Finds FQN & exact resolved library.

2. get_class_structure(scope: "overview") ➔ Discovers maskSensitiveFields() in 3.0.0-SNAPSHOT.

3. get_method_signature("maskSensitiveFields") ➔ Gets accurate signature and generics.

Result: Writes the override correctly on the first try. No cache walking, no guessing, no wrong version.


How It Works

  1. Build Tool Inquiry: jvmsrc queries your active build tool (e.g., Gradle) for the exact resolved classpath configuration.
  2. Intelligent Caching: It caches the resolved classpath, tracking changes to build files to stay current.
  3. Precision AI Tools: Instead of full-code dumping, it exposes precise, high-granularity tools (signatures, structure, search) to keep context windows small and token usage ultra-low.

Installation & Quick Start

1. Install CLI
npm install -g jvmsrc

Or use it directly via npx:

npx jvmsrc mcp

[!IMPORTANT]

Requires Node ≥ 20 and Java on `PATH` (for CFR decompiler + javap).

2. Add the MCP server

Paste this into your AI assistant config (Cursor, Claude Code, Windsurf, etc.), then restart the host:

{

"mcpServers": { "jvmsrc": { "command": "jvmsrc", "args": ["mcp"] } } }

Optional: jvmsrc config (or jvmsrc config --project /path/to/gradle-project) prints a paste-ready block plus environment hints. Most users can skip it and copy the snippet above.


MCP Server Reference

The MCP server runs over stdio via jvmsrc mcp. The default config needs no environment variables:

{

"mcpServers": { "jvmsrc": { "command": "jvmsrc", "args": ["mcp"] } } }

Private repository credentials (optional)

Only needed when your Gradle build requires credential env vars for a private Maven/Artifactory/Nexus-style repo. MCP hosts often do not inherit your interactive shell, so those vars must be set on the jvmsrc MCP process (then restart the server).

REPO_USER / REPO_PASS below are sample names only — they are not required by jvmsrc. Use whatever variable names your project’s Gradle scripts document:

{

"mcpServers": { "jvmsrc": { "command": "jvmsrc", "args": ["mcp"], "env": { "REPO_USER": "your-username", "REPO_PASS": "your-password" } } } }

Omit the env block entirely when the project does not need them.

Tools your agent gets
ToolWhat it does
`search_classes`Find a class by simple name or glob; returns compact FQN + lib name lists
`get_class_structure`Retrieves class overview (purpose + method names) or declared signatures
`get_method_signature`Fetches real overloads for a method, with parameter names and generics
`find_in_class_source`Performs regex or substring searches inside a resolved class
`get_class_source`Retrieves method bodies or line ranges (used as a last resort)
`search_in_artifact`Greps text across all classes in one resolved dependency JAR
`resolve_dependencies`Analyzes the actual dependency graph this project uses

[!TIP]

Every source response includes sourceAvailable: true for real sources (Javadoc, parameter names, generics), false for CFR decompilation (structure reliable, names may be synthetic).

[!NOTE]

Multimodule: omit modulePath and jvmsrc auto-picks the unique owning module; on a miss it lists candidate modulePaths. Methods: search_classes matches declared method names when the index has source enrichment; for body text in a known JAR use search_in_artifact. get_class_source methodNames also walks superclasses for unmatched names.

Make your agent use it

Tool descriptions help, but a built-in Bash tool the agent already trusts will often win. Two small additions make jvmsrc the default for dependency questions.

1. Add a rule to your agent's instructions (CLAUDE.md, AGENTS.md, Cursor rules) — many clients do not show MCP server instructions at all:

## Dependencies (jvmsrc)

For any question about a third-party library class, method or version, use the jvmsrc MCP tools (search_classes → get_class_structure → get_class_source with methodNames; resolve_dependencies for versions). When working inside one module, pass modulePath (':app' or the file you are editing) to get that module's versions. Never use javap, unzip/jar on JARs, or ~/.gradle/caches. Code under this repo's src/ → grep/read as usual.

2. (Claude Code) Block the shell fallbacks with a hook. docs/hooks/block-jvm-fallbacks.mjs denies javap, unzip/jar on JARs, and ~/.gradle/caches / ~/.m2 access, and tells the agent to use jvmsrc instead, so it redirects instead of silently reading the wrong version. Save the script somewhere stable and add to .claude/settings.json (project) or ~/.claude/settings.json (all projects):

{

"hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [{ "type": "command", "command": "node /absolute/path/to/block-jvm-fallbacks.mjs" }] } ] } }

Set JVMSRC_HOOK_DISABLE=1 to switch it off temporarily. Other clients have their own hook mechanisms; check their current docs before porting.

Check that your client shows the server instructions: ask the agent *"What instructions does the jvmsrc MCP server give?"*. If it cannot answer, rely on the rule in step 1.

[!NOTE]

Inputs are forgiving. projectRoot can be omitted (the workspace is used, or set JVMSRC_PROJECT_ROOT); modulePath accepts app, /app, :app, or a file/directory inside the module (omit it, or pass "*", to search all modules); className accepts a simple name, Outer.Inner, or a trailing .class/.java. The first call on a project runs Gradle (typically 5–10s); later calls use the cache. Pass forceRefresh: true only after something changed that the build files do not show, such as a SNAPSHOT republish.


How It Compares

ToolApproachGap
Cache Indexers / ~/.gradle grepScan global cachesNo per-project resolved version
Static Parsers (e.g., build.gradle parser)Parse declarations onlyMisses transitive dependencies, BOMs, dynamic versions
`mcp-javadoc` / path-only CFRUser supplies manual JAR pathsNo automatic build/classpath resolution
Gradle MCP (Tooling API)Task/build focusedNot optimized for classpath-accurate FQN source lookup
`jvmsrc`Queries actual build tool & cachesVersion-correct sources and signatures for agents

Target Audience

Primarily Java + Spring Boot projects on Gradle. Other JVM languages (Kotlin, Scala) and Android work today on a best-effort basis and are on the roadmap as first-class targets — see ROADMAP.md.

*If you're on Maven or Bazel, it's planned but not shipping yet. Star the repo or open an issue and I'll prioritize accordingly.*


Detailed Reference

Requirements & Compatibility

Runtime: Node.js ≥ 20, Java on PATH.

Project types: JVM codebases (Java, Kotlin, Scala, Groovy). jvmsrc calls the build tool, not your editor.

Build systemStatus
GradleSupported — multimodule included
Maven, BazelPlanned (SPEC.md)

Point -p / projectRoot at the Gradle root (settings.gradle(.kts) or root build.gradle(.kts)). Uses ./gradlew when present, else gradle on PATH. Maven-only trees get an explicit unsupported error.

Known Limitations

Early software; the supported path is narrow:

AreaToday
Build toolGradle only
IntegrationGroovy init script (--init-script) — not a Gradle Portal plugin
ClasspathsStandard JVM + Kotlin MPP jvm* configurations when Gradle exposes them
OutputJava-shaped .java text (sources JAR, inter-project src, or CFR)

Composite builds, Android-only layouts, and exotic configurations are not fully validated. See ROADMAP.md.

Security & Privacy

  • No telemetry.
  • Local only — caches and diagnostics stay on disk; never writes under your project root.
  • Subprocesses via argv only (no shell interpolation) — see SECURITY.md.
  • Optional JVMSRC_ALLOWED_ROOTS to lock down which projects

Only the beginning is shown; read the rest in the repo

Ask PopNx