Getting Started

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 that exposes the IDE’s real semantic actions — typed refactors, inspections, the debugger, and test runs. You install devrig; devrig uses MCP Steroid.

1. Install devrig — one command

macOS / Linux curl -fsSL https://devrig.dev/install.sh | sh
Windows irm https://devrig.dev/install.ps1 | iex

Then register your agent: devrig install claude (or replace claude with codex or gemini). Read the devrig guide →

This installs the devrig CLI together with its own runtime into ~/.mcp-steroid — there is nothing else to set up by hand.

2. Register your AI agent

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. The agent must be one of claude, codex, or gemini. See the devrig CLI guide for the full command set.

3. Install the MCP Steroid plugin

In your JetBrains IDE, install MCP Steroid from the JetBrains Marketplace.

This manual plugin step is for an IDE you already manage. When devrig downloads and starts a managed backend, it installs the matching MCP Steroid plugin into that isolated backend automatically.

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. A devrig-managed IntelliJ IDEA Ultimate 2026.2 backend may instead run as a supported frontendless Remote Development backend. Only plain non-backend headless mode is unsupported (best-effort, see #177); Remote Development product mode takes precedence over the raw AWT-headless flag. See Running devrig in CI.
  • An MCP-compatible AI agent (Claude Code, Codex, Gemini, or any MCP client)

Verify the connection

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

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 and your agent can now use all MCP Steroid capabilities. We recommend asking your agent to use IntelliJ APIs and the IDE while it works.

An empty project list is valid when no IDE/project is open yet. The agent can discover downloadable backends, download one, and call steroid_open_project; managed backends start on demand.

Troubleshooting

MCP server not starting

  • Check that IntelliJ is running
  • Verify .idea/mcp-steroid.md exists in your project
  • Check the registry key: Help > Find Action > Registry...mcp.steroid.server.port

Port conflicts

If port 6315 is in use, change it:

  1. Go to Help > Find Action > Registry...
  2. Search for mcp.steroid.server.port
  3. Set a different port (e.g., 6316)
  4. Restart IntelliJ
  5. Update your MCP client with the new URL from .idea/mcp-steroid.md

Plain headless IDE (unsupported)

If idea.log contains the WARN MCP Steroid is running in a headless IDE, the IDE was classified as plain non-backend headless mode. That mode is unsupported (best-effort): long blocking waits and deadlocks in platform code have been observed — see #177. Run the normal desktop GUI on macOS/Windows, or, on Linux/CI, start the IDE under Xvfb (a virtual X display) — see Running devrig in CI.

A frontendless Remote Development backend is different: it has no attached client window but is classified by Remote Development product mode before the raw AWT-headless flag is considered. It is supported for the managed IU-262 path documented in the devrig CLI guide; agents should wait for the project path and build-system import, not for a screenshot.

Next Steps