Skip to main content Skip to content

Connecting Codex

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

1 min read Last updated: 

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:

Terminal window
List my organisations

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

Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001 · zero-trust· 30% average cloud cost cut· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001 · zero-trust· 30% average cloud cost cut· 4 platforms · 1 console·