Documentation

Connecting Codex

Connect Codex to ZopNight's MCP server via Streamable HTTP transport to query your cloud infrastructure from within the Codex environment.

Connect Codex to ZopNight's MCP server to query your cloud infrastructure from within the Codex environment.

Setup

  1. Open Codex
  2. Go to Settings
  3. Click MCP Servers
  4. Click Add Server
  5. Select Streamable HTTP (not STDIO)
  6. Fill in the fields below
  7. Click Save

Configuration

FieldValue
Namezopnight
TransportStreamable HTTP
URL<server-url>
Header KeyAuthorization
Header ValueBearer <your-token>

Note

  • Replace <server-url> with the Server URL copied from your Organisation Settings page or from the Developer Settings page while creating your PAT token.
  • Replace <your-token> with your Personal Access Token (starts with zn_pat...).

Verify Connection

Once configured, ask Codex:

text
List my organisations

If configured correctly, it will call the list_organisations tool and show your organisations.