JVM Source Lens for Grok
io.github.sintexer/jvmsrc
Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.
client:Grok
transport:stdio
runtime:npm
Install JVM Source Lens in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"jvmsrc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"jvmsrc"
],
"env": {
"JVMSRC_ALLOWED_ROOTS": "<JVMSRC_ALLOWED_ROOTS>",
"JVMSRC_CACHE_ROOT": "<JVMSRC_CACHE_ROOT>",
"JVMSRC_LOG_DIR": "<JVMSRC_LOG_DIR>",
"JVMSRC_MAX_SOURCE_OUTPUT_CHARS": "<JVMSRC_MAX_SOURCE_OUTPUT_CHARS>",
"JVMSRC_GRADLE_TIMEOUT_MS": "<JVMSRC_GRADLE_TIMEOUT_MS>",
"JVMSRC_CFR_PATH": "<JVMSRC_CFR_PATH>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs