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
1
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.2
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.
3
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.4
Write the config file
The key is written to
~/.config/doomberg/mcp.env with mode 0600 (owner only):5
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.6
Register the MCP server with your agent
The installer detects your agent and registers the MCP endpoint. For Codex:
Default scopes
deploy:live is deliberately unissuable — paper-only is enforced at the code level.
Next steps
1
Restart your agent
GUI agents cache environment variables at launch. Restart them so they pick up the key.
2
Run the starter prompt
Paste this into your agent:
3
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