JVM Source Lens
About
Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
JVMSRC_ALLOWED_ROOTS JVMSRC_CACHE_ROOT JVMSRC_LOG_DIR JVMSRC_MAX_SOURCE_OUTPUT_CHARS JVMSRC_GRADLE_TIMEOUT_MS JVMSRC_CFR_PATHClaude Code
claude mcp add --env JVMSRC_ALLOWED_ROOTS= --env JVMSRC_CACHE_ROOT= --env JVMSRC_LOG_DIR= --env JVMSRC_MAX_SOURCE_OUTPUT_CHARS= --env JVMSRC_GRADLE_TIMEOUT_MS= --env JVMSRC_CFR_PATH= jvmsrc -- npx jvmsrc
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"jvmsrc","command":"npx","args":["jvmsrc"],"env":{"JVMSRC_ALLOWED_ROOTS":"","JVMSRC_CACHE_ROOT":"","JVMSRC_LOG_DIR":"","JVMSRC_MAX_SOURCE_OUTPUT_CHARS":"","JVMSRC_GRADLE_TIMEOUT_MS":"","JVMSRC_CFR_PATH":""}}'
JSON
{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"jvmsrc"
],
"env": {
"JVMSRC_ALLOWED_ROOTS": "",
"JVMSRC_CACHE_ROOT": "",
"JVMSRC_LOG_DIR": "",
"JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "",
"JVMSRC_GRADLE_TIMEOUT_MS": "",
"JVMSRC_CFR_PATH": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.