r/java • • 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

19 Upvotes

15 comments sorted by

View all comments

Show parent comment

2

u/theswissnightowl Dec 05 '25

Yeah, that’s what I thought when I checked out the GitHub repo 😅 thanks for clarifying

And you’re right, the Jetbrains MCP is currently a bit limited. Will definitely check out your plugin for debugging!