
Steroid_Kit
Steroid CLI›IDE Setup
IDE Setup
Steroid works with five coding agents: Claude Code, Codex, Cursor (the desktop IDE and the Cursor CLI, both set up by one command), the GitHub Copilot CLI and OpenCode. Setup registers Steroid as an MCP server in each agent, adds a short instructions block where the agent supports one, and installs Steroid's skills. No credentials are written into any agent's configuration.
Supported Agents
| Agent | Setup target | Needs | MCP entry written to |
|---|---|---|---|
| Claude Code | claude-code | claude CLI | User scope, via claude mcp add |
| Codex | codex | codex CLI | ~/.codex/config.toml (or $CODEX_HOME), via codex mcp add |
| Cursor (desktop IDE and Cursor CLI) | cursor | The Cursor CLI (agent or cursor-agent) on PATH | ~/.cursor/mcp.json |
| GitHub Copilot CLI | copilot | copilot CLI | ~/.copilot/mcp-config.json, via copilot mcp add |
| OpenCode | opencode | opencode CLI (its official installer puts it in ~/.opencode/bin, which is often not on PATH; Steroid looks there too) | ~/.config/opencode/opencode.json (or opencode.jsonc if that exists), written by Steroid |
NOTE
The copilot target sets up the GitHub Copilot CLI only; Steroid does not edit VS Code's MCP settings. There is no separate Cursor CLI target: steroid setup cursor covers both. Other MCP clients are not setup targets.
NOTE
OpenCode: install it with curl -fsSL https://opencode.ai/install | bash on macOS or Linux (on Windows, follow the instructions at https://opencode.ai/docs), then sign in with opencode auth login. Steroid's setup is a separate step: steroid setup opencode.
Connecting an Agent
Use whichever is convenient — all three run the same setup:
- First run: run
steroid; the terminal app opens on Select your IDEs. Tick your agents and choose Continue. - Later, in the app:
steroid→ Settings → IDE Connections → Set up or Re-configure. - From a script or terminal:
steroid setup <target>.
Headless setup
steroid setup cursor
steroid setup claude-code
steroid setup codex
steroid setup copilot
steroid setup opencodeAdd --json for machine-readable output, or --skip-health-probe to skip the slower live check of the agent. Setup is safe to run again.
Setup runs these steps in order and stops at the first one that fails:
| # | Step | What it does |
|---|---|---|
| 1 | Check app | Confirms the agent is installed. For Cursor, either the desktop app or the Cursor CLI counts. Skipped for Codex, GitHub Copilot CLI and OpenCode. |
| 2 | Check CLI | Confirms the agent's command-line tool is on PATH. |
| 3 | Register Steroid | Adds the steroid MCP server to the agent. |
| 4 | Write instructions | Adds Steroid's guidance for the agent (not used for GitHub Copilot CLI). |
| 5 | Install skills | Copies Steroid's skills into the agent's skills folder. |
| 6 | Health probe | Asks the agent's CLI for a short reply to confirm it is installed and signed in. A failure here is a warning, not a stop. Skip it with --skip-health-probe. |
WARNING
Restart the agent when setup finishes, so it picks up Steroid's tools and skills.
| Exit code | steroid setup <target> |
|---|---|
| 0 | Wired |
| 1 | A blocking step failed |
| 2 | Unknown target |
What Gets Written
Every agent gets the same server entry, named steroid, pointing at the installed Steroid binary. Steroid writes the Cursor and OpenCode files itself; Claude Code, Codex and GitHub Copilot CLI are configured through their own CLIs.
~/.cursor/mcp.json — the steroid entry
{
"mcpServers": {
"steroid": {
"command": "/Users/you/.steroid/bin/steroid",
"args": ["mcp-server"]
}
}
}Other servers and keys in mcp.json are kept; only the steroid entry is replaced. If the file is not valid JSON, it is kept as a timestamped .bak copy next to it and a new one is written. For the other agents, setup runs their own commands for you:
What setup runs (you don't need to)
claude mcp add --scope user --transport stdio steroid -- <steroid> mcp-server
codex mcp add steroid -- <steroid> mcp-server
copilot mcp add steroid -- <steroid> mcp-server<steroid> is the path to the installed binary. Codex writes its entry to config.toml in ~/.codex (or $CODEX_HOME); the GitHub Copilot CLI writes ~/.copilot/mcp-config.json.
For OpenCode, Steroid edits the file itself: it adds an entry named steroid under mcp.servers in ~/.config/opencode/opencode.json (or opencode.jsonc if that exists; $XDG_CONFIG_HOME is honoured). A file with comments, or a malformed one, is backed up to <name>.bak.<timestamp> before it is rewritten. Disconnecting or uninstalling removes only Steroid's entry. OpenCode's instructions go into ~/.config/opencode/AGENTS.md, the same marked block Codex gets.
| Agent | Instructions | Skills folder |
|---|---|---|
| Cursor | A Steroid rule file in ~/.cursor/rules/ | ~/.cursor/skills/ |
| Claude Code | Marked block in ~/.claude/CLAUDE.md | ~/.claude/skills/ |
| OpenAI Codex | Marked block in ~/.codex/AGENTS.md | ~/.codex/skills/ |
| GitHub Copilot CLI | None | ~/.copilot/skills/ |
| OpenCode | Marked block in ~/.config/opencode/AGENTS.md | ~/.config/opencode/skills/ |
For Codex, the instructions block and skills follow $CODEX_HOME when it is set.
Tools and Skills Your Agent Gets
Steroid gives each wired agent exactly three tools:
| Tool | What it does |
|---|---|
recall_memory | Searches your past conversations for this project (or every indexed project) and answers with the sessions and turns it drew on. |
recall_turn | Shows the full text of one cited turn: the question, the answer, and the ids of any code changes (open them with recall_diff). |
recall_diff | Shows the full code diff for a change mentioned in an answer. |
Setup installs three skills into each wired agent. A fourth, steroid-onboard, comes from the installer. Skills refresh automatically when Steroid updates.
| Skill | What it does |
|---|---|
steroid-recall | Recall earlier decisions, past work and previous discussions for this project. |
steroid-index-project | Add another project's chat history to Steroid. |
steroid-whats-new | Show what changed in recent Steroid releases. |
steroid-onboard | Install and set up Steroid from inside your agent. Added by the installer to every agent it finds, not by steroid setup. |
| Agent | How to use a skill |
|---|---|
| Claude Code | /steroid-recall, or just ask about past work |
| Cursor | /steroid-recall |
| Codex | $steroid-recall |
| GitHub Copilot CLI | Ask in plain words, e.g. “use the steroid-recall skill to find how we fixed the login bug” |
| OpenCode | Ask in plain words, e.g. “run the steroid-recall skill” |
See Agent Skills for more.
Checking the Connection
--check re-verifies an agent without writing any agent configuration. By default it still runs the live check, which sends a one-line prompt through the agent's CLI to its provider, and saves the result in Steroid's own settings. Add --skip-health-probe for a check that sends nothing:
Status check (writes no agent config)
steroid setup cursor --check --jsonHealthy result (exit code 0)
{
"ide": "cursor",
"state": "connected",
"ok": true,
"checks": [
{ "check": "app", "status": "passed" },
{ "check": "cli", "status": "passed" },
{ "check": "mcp_wired", "status": "passed" },
{ "check": "skills", "status": "passed" },
{ "check": "health_probe", "status": "passed" }
],
"daemon": { "registered": true, "running": true }
}Each entry in checks can also carry a message, failure_kind and action_url when something needs attention. The app check appears only for Cursor and Claude Code.
| state | Exit code | Meaning |
|---|---|---|
connected | 0 | CLI found, MCP entry present, health probe passed. |
partial | 3 | Wired, but the health probe failed or was skipped with --skip-health-probe. |
disconnected | 1 | The CLI or the MCP entry is missing. |
| (unknown target) | 2 | The target is not one of cursor, claude-code, codex, copilot, opencode. |
NOTE
The health probe sends a short prompt through the agent's own CLI to confirm it is installed and signed in, so it goes to that agent's model provider like any other prompt. Recall answers work the same way: they are written by the coding agent you already use, through its own model provider. The final check is in the agent itself: after a restart, its MCP or tools list should show Steroid with three tools.
steroid doctor gives a wider report: the version and build, where updates come from, registered projects, the Cursor MCP entry, skills for every agent, whether background sync is running, update status, and any projects that failed to index. Add --json for machine-readable output. The terminal app (steroid) also shows each agent's connection state on its home screen.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| No Steroid tools after setup | The agent was not restarted | Restart the agent. |
cli_not_found or app_not_found | The agent is not installed or its command is not on PATH (for Claude Code, a missing claude command is reported as app_not_found). Cursor needs the Cursor CLI (agent or cursor-agent); the desktop app alone is not enough. | Install it from the link setup prints (See: …; action_url with --json), then re-run setup. |
config_error | Config or skills folder not writable, or mcp add timed out (15 s) | Fix permissions on the reported path and re-run — setup is safe to repeat. |
Live check warning: Not signed in. in the terminal app, or Note (live check, non-blocking): … from steroid setup | The agent's CLI is not signed in, or can't answer right now (for example, it is out of credits). The note repeats the agent's own message. | Open a terminal, run the agent's CLI and sign in (claude auth login, agent login, codex login, copilot login or opencode auth login), check you have credits, then run steroid setup <target> --check. Wiring is already done. |
| Recall from Cursor doesn't answer | Answers for Cursor are written through the Cursor CLI | Install the Cursor CLI and sign in with agent login. |
| Recent sessions missing from answers | Background sync isn't running. It refreshes registered projects about every 5 minutes, so new sessions normally show up within a few minutes. | Run steroid daemon status; if it isn't running, run steroid daemon start --force. |
| One project never picks up new sessions | It was indexed with steroid memory build only, so it isn't registered for background sync | Run steroid project add in that folder (or ask a recall question there). |
Disconnecting an Agent
Disconnecting is done in the terminal app: run steroid, then open Settings → IDE Connections → Disconnect (shown only for an agent that is set up; you're asked to confirm). This removes Steroid's MCP entry, instructions and skills from that agent, and deletes Steroid's saved memory for that agent's history. The agent's own chat history is never touched. Run steroid setup <target> to connect it again.
Disconnecting Cursor leaves Cursor CLI history in recall. There is no single-agent disconnect command; steroid uninstall removes Steroid's MCP entry, instructions and skills from every agent at once (it keeps steroid-onboard so your agent can reinstall Steroid).
WARNING
Installing a skill overwrites the SKILL.md in any folder of the same name in the agent's skills directory (other files in it are left alone). Uninstalling and disconnecting remove only the skill folders Steroid installed.
Continue Reading