{"repo":"stephanj/LSP4J-MCP","free":true,"listed":false,"github":"https://github.com/stephanj/LSP4J-MCP","clone":"git clone https://github.com/stephanj/LSP4J-MCP.git","description":"A Java MCP (Model Context Protocol) server that wraps JDTLS (Eclipse JDT Language Server) using LSP4J to provide Java IDE features to AI assistants like Claude.","language":"Java","stars":36,"topics":["claudecode","codex","gemini","java","languageserverprotocol","llm","lsp","mcp","model-context-protocol"],"license":null,"category":"mcp-servers","readme_excerpt":"LSP4J-MCP Server A Java MCP (Model Context Protocol) server that wraps JDTLS (Eclipse JDT Language Server) using LSP4J to provide Java IDE features to AI assistants like Claude. Features This MCP server exposes the following tools: Tool Description ------ ------------- find symbols Search for Java symbols (classes, methods, fields) by name find references Find all references to a symbol at a given file location find definition Go to the definition of a symbol document symbols Get all symbols defined in a Java file find interfaces with method Find all interfaces containing a method with a given name Prerequisites - Java 21+ - Maven 3.8+ - JDTLS installed (e.g., via Homebrew: brew install jdtls ) Build This creates a shaded JAR at target/lsp4j-mcp-1.0.0-SNAPSHOT.jar . Usage Option 1: Run Script Option 2: Direct Java Command Example: Option 3: Claude Code MCP Configuration Add to your .mcp.json : Option 4: Docker Build the multi-stage image. It includes Java 21, the shaded MCP server, and a pinned Eclipse JDTLS distribution: Run it over stdio and mount the Java project at /workspace : On Linux, use the host UID/GID when the language server needs to write project metadata into the mounted workspace: Example MCP configuration: The server uses stdio, so the image exposes no network port. Container logs are written to stderr while stdout remains reserved for the MCP protocol. The image runs as UID/GID 10001 by default and expects at least 1 GB of container memory. Project Structure ","default_branch":null,"files":null,"tree":[],"storefront":"/r/stephanj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stephanj/LSP4J-MCP/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}