Quickstart: Codex CLI
Two commands in the terminal, from Codex CLI 0.147 on. Four steps, always in this order: connect, check the connection, start the first check and, if you want, disconnect again.
Connect, check, fix, re-check in just over two minutes. With subtitles; the video loads only when you play it.
1. Connect
In the terminal:
codex mcp add a2a-check --url https://api.a2a-check.com/mcp
codex mcp login a2a-checkThe second command opens the sign-in page in the browser: sign in with your company e-mail address and the six-digit code, then approve the connection. No account key is needed.
2. Check the connection
Give your agent this sentence:
To copy by hand: click into the field, select everything (Ctrl+A, on a Mac Cmd+A) and copy (Ctrl+C, Cmd+C).
Expected answer: 7 tools, namely get_account, list_agents, register_agent, submit_check, get_check, list_checks and get_patterns. If your agent names no tools or other ones, the connection is not finished: see Troubleshooting.
3. First check
Give Codex the check instruction below. Codex shows you the files and waits for your okay before it sends anything; it names the harness codex-cli.
Check instruction
The check instruction is in English because it goes to your AI; your AI answers you in your language.
To copy it, click into the field, select everything (Ctrl+A, on a Mac Cmd+A) and copy (Ctrl+C, Cmd+C), then paste it to your AI.
4. Disconnect
In the terminal:
codex mcp remove a2a-checkYou revoke the approval itself under Connections and data in the portal; the connection stops at once.
Something does not work? Troubleshooting orders the common problems by symptom.
Other tools
- Claude Cowork: Everything in the chat, no terminal.
- Claude Code: One command in the terminal.
- Gemini CLI: One command in the terminal, then the sign-in in Gemini CLI.
All ways on one page ยท For developers: account key and REST