Install

Agent skill (recommended)
Adds the onlinesim-mcp skill so the agent can install the binary, start MCP, and ask for an API key when needed:
npx skills add on-org/onlinesim-mcp
npx skills add on-org/onlinesim-mcp -g
npx skills add on-org/onlinesim-mcp -a cursor -yAlways-on every chat: copy skills/onlinesim-mcp/rules/onlinesim-mcp.mdc into the project .cursor/rules/, or paste it into Cursor → Settings → Rules → User Rules.
Direct binary
Installs into ~/.local/bin by default (override with ONLINESIM_INSTALL_DIR). No agent required.
curl -fsSL https://raw.githubusercontent.com/on-org/onlinesim-mcp/master/install.sh | shVerify
Open a new terminal so PATH updates apply, then run:
onlinesim --version
onlinesim doctorUpdate
After install, upgrade the CLI by running the same installer again — it replaces the binary with the latest GitHub Release.
On startup, onlinesim may print a hint when a newer release exists (checked about once per day). Restart MCP after updating so clients use the new binary.
curl -fsSL https://raw.githubusercontent.com/on-org/onlinesim-mcp/master/install.sh | shIf you installed the Agent Skill, refresh it separately:
npx skills update onlinesim-mcp
npx skills update -gDisable the update hint with a flag or env:
# one command
onlinesim --no-update-check doctor
# or permanently
export ONLINESIM_NO_UPDATE=1