Skip to content

Connect Codex to Sensefold

Codex connects with an Agent key — created in Sensefold Settings with a permission tier: read_only, edit, or full. Keys are revocable and rotatable.

  1. Add this to ~/.codex/config.toml:
    [mcp_servers.sensefold]
    url = "https://api.sensefold.app/mcp"
    bearer_token_env_var = "SENSEFOLD_AGENT_KEY"
    default_tools_approval_mode = "writes"
  2. Now create an Agent key at app.sensefold.app → Settings → Agents, pick a tier, and copy it — the full key is shown only once. Never paste it into a chat.
  3. Set SENSEFOLD_AGENT_KEY to the copied key in the environment that launches Codex (for example in your shell profile), restart Codex, and use /mcp to verify the connection.
  • “Before implementing, search my Sensefold library for the API design notes.”
  • “Save this investigation summary as a note.”

An agent-readable version of this setup lives at /for-agents/skill.md — paste that URL to Codex and let it configure itself.