Jetbrains Index MCP Plugin logo

Jetbrains Index MCP Plugin

by hechtcarmel

Connects AI coding assistants to JetBrains indexing, diagnostics, search, builds, tests, and refactoring through MCP.

Install Jetbrains Index MCP Plugin

Run the project’s own setup commands, in order.

Setup steps from the project

hechtcarmel/jetbrains-index-mcp-plugin installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Add to Claude Code
    claude mcp add --transport http --scope user intellij-index http://127.0.0.1:29170/index-mcp/streamable-http
    
  2. 2. Add to Claude Code
    claude mcp add --transport http --scope user pycharm-index http://127.0.0.1:29172/index-mcp/streamable-http
    
  3. 3. Add to Claude Code
    claude mcp add --transport http --scope user webstorm-index http://127.0.0.1:29173/index-mcp/streamable-http
    
  4. 4. Add to Codex
    codex mcp add intellij-index --url http://127.0.0.1:29170/index-mcp/streamable-http
    
  5. 5. Add to Codex
    codex mcp add pycharm-index --url http://127.0.0.1:29172/index-mcp/streamable-http
    
  6. 6. Add to Codex
    codex mcp add webstorm-index --url http://127.0.0.1:29173/index-mcp/streamable-http
    

Overview

hechtcarmel/jetbrains-index-mcp-plugin runs an MCP server inside supported JetBrains IDEs, exposing indexed code intelligence and IDE-aware editing operations to AI coding assistants. It supports IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover, Android Studio, and PhpStorm, with language features determined by installed IDE plugins. The server starts automatically after installation and listens on IDE-specific local ports, letting assistants search symbols, inspect diagnostics, build projects, run tests, and apply refactorings. Reach for it when text-only repository tools are insufficient and you need project-wide references, semantic navigation, or IDE-managed changes.

Use cases

  • Find project-wide references before changing a symbol
  • Apply IDE-aware renames and file moves
  • Inspect diagnostics across open or closed files
  • Build projects and run tests through JetBrains configurations
  • Search indexed classes, files, symbols, and text

Key features

  • JetBrains index-backed code navigation
  • Semantic rename and file refactoring
  • Project and file diagnostics
  • IDE builds and test execution
  • Multi-language support through IDE plugins
  • Local MCP server for AI coding clients

Tools52

What Jetbrains Index MCP Plugin lets your agent do. Expand a tool for its parameters.

Self-reported~1.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/22 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars403Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Tools exposed52Callable tools this server registers over MCP.
Directory activity11 viewsConfig copies, upvotes, and views on AllMCPs.

How Jetbrains Index MCP Plugin works

What hechtcarmel/jetbrains-index-mcp-plugin does

hechtcarmel/jetbrains-index-mcp-plugin embeds an MCP server in a JetBrains IDE and makes the IDE's project model available to compatible AI coding assistants. Its tools use JetBrains indexes, PSI-based code intelligence, editor diagnostics, build infrastructure, test runners, and refactoring services rather than relying only on text processing.

The plugin covers IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover, Android Studio, and PhpStorm. It may also work in RubyMine, CLion, and DataGrip. Rider is not supported because its ReSharper backend does not provide the IntelliJ PSI APIs required by the plugin. Language-aware behavior depends on the relevant IDE plugins; supported language areas include Java, Kotlin, Python, JavaScript, TypeScript, Go, PHP, Rust, Scala, and Markdown.

How it works

After installation and an IDE restart, the MCP server starts with IDE-specific defaults. The documented defaults include port 29170 for IntelliJ IDEA, 29172 for PyCharm, and 29173 for WebStorm; other IDEs use their own defaults. It binds to 127.0.0.1 without authentication, so any local process can call the exposed tools with the IDE's file access.

Index-aware tools can search classes, files, symbols, references, definitions, and text. Other operations query diagnostics, inspect index readiness, synchronize IDE caches after external changes, and access file content or editor state. Refactoring tools can rename symbols, move files, reformat code, optimize imports, and perform structural search and replacement. Optional project controls can reload Maven or Gradle models, import modules, open workspaces, build projects, run tests, and manage files or projects.

Some tools are disabled by default and must be enabled in the plugin settings. Long-running builds, tests, and analyses can return identifiers or progress-related results so the MCP client does not need to hold a single request open until completion.

Setup and configuration

Install the plugin from the JetBrains IDE Marketplace through Settings or Preferences, or download the latest release and use the IDE's “Install plugin from disk” action. Restart the IDE, open a project, and then configure the MCP client to connect to the local server using the port associated with that IDE.

The plugin is intended for regular IDE windows, JetBrains remote development sessions, and headless automation runs. Project lifecycle management is optional. When enabled in Settings → Tools → Index MCP Server, it can move inactive projects through background, dormant, and closed states and reopen them when a later MCP call requires them.

Tools and capabilities

  • Locate definitions, references, classes, files, symbols, and text across indexed projects.
  • Inspect file and project diagnostics, including coverage status for batch analysis.
  • Check whether indexing is ready and synchronize virtual files and PSI data.
  • Build projects through JPS, Gradle, or Maven and run tests through IDE run configurations.
  • Rename symbols safely and move files with language-aware reference or package updates when supported.
  • Read, create, open, and navigate files; manage projects, modules, plugins, and IDE restart operations where enabled.
  • Explore type and call hierarchies, implementations, overrides, and file structure when language plugins provide those capabilities.

Limitations and notes

Capabilities vary by JetBrains product and installed language plugin. Java and Kotlin support includes language-specific targeting for several operations, while some features are limited to particular languages, such as structural search and replacement for Java and Kotlin. Test targeting by fully qualified class or method name is Java/Kotlin-only; other languages use an existing run-configuration name.

Many write, lifecycle, project, build, test, and file-management tools are disabled by default. The local unauthenticated binding should be treated as accessible to all local processes, especially on shared machines. The IDE must also have completed enough indexing for semantic results to be useful; the index-status and diagnostic coverage tools help distinguish incomplete analysis from a clean result.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Jetbrains Index MCP Plugin

hechtcarmel/jetbrains-index-mcp-plugin is an MCP server that runs inside supported JetBrains IDEs and gives AI coding assistants access to indexed code intelligence. Its main tools find definitions, references, classes, files, symbols, text, and diagnostics, while also supporting IDE-aware refactoring, project builds, tests, and file operations.

Install the plugin from the JetBrains Marketplace in Settings or Preferences, then restart the IDE. You can also download the latest release and install its ZIP through the IDE’s “Install plugin from disk” option. Open a project afterward and configure the MCP client for the IDE’s local server port.

Yes, Cursor is named as a compatible AI coding assistant. After installing the plugin and opening a project, configure Cursor to connect to the MCP server running in the JetBrains IDE. The server exposes indexed search, diagnostics, navigation, and refactoring capabilities through MCP.

It is tested with IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover, Android Studio, and PhpStorm. RubyMine, CLion, and DataGrip may work but are untested. Rider is not supported because its ReSharper backend does not expose the IntelliJ PSI APIs the plugin relies on.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewJetbrains Index MCP Plugin AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hechtcarmel-jetbrains-index-mcp-plugin?style=directory)](https://allmcps.com/mcp/hechtcarmel-jetbrains-index-mcp-plugin)
HTML Embed
<a href="https://allmcps.com/mcp/hechtcarmel-jetbrains-index-mcp-plugin"><img src="https://allmcps.com/api/badge/hechtcarmel-jetbrains-index-mcp-plugin?style=directory" alt="Jetbrains Index MCP Plugin on AllMCPs" /></a>