Connect · Codex and Cursor
Connect Codex, Cursor and Claude Code locally.
Coding agents that run on your own machine use the amoos-mcp stdio launcher with a machine key instead of OAuth. Today stdio sessions are attributed to the claude surface, whichever client runs them.
1 · The URL
<amoos-mcp checkout>/bin/amoos-mcpA local launcher command, not a URL. Replace the path with your checkout.
2 · Sign in
Machine key in a token file. No OAuth.
- 1
Mint a machine key from a signed-in web session and save it to the token file (default ~/.config/amoos/token).
POST https://api.devbrain.example/api/v1/auth/machine-keys {"name":"my-laptop"} - 2
Claude Code: register the launcher once for your user.
claude mcp add -s user amoos <amoos-mcp checkout>/bin/amoos-mcp - 3
Codex: from the amoos-mcp checkout, let the setup command register the launcher and the instructions block.
poetry run amoos-codex-setup --write --json - 4
Cursor: add the same launcher to your MCP settings, with no arguments.
{"mcpServers":{"amoos":{"command":"<amoos-mcp checkout>/bin/amoos-mcp","args":[]}}} - 5
Restart the client and send the first message below.
3 · What to say first
Call start_session for project amoos, then amoos_guide, and tell me the focus and what is open. Use capture for personal notes, not memory_add.The agent's first call is amoos_guide, a short map of what amoOS can do.
4 · Limits
- Optional env vars: AMOOS_API_URL, AMOOS_TOKEN_FILE, AMOOS_MACHINE_NAME, AMOOS_TIMEZONE, AMOOS_MCP_PROFILE.
- Every stdio write is stamped surface claude with captured_by stdio:<machine>, including Codex and Cursor, until per-client attribution lands.
- The Cursor snippet follows Cursor’s standard mcpServers format and has not been run against amoOS yet.
- Needs Python and Poetry on the machine; the launcher is not a hosted service.