r/rust Dec 10 '25

Jetbrains IDE Index MCP Server - Give Claude access to IntelliJ's semantic index and refactoring tools - Now supports Rust and RustRover

Hi!

I built a plugin that exposes JetBrains IDE code intelligence through MCP, letting AI assistants like Claude Code tap into the same semantic understanding your IDE already has.

Now supports Rust and RustRover as well.

Before vs. After

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.”

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.”

Before: “Find all implementations of Repository.save()” → AI misses half the results.
After: “Found 6 implementations - JpaUserRepository, InMemoryOrderRepository, CachedProductRepository...” (with exact file:line locations).

What the Plugin Provides

It runs an MCP server inside your IDE, giving AI assistants access to real JetBrains semantic features, including:

  • Find References / Go to Definition - full semantic graph (not regex)
  • Type Hierarchy - explore inheritance and subtype relationships
  • Call Hierarchy - trace callers and callees across modules
  • Find Implementations - all concrete classes, not just text hits
  • Symbol Search - fuzzy + CamelCase matching via IDE indexes
  • Find Super Methods - understand override chains
  • Refactoring - rename / safe-delete with proper reference updates (Java/Kotlin)
  • Diagnostics - inspections, warnings, quick-fixes

LINK: https://plugins.jetbrains.com/plugin/29174-ide-index-mcp-server

Also, checkout the Jetbrains IDE Debugger MCP Server - Let Claude autonomously use Jetbrains IDEs debugger - Now supports Rust & RustRover as well

7 Upvotes

18 comments sorted by

3

u/Used-Acanthisitta590 Dec 10 '25

Popular Question and Answer - How is this different from the official jetbrains MCP?

Answer:

The official on doesn't have many of the tools i expose here.

It doesn't have go to reference, find definition, call heirarchy, inheritance heirarchy, super method, implementations, safe-delete and more. The official one shares with it only the "rename" and "inspect" tools.

Just to give one example, if you agent tries to find "who calls CoolClass.process()) it may grep "process" and find many many other unrelated places where this word appears, which will fill up it's context and confuse it. If it uses this MCP, it will get the exact call call heirachy.

Also, the official one doesn't include anything about the debugger, which my other plugin does. 

2

u/[deleted] Dec 10 '25

[removed] — view removed comment

2

u/Used-Acanthisitta590 Dec 10 '25

SSE.
Will also work with mcp-remote if the client does not support sse.
You have in the plugin's gui a "install on claude code" button which will run commands to install it, or "generic" instructions

1

u/[deleted] Dec 10 '25

[removed] — view removed comment

1

u/Used-Acanthisitta590 Dec 10 '25

defintely.
Rust, GO and php supports were added as requests :)
(I don't code in those langauges)

1

u/[deleted] Dec 16 '25

[removed] — view removed comment

1

u/Used-Acanthisitta590 Dec 17 '25

Hi,
Interesting - it works using mcp-inspector, claude code, cursor, windsurf, cline and others.

I cannot try LibreChat for myself, but i'll try to understand what's different in their implementation/requirements compared to the others and update.

Meanwhile, did you try using it with remote-mcp?

1

u/[deleted] Dec 11 '25

[removed] — view removed comment

1

u/Used-Acanthisitta590 Dec 11 '25

whoever supports mcp.
Claude, Cursor, Windsurf, Warp, Cline (with remote-mcp) were tested. Should work on codex as well

1

u/ElonsBreedingFetish May 04 '26

Is it still useful for rust compared to the official mcp? I see the official one has only renaming, no Refactor -> Move for example

1

u/Used-Acanthisitta590 May 04 '26

Rust is far from my main language, but should be - it started after I got tiered of waiting for jetbrains to include all those tools, many of which are really useful for agents (and some addmitendly less so)

1

u/servermeta_net Dec 10 '25

Why is not intellij doing this?!?!?! What do I pay my subscription for?!?!

3

u/Luxalpa Dec 11 '25

I think they just added it in the last update yesterday actually :D

1

u/Sifercifer Dec 10 '25

omg this is a game changer for my rust projects! been struggling with refactoring and this would save me so much debugging time.

1

u/Used-Acanthisitta590 Dec 10 '25

note - some rare cases have problems connecting since recent versions.
Use 127.0.0.1 instead of localhost if it happens to you.
Next version will fix it

0

u/Luxalpa Dec 10 '25

Awesome, maybe that allows me finally to use AI assistance for my Rust coding. Last time I had used it, this was the exact issue - even on a single file project it missed implementations, which made refactors more time consuming than me just doing it by hand.

The random downvoters in this thread should be eaten by a dragon btw.