MCP Steroid 标志

MCP Steroid

社区
jonnyzzz

Give your AI Agent a whole IDE, not just the files

发布者jonnyzzz
代码仓库mcp-steroid
语言Kotlin
复刻数
22
星标数
81
可用工具
0
传输类型stdio
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    MCP Steroid 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 81 个星标和 22 个复刻。

MCP Steroid


What is devrig?

devrig is the product you install: a small command-line tool that connects your AI coding agent (Claude Code, Codex, or Gemini) to a real JetBrains IDE. It brings its own runtime, registers itself with your agent, and bridges the agent's calls to the IDE — no manual MCP wiring.

devrig reaches the IDE through MCP Steroid, a JetBrains IDE plugin (this repo) that exposes the IDE's real semantic actions — typed refactorings, inspections, the debugger, and test runs — over the open Model Context Protocol. You install devrig; devrig uses MCP Steroid.

Unlike file-only assistants, this gives AI agents the same capabilities developers use: semantic code understanding, advanced refactorings, debugging, test running, visual awareness, and the entire IntelliJ API surface — all inside the running IDE's JVM.

One bridge, every IDE

A single devrig process connects your AI Agent to all the IntelliJ-family IDEs running on your machine at once — each open on a different project — and can download and start more on demand.

What your agent gets

  • Visual IDE understanding — screenshots + OCR + component tree
  • UI automation — control the IDE like a human developer
  • Native IntelliJ APIs — PSI, inspections, refactorings, and more
  • Kotlin scripting — full platform access at runtime via steroid_execute_code
  • Standard MCP protocol — connects to MCP-compatible AI agents

We continuously measure IDE-access vs plain-shell agents on real codebases. See the experiment findings for the evidence-based results.

Explore the CLI

The command tree is discoverable from either direction:

bash
devrig --help
devrig tools
devrig help execute_code
devrig list_projects --json
devrig open_project --project_path="$PWD" --task_id=demo-open --reason="open current project from CLI" --wait --json
devrig prompt mcp-steroid://prompt/skill --project_name="PROJECT_NAME_FROM_LIST_PROJECTS" --json

list_projects is canonical (projects and project are compatibility aliases). Human output is readable and may use terminal color; commands that advertise --json emit one ANSI-free document for agents and scripts. Incomplete commands print focused help with every missing value. See the devrig CLI guide or the contributor CLI contract.


Install

1. Install devrig — one command

macOS / Linux

bash
curl -fsSL https://devrig.dev/install.sh | sh

Windows

powershell
irm https://devrig.dev/install.ps1 | iex

The script does exactly two things: it installs the devrig CLI with its own bundled runtime into ~/.mcp-steroid, and it registers the stable devrig launcher on your PATH (if devrig is not found afterwards, open a new terminal or add ~/.mcp-steroid/bin to PATH). It never touches your agent configs or your IDEs — it finishes by printing the explicit next-step commands (steps 2 and 3 below). Installation is idempotent; re-run it any time to update.

2. Register your AI agent

bash
devrig install claude
devrig install codex
devrig install gemini

devrig install <agent> registers devrig as the mcp-steroid MCP server in Claude Code, Codex, or Gemini (one of claude, codex, gemini). The entry lands in the user-scope config, so it is visible from every project. For any other MCP client, devrig install config prints the manual mcp.json snippet to paste. See the devrig CLI guide for the full command set.

3. Install the MCP Steroid plugin

bash
devrig install plugin

devrig install plugin installs (or updates) the MCP Steroid plugin into every JetBrains IDE currently running on your machine — each IDE asks for your confirmation with its own native install dialog, so nothing is installed silently. Alternatively, install MCP Steroid from the JetBrains Marketplace (search MCP Steroid in Settings > Plugins > Marketplace).

