Prerequisites
- An MCP-compatible AI agent installed locally (Codex, Claude Desktop, Cursor, or any MCP client)
- Python 3.11+
- An account at app.doomberg.me (sign in or sign up during the flow)
The one-liner
What the installer does
Start a localhost callback server
The installer spins up a temporary HTTP server on
127.0.0.1 on an ephemeral port and generates a random state token to verify the response.Open the AgentLink approval page
The installer opens your browser to an approval URL showing the agent config — name, MCP endpoint, and the signed-in account. Click Approve.
Sign in and mint the API key
If you’re not already signed in, Clerk authentication runs first. On approval, the app mints a scoped API key (
dmbg_<env>_<keyid>_<secret>). The plaintext key is returned once — only its salted SHA-256 hash is persisted server-side.Source the env into your shell
The installer appends a sourcing block to your shell RC file (
~/.zshrc or ~/.bashrc) and runs launchctl setenv on macOS so GUI agents pick up the key without a restart.Default scopes
| Scope | Grants |
|---|---|
data:read | Call any data-layer MCP tool or read an MCP resource |
strategy:author | Call propose_strategy |
runs:write | Call run_skill to create durable runs |
runs:cancel | Call cancel_run |
approvals:read | Call list_approvals |
artifacts:read | Call get_artifact |
deploy:backtest | Submit backtest runs |
deploy:paper | Request paper-trading promotion (still requires human approval) |
deploy:live is deliberately unissuable — paper-only is enforced at the code level.
Next steps
Restart your agent
GUI agents cache environment variables at launch. Restart them so they pick up the key.
Watch it live
Open app.doomberg.me → Sessions. Your agent’s research session streams live via SSE.
Troubleshooting
Agent not seeing the server
Agent not seeing the server
- For Codex:
codex mcp listshould showdoombergpointing athttps://mcp.doomberg.me/mcp. - The agent must support streamable-HTTP transport. stdio-only clients need a local server (see MCP Connection).
- The key needs
data:readscope to list tools.
Installer flags
Installer flags
| Flag | Default | Purpose |
|---|---|---|
--app-url | https://app.doomberg.me | Web app base URL |
--mcp-url | https://mcp.doomberg.me/mcp | MCP endpoint |
--name | doomberg | Server name registered with the agent |
--client | codex | Which agent client to auto-register |
--timeout | 300 | Seconds to wait for browser approval |
--no-open | (off) | Print the approval URL instead of opening a browser |