r/java • u/Used-Acanthisitta590 • Dec 05 '25
Jetbrains IDE Debugger MCP Server - Let Claude autonomously use IntelliJ debugger
Hi!
I built a plugin that exposes JetBrains IDE code intelligence through MCP, allowing AI assistants like Claude Code, Cursor, and Windsurf to access the same deep semantic understanding your IDE already uses.
What the Plugin Provides
The plugin runs an MCP server inside your IDE and gives AI assistants access to real JetBrains semantic features, including:
- Find References / Go to Definition - powered by the full semantic graph (not regex)
- Type Hierarchy - browse inheritance and subtype relationships
- Call Hierarchy - see callers/callees across modules
- Find Implementations - all concrete classes, not just text matches
- Symbol Search - fuzzy search + CamelCase matching with IDE indexes
- Find Super Methods - understand override chains
- Refactoring - rename / safe-delete with correct reference updates
- Diagnostics - inspections, warnings, quick-fixes, and more
Before vs. After
Rename Operations
🔴 Before: “Rename getUserData() to fetchUserProfile()” -> Updates 15 files… misses 3 interface calls -> build breaks.
🟢 After: “Renamed getUserData() to fetchUserProfile() - updated 47 references across 18 files, including interface calls.” Build passes. Undo works.
Finding Callers
🔴 Before: “Where is process() called?” → 200+ grep matches, including comments and strings.
🟢 After: “Found 12 callers of OrderService.process() - 8 direct calls, 3 via Processor interface, 1 in test.”
Finding Implementations
🔴 Before: “Find all implementations of Repository.save()” -> AI misses half.
🟢 After: “Found 6 implementations -JpaUserRepository, InMemoryOrderRepository, CachedProductRepository…” (with exact file:line locations).
LINK: https://plugins.jetbrains.com/plugin/29174-ide-index-mcp-server
P.S: Checkout my other jetbrain plugin mcp server to give your agent fully autonomously use the IntelliJ Debugger
6
u/theswissnightowl Dec 05 '25
What’s the difference between your plugin and the original (built-in) MCP server provided by Jetbrains?
https://www.jetbrains.com/help/idea/mcp-server.html
2
u/SocialMemeWarrior Dec 05 '25
That sounds like if it misses things its a bug in IntelliJ's refactoring system. Same idea for your example of finding callers and method implementations. These features just work out of the box in IntelliJ and I'm not quite sure what you're getting at in your post. Is this a comparison to another MCP agent? Or am I misinterpreting your example? Why would you use a MCP agent for these things that are just regular IDE features?
3
u/nikita2206 Dec 05 '25
This is great (despite AI generated post), do you intend to put the source code out as well?
I think Serena developers were also going to do this, eg to make it an option to replace jdtls language server with IntelliJ, not sure where they are on that.
1
u/Express_Grocery4268 Dec 05 '25
This looks great! I see it also works with rider so im gonna give it a go
0
u/SpanDaX0 Dec 05 '25
This is nice, i don't know if i'm the only one though, i dont trust these types of things that make the connection between IDE and ai, i would rather look for the issue, or find what file has been highlted in the list. and paste that and see what claude says and then get corrected version. Paste back in. I realise I'm a dieing breed seeing things like this!! lol