JVM Source Lens for Windsurf
io.github.sintexer/jvmsrc
Gradle-accurate JVM classpath; fetch Java source, signatures, and class structure for agents.
client:Windsurf
transport:stdio
runtime:npm
Install JVM Source Lens in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"jvmsrc": {
"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>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs