MM

maximehamm/mcp-intellij-all

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 4 forks 质量 62 趋势 26

一个IntelliJ EIDO插件,该插件能为AI客户端(Claude, Cursor等)提供额外的工具来扩展内置的JetBrains MCP服务器.

概览

一个IntelliJ EIDO插件,该插件能为AI客户端(Claude, Cursor等)提供额外的工具来扩展内置的JetBrains MCP服务器. - IntelliJ EIDO 2024.3+或任何JetBrains IDE(Android Studio,PyCharm,GoLand,WebStorm.) - MCP 安装了服务器插件(被捆绑在IntelliJ EIDO Ultimate 2025.1+中,所有其他IDes都可以在市场免费使用) - 配置有@jetbrains/mcp-proxy(Claude桌面,cursor等)的AI客户端. 认证: GitHub 账户配置于( 从捆绑的 JetBrains 插件读取) 。 所有通话都通过插件的API执行器——不需要终端/gh CLI. 认证: GitLab 账户配置于 . 通过 IDE HTTP 堆栈运输——不需要终点站/ glab CLI. 被无头测试覆盖的核心逻辑. ⚠️ 没有自动测试范围.

概述(AI 翻译)

一个IntelliJ EIDO插件,该插件能为AI客户端(Claude, Cursor等)提供额外的工具来扩展内置的JetBrains MCP服务器.

□ 要求

  • IntelliJ EIDO 2024.3+或任何JetBrains IDE(Android Studio,PyCharm,GoLand,WebStorm…).
  • MCP计划 安装了服务器插件( 捆绑在 IntelliJ EIDA Ultimate 2025.1+ 中, 所有其他IDE 在市场免费)
  • 配置有@jetbrains/mcp-proxy(Claude桌面、光标等)的AI客户端

□ 工具

& 导航编辑器

  • 工具 * * 描述 * * |-|-|-. QQ[ [T1]] 打开文件, 焦点编辑器, 守护位置, 以及当前文本选择 QQ QQ navigate_to 打开一个文件,将光标放入给定行和列 QQ

QQ highlight_text 使用 IDE 搜索结果颜色 QQ 在文件中突出多个区域

QQ show_diff QQ 打开 IntelliJ的内置 diff 查看器,可视化地比较当前文件内容与拟议内容(只读) QQ

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

MCP Server Companion

An IntelliJ IDEA plugin that extends the built-in JetBrains MCP Server with additional tools for AI clients (Claude, Cursor, etc.).

Requirements

  • IntelliJ IDEA 2024.3+ or any JetBrains IDE (Android Studio, PyCharm, GoLand, WebStorm…)
  • MCP Server plugin installed (bundled in IntelliJ IDEA Ultimate 2025.1+, free on the Marketplace for all other IDEs)
  • An AI client configured with @jetbrains/mcp-proxy (Claude Desktop, Cursor, etc.)

Tools

Editor & Navigation

Tool Description
get_open_editors Open files, focused editor, caret position, and current text selection
navigate_to Opens a file and places the cursor at a given line and column
select_text Opens a file and selects a text range
highlight_text Highlights multiple zones in a file using the IDE’s search-result color
clear_highlights Removes all highlights added by highlight_text
show_diff Opens IntelliJ’s built-in diff viewer to visually compare current file content with proposed content (read-only)
create_scratch_file Creates an IntelliJ scratch file (outside the project tree) with given content and opens it — great for previewing snippets without polluting the project

Build & Tests

Tool Description
get_build_output 🔬 Build tool window: structured error tree with file/line numbers + console text
get_console_output 🔬 Console output from the Run, Debug and Services tool windows (incl. Spring Boot / server configs and wrapped consoles), with active window, active tab and alive flag indicated
get_services_output ⚠️ Services tool window sessions: SQL output log, result grids, active session/tab indicated
get_test_results 🔬 Last test run results: passed/failed/ignored status, duration, and failure messages
get_terminal_output 🔬 Content of all tabs in the embedded Terminal tool window
send_to_terminal 🔬 🔒 Send a command to a terminal tab and execute it. Optional waitForIdle=true (+ timeoutMs, idleQuietMs) blocks until the terminal output stops changing

Debug

Tool Description
list_run_configurations Lists all run configurations with name, type, folder, and running status
start_run_configuration Launches a named run configuration in run or debug mode. Optional waitForExit=true (+ timeoutMs) blocks until the process terminates and returns the exit code
stop_run_configuration Stops every running session of a named run/debug configuration (like the Stop button): graceful stop first, then force-kill for stubborn processes. Waits for confirmed termination
在 GitHub 查看完整 README

安装

npx -y @jetbrains/mcp-proxy
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "jetbrains": { "command": "npx", "args": ["-y", "@jetbrains/mcp-proxy"] } } }