Reference
CLI Reference
All commands are available via npx @businys/ops or the global binary businys-ops after installation.
init
Scaffold mcp-ops.config.json in the current directory.
npx @businys/ops initnpx @businys/ops init
# Creates mcp-ops.config.json with default rate limits and a placeholder API keydeploy
Validate an API key against the hosted dashboard and write it to mcp-ops.config.json. Creates the config file if it does not exist.
npx @businys/ops deploy [options]| Option | Default | Description |
|---|---|---|
--key <api-key> | — | API key from businys.dev/dashboard (or set BDEV_API_KEY) |
--url <base-url> | https://businys.dev | Override the dashboard base URL |
npx @businys/ops deploy --key sk-live-abc123
# or
BDEV_API_KEY=sk-live-abc123 npx @businys/ops deployobserve
Start Observer Mode — an in-memory dashboard. Resets on restart. Good for development and demos.
npx @businys/ops observe [options]| Option | Default | Description |
|---|---|---|
--port <n> | 3100 | Dashboard port |
--host <host> | localhost | Bind hostname |
--token <tok> | — | Bearer token required for API access |
npx @businys/ops observe
npx @businys/ops observe --port 3200 --token mysecretdev
Local dev server with persistent storage. Optionally wraps a stdio MCP server as a bridge. Observer dashboard at the main port; bridge at port+1.
npx @businys/ops dev [cmd...] [options]| Option | Default | Description |
|---|---|---|
<cmd...> | — | Optional stdio server command — starts bridge at port+1 |
--port <n> | 3100 | Dashboard port |
--host <host> | localhost | Bind hostname |
--storage <path> | .ops-data.json | Data file path |
--token <tok> | — | Bearer token required for API access |
# Dashboard only (persistent)
npx @businys/ops dev
# Dashboard + bridge wrapping a stdio server
npx @businys/ops dev node ./my-server.js
npx @businys/ops dev python server.py --storage ./data.jsonbridge
Wrap a stdio MCP server as a managed HTTP endpoint with full middleware. Use this to add rate limiting, auth, and audit logging to any stdio server without modifying it.
npx @businys/ops bridge <cmd...> [options]| Option | Default | Description |
|---|---|---|
<cmd...> | — | Required — the stdio server command |
--port <n> | 3100 | HTTP port |
--host <host> | localhost | Bind hostname |
--name <name> | — | Server name for middleware context |
--rate-limit <n> | 100 | Max tool calls per agent per minute |
--timeout <ms> | 30000 | Response timeout in ms |
npx @businys/ops bridge node ./server.js
npx @businys/ops bridge python server.py --port 3200 --rate-limit 50status
Print current stats from a running Observer Mode instance.
npx @businys/ops status [options]| Option | Default | Description |
|---|---|---|
--port <n> | 3100 | Observer port to query |
npx @businys/ops status
npx @businys/ops status --port 3200Environment variables
| Variable | Description |
|---|---|
BDEV_API_KEY | API key for the hosted dashboard. Used by deploy and HostedAdapter. |