LSP4J-MCP

LSP4J-MCP is a Java MCP (Model Context Protocol) server that launches the Eclipse JDT Language Server (JDTLS) as a subprocess and exposes selected Java IDE/LSP capabilities as MCP tools (e.g., symbol search, references, definitions, and symbol listing).

Evaluated Mar 30, 2026 (21d ago)
Repo ↗ DevTools mcp lsp java jdtls lsp4j code-intelligence agent-tools
⚙ Agent Friendliness
54
/ 100
Can an agent use this?
🔒 Security
25
/ 100
Is it safe for agents?
⚡ Reliability
21
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
70
Documentation
65
Error Messages
0
Auth Simplicity
95
Rate Limits
5

🔒 Security

TLS Enforcement
0
Auth Strength
20
Scope Granularity
0
Dep. Hygiene
55
Secret Handling
60

Communication appears to be local (std i/o MCP via a launched process), and no auth is described. That can be acceptable for trusted local use but is risky if exposed beyond the intended host. Logging to a file is configured via LOG_FILE; README does not describe redaction or handling of sensitive workspace contents in logs. Dependency hygiene cannot be verified from the provided content.

⚡ Reliability

Uptime/SLA
0
Version Stability
35
Breaking Changes
20
Error Recovery
30
AF Security Reliability

Best When

You want an agent to perform Java code understanding/navigational tasks locally on a project workspace via MCP tools backed by JDTLS.

Avoid When

You need a public network API with managed authentication/rate limits, or you cannot run Java 21+ and JDTLS.

Use Cases

  • Answering code navigation questions with AI assistants (definitions, references, symbol lookup)
  • Generating codebase summaries by extracting document symbols
  • Refactoring assistance by finding usages of methods/types
  • Discovering interface contracts by searching for interfaces with a given method name

Not For

  • Production-grade hosted multi-tenant API services (it appears intended for local/subprocess usage)
  • Environments where JDTLS cannot be installed or where running IDE language servers is disallowed
  • High-concurrency server workloads requiring strict rate-limit/service-level guarantees

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
Yes
Webhooks
No

Authentication

OAuth: No Scopes: No

No authentication mechanism is described for the MCP server itself. Usage appears local/stdin-stdout based (invoked by the host tool), implying trust is typically assumed at the process boundary.

Pricing

Free tier: No
Requires CC: No

Open-source (MIT license stated). No hosted pricing indicated.

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • The server starts JDTLS as a subprocess; failures due to missing/incorrect JDTLS install or command may occur before tool calls work.
  • Large workspaces may increase response time since it relies on a full language server index.
  • Logging is redirected to a file; agent troubleshooting may require checking LOG_FILE when stdout is reserved for protocol communication.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for LSP4J-MCP.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-30.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered