Sotro for Codex
Last updated December 2, 2026
Connect the Codex CLI or app to Sotro so coding runs start with your workspace rules, precedents and open decisions.
Add Sotro in Codex CLI
Register the HTTP MCP server and sign in through your browser with your Sotro account:
codex mcp add sotro --url https://app.sotroai.com/mcp
codex mcp login sotro
To authenticate with an environment token instead of browser sign-in, point Codex at SOTRO_TOKEN in ~/.codex/config.toml:
[mcp_servers.sotro]
url = "https://app.sotroai.com/mcp"
bearer_token_env_var = "SOTRO_TOKEN"
- In ChatGPT, enable Developer mode under Settings → Apps & Connectors → Advanced and add
https://app.sotroai.com/mcpwith OAuth. - Codex reads
SOTRO_TOKENat launch, so the plaintext key never touches disk.
Verify and use
Call whoami first to confirm the workspace, scope and role this connection runs as, then call get_help for Sotro terminology. Every call runs on the caller’s own access: read tools inspect open questions (list_decisions, who_owes_what), precedents (find_precedents), automations (list_automations) and workspace apps (list_connectors); call answer_decision only when a person explicitly gave you the answer to record.
Agent bootstrap and other clients
Non-interactive signup, OAuth 2.0 discovery, API keys and prepaid wallet checkout live at auth.md; all-client procedures at agents.md; installable skill at SKILL.md; site summary at llms.txt (llm.md, llm.txt); manifest at /.well-known/agent.json; and human reference on Developers.
Other MCP clients: Claude Code · Codex · Gemini · Antigravity · Cursor · Devin