Requirements

  • A JetBrains IDE — IntelliJ IDEA, PyCharm, GoLand, WebStorm, Rider, CLion, or Android Studio.
  • A standard desktop IDE runs with a real display: the normal GUI on macOS/Windows, or under Xvfb (a virtual X display) on Linux/CI. Plain non-backend headless mode is unsupported (best-effort, see #177); a frontendless Remote Development backend is supported. Backend product mode, not the presence of a client window or the raw AWT-headless flag alone, determines that distinction — see Running devrig in CI.
  • An MCP-compatible AI agent (Claude Code, Codex, or Gemini).

For a clean machine with no IDE running, an agent can discover the download catalog with devrig backend download --json, install IDEA Ultimate 2026.2, and call steroid_open_project. The managed IU-262 backend starts on demand as a frontendless Remote Development backend with MCP Steroid included; no separate start command or client window is required. Readiness is the project path plus Maven/Gradle import, not a screenshot. See the devrig CLI guide.

Faster plugin updates (optional): add https://devrig.dev/updatePlugins.xml in Settings > Plugins > Gear icon > Manage Plugin Repositories.... Or install a ZIP from GitHub Releases via Install Plugin from Disk.

Verify the connection

When the plugin starts, it writes the connection details to .idea/mcp-steroid.md in each open project. Ask your agent to list the open projects:

bash
claude -p "List all open projects using steroid_list_projects"
codex exec "List all open projects using steroid_list_projects"
gemini "List all open projects using steroid_list_projects"

If you see your open IntelliJ projects, the connection works. The plugin also serves the raw server URL at http://127.0.0.1:6315/mcp (Streamable HTTP transport) for clients that prefer to talk to the IDE directly.

Local development loop (deploy both halves from a checkout)

Working on MCP Steroid itself? Two Gradle tasks push your checkout into the live environment — no IDE restarts, no reinstalling.

One-time per IDE: install the Plugin Hot Reload plugin into every IDE you deploy to — download the ZIP from its Releases page, then Settings | Plugins | ⚙ | Install Plugin from Disk…, restart once. It exposes the local hot-reload endpoint (a ~/.<pid>.hot-reload marker per running IDE) that deployPlugin talks to.

bash
# 1. devrig (the CLI): build, stage under ~/.mcp-steroid/devrig/, and regenerate the
#    ~/.mcp-steroid/bin/devrig launcher via `devrig install devrig`.
./gradlew deployDevrig

# assert: the launcher runs YOUR build — a dev version stamped with your checkout's git hash
~/.mcp-steroid/bin/devrig version
# → <base>.19999-SNAPSHOT-<git hash of your HEAD>

# 2. the IDE plugin: build the plugin ZIP and hot-reload it into every running IDE.
./gradlew :ij-plugin:deployPlugin

# assert: the task output ends with SUCCESS per IDE —
#   Installing and loading plugin: MCP Steroid (<base>.19999-SNAPSHOT-<git hash>)
#   Plugin MCP Steroid reloaded successfully

Both tasks fail loudly instead of half-deploying: deployDevrig fails when devrig install devrig cannot write the launcher (e.g. a DEVRIG_BIN_NO_AUTO_REGISTER opt-out), and deployPlugin fails with No running IDEs found when no IDE with the hot-reload plugin is up, or on anything but SUCCESS from an IDE.


Compatible AI Agents

devrig install registers MCP Steroid directly with:

  • Claude (Claude Code)
  • Codex CLI
  • Gemini CLI

MCP Steroid speaks the standard Model Context Protocol, so other MCP-capable clients can also connect to the plugin's server directly — see How it works.


Capabilities

Design philosophy in one breath

The MCP tool surface is intentionally small — power lives in mcp-steroid:// prompt resources that teach agents to call IntelliJ's APIs directly inside steroid_execute_code. New tools and new McpScriptContext methods are not the lever for "agents deliver more"; better recipes are. The full canonical statement lives in docs/PHILOSOPHY.md and is mirrored at runtime as mcp-steroid://skill/design-philosophy.

8 MCP Tools

ToolDescription
Execute Code (steroid_execute_code)Run Kotlin code inside the IDE's JVM with full API access
Execute Feedback (steroid_execute_feedback)Provide execution ratings back to agents
Fetch Resource (steroid_fetch_resource)Fetch any mcp-steroid:// skill guide / recipe by URI
Vision Screenshot (steroid_take_screenshot)Capture IDE screenshots with component metadata
Vision Input (steroid_input)Send keyboard/mouse events to the IDE via a sequence-string DSL
List Projects (steroid_list_projects)Discover all open IntelliJ projects
List Windows (steroid_list_windows)Enumerate IDE windows and components
Open Project (steroid_open_project)Open projects programmatically

58 MCP Resources

Comprehensive guides and examples covering:

  • LSP Operations (11) — Go to definition, find references, hover, completion
  • IDE Power Operations (22) — Refactorings, code generation, project analysis
  • Debugger Integration (7) — Breakpoints, thread control, debugging workflows
  • Test Runner (10) — Run tests, inspect results, navigate test trees
  • VCS Operations (3) — Git annotations, file history
  • Project Workflows (4) — Open projects with trust levels
  • Skill Guides (3) — IntelliJ API, debugger, and test runner guides

Featured Demo Videos

VideoDescriptionDuration
Codex Debugs in IntelliJ IDEAFull debugging session with Codex1:03:24
CodeDozer Demo 5Most popular demo1:00
CodeDozer & IntelliJ DebuggerDebugger integration showcase8:25
Now we call tasks in IntelliJTask execution demo2:21
Real Work in Monorepo Part 2Deep dive into real workflow18:37
Cursor Talks with IntelliJCursor integration0:44

Watch all demos: MCP Steroid Playlist


Configuration

MCP Steroid can be configured via IntelliJ's Registry (Help > Find Action > Registry) or JVM system properties.

Registry KeyDefaultDescription
mcp.steroid.server.port6315MCP server port (0 for auto-assign)
mcp.steroid.server.host127.0.0.1Bind address (use 0.0.0.0 for Docker)
mcp.steroid.storage.path(empty)Custom storage path (default: ~/.mcp-steroid/runs/)

See the full Configuration Documentation on the website.


Architecture

  • Technology: Kotlin on the JVM, running inside the IDE process
  • HTTP Server: Ktor 3.3.2 (Streamable HTTP + SSE)
  • Protocol: Model Context Protocol (MCP)
  • Default Port: 6315
  • OCR: Tesseract 5.5.1
  • Platform: IntelliJ Platform Plugin SDK

The server runs inside the IDE's JVM process — no inter-process communication. Direct access to the project model, semantic index, PSI tree, test runner, debugger, and VCS layer.


About the Project

MCP Steroid is an open-source project by Eugene Petrenko (@jonnyzzz), licensed under Apache 2.0.

Read more:

IntelliJ IDEA, IntelliJ Platform, PyCharm, WebStorm, and JetBrains are trademarks of JetBrains s.r.o.


Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines on how to get started, and CONTRIBUTORS.md for the list of people who have helped make MCP Steroid better.


License

MCP Steroid is open-source software licensed under the Apache License 2.0.


Links


将 MCP Steroid MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 MCP Steroid 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 MCP Steroid 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 MCP Steroid MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-steroid": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 MCP Steroid MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 MCP Steroid MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 MCP Steroid 帮我完成这项任务吗?
MCP Steroid
当然,我看过了。
以下是我使用 MCP Steroid 得到的结果。

常见问题

MCP Steroid MCP 服务器有什么用途?

MCP Steroid 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 MCP Steroid MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 MCP Steroid。

为什么在 TypingMind 中使用 MCP Steroid MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 MCP Steroid 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 MCP Steroid MCP 连接到 TypingMind?

MCP Steroid 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

MCP Steroid MCP 在 TypingMind 中提供哪些工具?

MCP Steroid 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 MCP Steroid MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 MCP Steroid 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