
Jetbrains IDE 的 IntelliJ 插件旨在为编码代理提供利用 intelliJ 对代码库索引的功能
概览
JetBrains IDE 插件,展示了一个 ,使 AI 编码助手如 Claude、Codex、Cursor 和 Windsurf 能够利用 IDE 强大的索引和重构能力。 :IntelliJ IDEA、PyCharm、WebStorm、GoLand、RustRover、Android Studio、PhpStorm(未测试):RubyMine、CLion、DataGrip 通过模型上下文协议(MCP),为AI编码助手提供使用IDE强大的代码智能功能。 高级工具支持多种语言,基于现有插件:- - IntelliJ IDEA、Android Studio - - PyCharm(所有版本)、IntelliJ 含 Python 插件,包括基于符号的定义/引用查找 - - WebStorm、IntelliJ Ultimate、PhpStorm - GoLand、IntelliJ IDEA Ultimate 含 Go 插件 - PhpStorm、IntelliJ Ultimate 含 PHP 插件 - RustRover、IntelliJ IDEA Ultimate 含 Rust 插件、CLion - 捆绑 Markdown 插件的 IDE 文件结构标题大纲 - - 在项目中定位任何符号的所有用法 - -...
概述(AI 翻译)
JetBrains IDE 插件,可释放 MCP(模型上下文协议)服务器,使 Claude、Codex、Cursor 和 Windsurf 等 AI 编码助手能够利用 IDE 强大的索引和重构能力。
全面测试:IntelliJ IDEA、PyCharm、WebStorm、GoLand、RustRover、Android Studio、PhpStorm 可能有效(未测试):RubyMine、CLion、DataGrip 不支持:Rider(其ReSharper后端不暴露该插件依赖的IntelliJ PSI API;参见#167)
IDE 索引 MCP 服务器 通过模型上下文协议(MCP)为 AI 编码助手提供访问 IDE 强大的代码智能功能。
特色
多语言支持 高级工具可基于可用插件跨多种语言运行:
- Java & Kotlin - IntelliJ IDEA,Android Studio
- Python - PyCharm(所有版本),IntelliJ 含 Python 插件,包括基于符号的定义/引用查找
- JavaScript 和 TypeScript - WebStorm、IntelliJ Ultimate、PhpStorm
- Go - GoLand,IntelliJ IDEA Ultimate 含 Go 插件
- PHP - PhpStorm,带PHP插件的IntelliJ Ultimate
- Rust - RustRover、IntelliJ IDEA Ultimate 及 Rust 插件、CLion
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
IDE Index MCP Server
A JetBrains IDE plugin that exposes an MCP (Model Context Protocol) server, enabling AI coding assistants like Claude, Codex, Cursor, and Windsurf to leverage the IDE’s powerful indexing and refactoring capabilities.
Fully tested: IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover, Android Studio, PhpStorm May work (untested): RubyMine, CLion, DataGrip Not supported: Rider (its ReSharper backend does not expose the IntelliJ PSI APIs this plugin relies on; see #167)
IDE Index MCP Server provides AI coding assistants with access to the IDE’s powerful code intelligence features through the Model Context Protocol (MCP).
Features
Multi-Language Support Advanced tools work across multiple languages based on available plugins:
- Java & Kotlin - IntelliJ IDEA, Android Studio
- Python - PyCharm (all editions), IntelliJ with Python plugin, including symbol-based definition/reference lookup
- JavaScript & TypeScript - WebStorm, IntelliJ Ultimate, PhpStorm
- Go - GoLand, IntelliJ IDEA Ultimate with Go plugin
- PHP - PhpStorm, IntelliJ Ultimate with PHP plugin
- Rust - RustRover, IntelliJ IDEA Ultimate with Rust plugin, CLion
- Scala - IntelliJ IDEA with the Scala plugin (Scala 2 sources)
- Markdown - heading outlines in file structure for IDEs with the bundled Markdown plugin
Universal Tools (All Supported JetBrains IDEs)
- Find References - Locate all usages of any symbol across the project
- Go to Definition - Navigate to symbol declarations
- Code Diagnostics - Access errors, warnings, and quick fixes
- Index Status - Check if code intelligence is ready
- Sync Files - Force sync VFS/PSI cache after external file changes
- Reload Project - Refresh linked Maven/Gradle build models after dependency or build-file changes (disabled by default)
- Import Modules - Import external Maven project directories as modules for cross-project code intelligence and refactoring (disabled by default)
- Open Workspace - Scan a root directory for Maven projects, or provide an explicit list of Maven project paths, and open them all in one IntelliJ window with full cross-project code intelligence (disabled by default)
- Build Project - Trigger IDE build with structured error/warning output (disabled by default)
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"intellij-index": {
"url": "http://127.0.0.1:29170/index-mcp/streamable-http"
}
}
}