What is the JVM Source Lens MCP server?
Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.
How to install JVM Source Lens
Copy-paste configuration for popular MCP clients.
JVMSRC_ALLOWED_ROOTSOptional comma-separated absolute paths; only these project roots are allowed.
JVMSRC_CACHE_ROOTOptional absolute path for resolution and decompile caches (default: OS cache dir).
JVMSRC_LOG_DIROptional absolute path for failure diagnostic logs.
JVMSRC_MAX_SOURCE_OUTPUT_CHARSMax characters returned for full-file source (default 524288).
JVMSRC_GRADLE_TIMEOUT_MSGradle resolution subprocess timeout in milliseconds.
JVMSRC_CFR_PATHOptional path to a custom CFR JAR for decompilation.
{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"-y",
"jvmsrc",
"-y",
"mcp"
],
"env": {
"JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
"JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
"JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
"JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
"JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
"JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
}
}
}
}{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"-y",
"jvmsrc",
"-y",
"mcp"
],
"env": {
"JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
"JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
"JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
"JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
"JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
"JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
}
}
}
}{
"mcpServers": {
"jvmsrc": {
"command": "npx",
"args": [
"-y",
"jvmsrc",
"-y",
"mcp"
],
"env": {
"JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
"JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
"JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
"JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
"JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
"JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
}
}
}
}{
"servers": {
"jvmsrc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"jvmsrc",
"-y",
"mcp"
],
"env": {
"JVMSRC_ALLOWED_ROOTS": "<YOUR_JVMSRC_ALLOWED_ROOTS>",
"JVMSRC_CACHE_ROOT": "<YOUR_JVMSRC_CACHE_ROOT>",
"JVMSRC_LOG_DIR": "<YOUR_JVMSRC_LOG_DIR>",
"JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
"JVMSRC_GRADLE_TIMEOUT_MS": "<YOUR_JVMSRC_GRADLE_TIMEOUT_MS>",
"JVMSRC_CFR_PATH": "<YOUR_JVMSRC_CFR_PATH>"
}
}
}
}claude mcp add jvmsrc --env JVMSRC_ALLOWED_ROOTS=<YOUR_JVMSRC_ALLOWED_ROOTS> --env JVMSRC_CACHE_ROOT=<YOUR_JVMSRC_CACHE_ROOT> --env JVMSRC_LOG_DIR=<YOUR_JVMSRC_LOG_DIR> --env JVMSRC_MAX_SOURCE_OUTPUT_CHARS=<YOUR_JVMSRC_MAX_SOURCE_OUTPUT_CHARS> --env JVMSRC_GRADLE_TIMEOUT_MS=<YOUR_JVMSRC_GRADLE_TIMEOUT_MS> --env JVMSRC_CFR_PATH=<YOUR_JVMSRC_CFR_PATH> -- npx -y jvmsrc -y mcpRelated MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.