{"slug": "stop-claude-code-interface-blindness-hook-eclipse-jdt-ls-via-mcp-for-ast-aware", "title": "Stop Claude Code Interface Blindness: Hook Eclipse JDT LS via MCP for AST-Aware Java Refactoring", "summary": "A developer created an MCP bridge to connect Claude Code with the Eclipse JDT Language Server, enabling compiler-grade semantic search and AST-aware refactoring for Java codebases. The integration allows Claude Code to resolve method signatures, interface implementations, and bean hierarchies in enterprise Spring Boot projects, reducing hallucinations and broken builds.", "body_md": "Claude Code is a beast in the terminal, but letting it raw-grep your enterprise Spring Boot codebase is a recipe for hallucinated method signatures and broken builds. If your AI agent doesn't understand the Abstract Syntax Tree (AST) of your decoupled interfaces, it is simply guessing.\n\n`@Qualifier`\n\nannotations.`PaymentGateway`\n\ninterface to its `StripePaymentServiceImpl`\n\nimplementation across deep Gradle subprojects without semantic AST help.Expose your local Eclipse JDT Language Server (JDT LS) to Claude Code using an MCP wrapper to enable precise, compiler-grade semantic searches.\n\n`eclipse.jdt.ls`\n\nas a background daemon on your local development machine.`mcpConfig.json`\n\nto route Java-specific queries like `find-implementations`\n\ndirectly to the JDT LS instance.`@Autowired`\n\nbean hierarchies before generating refactoring diffs.Want to go deeper?\n\n[javalld.com]— machine coding interview problems with working Java code and full execution traces.\n\nThis `mcpConfig.json`\n\nconfiguration bridges Claude Code to your local JDT LS instance, giving the LLM direct access to Java's compiler APIs:\n\n```\n{\n  \"mcpServers\": {\n    \"jdtls-ast-bridge\": {\n      \"command\": \"node\",\n      \"args\": [\"/usr/local/bin/jdtls-mcp-bridge.js\"],\n      \"env\": {\n        \"JDTLS_PATH\": \"/opt/eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_1.6.900.jar\",\n        \"WORKSPACE_DIR\": \"${userHome}/projects/enterprise-app\"\n      }\n    }\n  }\n}\n```\n\n", "url": "https://wpnews.pro/news/stop-claude-code-interface-blindness-hook-eclipse-jdt-ls-via-mcp-for-ast-aware", "canonical_source": "https://dev.to/machinecodingmaster/stop-claude-code-interface-blindness-hook-eclipse-jdt-ls-via-mcp-for-ast-aware-java-refactoring-1eog", "published_at": "2026-07-19 05:37:05+00:00", "updated_at": "2026-07-19 06:29:36.656914+00:00", "lang": "en", "topics": ["developer-tools", "large-language-models", "ai-agents"], "entities": ["Claude Code", "Eclipse JDT Language Server", "MCP", "Spring Boot", "javalld.com"], "alternates": {"html": "https://wpnews.pro/news/stop-claude-code-interface-blindness-hook-eclipse-jdt-ls-via-mcp-for-ast-aware", "markdown": "https://wpnews.pro/news/stop-claude-code-interface-blindness-hook-eclipse-jdt-ls-via-mcp-for-ast-aware.md", "text": "https://wpnews.pro/news/stop-claude-code-interface-blindness-hook-eclipse-jdt-ls-via-mcp-for-ast-aware.txt", "jsonld": "https://wpnews.pro/news/stop-claude-code-interface-blindness-hook-eclipse-jdt-ls-via-mcp-for-ast-aware.jsonld"}}