Przejdź do głównej zawartości

Connect atbridge.ai to Codex CLI

Ta treść nie jest jeszcze dostępna w Twoim języku.

The OpenAI Codex CLI reaches atbridge.ai over MCP. Register atbridge.ai once and Codex can search, draft, and file mail from your terminal.

If you haven’t installed atbridge.ai yet, start with Install atbridge.ai. New to how this works? See How your AI connects.

In Thunderbird, open the atbridge.ai extension’s Settings → Connect your AI (MCP). Next to OpenAI Codex CLI, hit Set up. Tick “Allow writes” first if you want the AI to send / draft / edit mail (it’s read-only by default).

Or from a terminal:

Terminal window
atbridge mcp setup --client codex
# add --allow-writes to unlock send / draft / edit

Codex keeps its configuration in TOML, and its own CLI writes it for you:

Terminal window
codex mcp add atbridge -- atbridge mcp

To let the AI send / draft / edit mail (read-only otherwise), pass the write flag as an environment variable:

Terminal window
codex mcp add atbridge --env ATBRIDGE_ALLOW_WRITES=1 -- atbridge mcp

Either command writes an entry into your Codex config:

~/.codex/config.toml

config.toml
[mcp_servers.atbridge]
command = "atbridge"
args = ["mcp"]
[mcp_servers.atbridge.env]
ATBRIDGE_ALLOW_WRITES = "1"

Check it landed with:

Terminal window
codex mcp list

Codex reads its config on every run, so there’s nothing to restart. Start codex and ask:

List the 5 most recent emails in my Thunderbird inbox.

If you see a list, you’re done.

Was this page helpful?

Ostatnia aktualizacja: