Add Potniq to Codex

Potniq works out when you need to leave for the transit between your bookings. You use it through your own AI agent over MCP. It does not time airports or security; it uses the buffers you set.

This guide covers the Codex command line tool.

Not yet verified by Potniq

We have not yet recorded a full end-to-end run on Codex. These steps follow OpenAI's documentation, checked 30 October 2026: Codex docs: Model Context Protocol.

Setting it up opens Potniq in your browser. You sign in and approve access yourself; your agent cannot do it for you.

Steps

  1. 01

    In a terminal, add Potniq:

    codex mcp add potniq --url https://api.potniq.com/mcp

  2. 02

    Sign in. Your browser opens.

    codex mcp login potniq

  3. 03

    Potniq opens in your browser. Sign in, or create an account and confirm your email in the same browser. Then choose Allow, which lets your agent read and save trips.

  4. 04

    Check that Potniq is listed:

    codex mcp list

  5. 05

    Start Codex and paste the prompt below.

Paste this first

Use Potniq. Check the connection and tell me which account it is. Then help me set up my next work trip, and tell me when I need to leave. I will describe or paste the bookings.

Your agent saves the bookings it already knows and shows you one summary of the trip at the end.

Add it in config.toml instead

Add this to your Codex configuration file (~/.codex/config.toml), then run codex mcp login potniq.

[mcp_servers.potniq]
url = "https://api.potniq.com/mcp"

Codex in the ChatGPT desktop app or your IDE

OpenAI's docs say the ChatGPT desktop app, the Codex CLI and the IDE extension share this configuration. We have not checked those apps.

If it stops

Sign-in fails with a client registration error
Sign in with dynamic client registration instead:
codex mcp login potniq --oauth-client-registration dcr

Potniq says your account is not active yet
Potniq is opening gradually. An account created without an invite code may join the waitlist, and your agent cannot connect until it is active. We email you when it is. Then connect again once from your agent. Have an invite code? Enter it when you create your account.
Your agent can read trips but not save them
Connect again and choose Allow.
It connected to the wrong Potniq account
Ask your agent which account it is using. Revoke that connection at https://potniq.com/connections, then connect again and choose the right account.
You want to stop access
Revoke the connection at https://potniq.com/connections. Data your agent already received follows your agent's own policy.