codex-java-lsp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JDTLS_BIN | No | 指定 jdtls 可执行文件。 | |
| JDTLS_FILEWATCH | No | 设为 `off` 可关闭 JDT LS 文件监听。 | |
| JDTLS_JAVA_HOME | No | 指定运行 JDT LS 的 Java home。 | |
| JAVA_LSP_JDTLS_XMX | No | 覆盖 JDT LS heap,例如 `2g`。 | |
| JAVA_LSP_LOMBOK_JAR | No | 指定 Lombok javaagent。 | |
| JAVA_LSP_IDLE_TTL_MS | No | repo 空闲后自动停止 JDT LS 的时间。 | |
| JAVA_LSP_PROJECTS_JSON | No | 覆盖 projects.json 路径。 | |
| JAVA_LSP_MAX_ACTIVE_REPOS | No | 限制同时活跃的 JDT LS repo 数。 | |
| CODEX_JAVA_LSP_RUNTIME_DIR | No | 覆盖用户级 runtime 目录。 | |
| JAVA_LSP_PROJECT_JAVA_HOME | No | 指定默认项目 JDK。 | |
| JAVA_LSP_PROJECT_JAVA_HOME_<ALIAS> | No | 为某个 alias 指定项目 JDK,alias 会转成大写并把非字母数字替换成 `_`。 | |
| JAVA_LSP_DOCUMENT_SYMBOL_TIMEOUT_MS | No | documentSymbol warm-index 等待预算。 | |
| JAVA_LSP_DOCUMENT_SYMBOL_GLOBAL_CONCURRENCY | No | documentSymbol 全局并发。 | |
| JAVA_LSP_DOCUMENT_SYMBOL_PER_REPO_CONCURRENCY | No | documentSymbol 单 repo 并发。 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| java_statusB | Return repo, JDT LS, watcher, source index, and router cache status; pass start=true to start JDT LS. |
| java_impactC | Build a compact Java impact plan with source-index routing, internal rg summary, optional bounded LSP enrichment, and read plan. |
| java_symbolB | Search workspace symbols by query or inspect hover/definition/implementation at a file position. |
| java_referencesC | Return summary-only references for a precise Java symbol position. |
| java_diagnosticsC | Open Java files and return JDT LS diagnostics after a short wait. |
| java_restartC | Restart the current JDT LS session; clear cache only when explicitly requested. |
| java_shutdownB | Stop the current JDT LS child process while keeping the MCP server alive. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lkyprogramer/codex-java-lsp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server