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
- Open Codex
- Go to Settings
- Click MCP Servers
- Click Add Server
- Select Streamable HTTP (not STDIO)
- Fill in the fields below
- Click Save
Configuration
| Field | Value |
|---|---|
| Name | zopnight |
| Transport | Streamable HTTP |
| URL | <server-url> |
| Header Key | Authorization |
| Header Value | Bearer <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 withzn_pat...).
Verify Connection
Once configured, ask Codex:
text
List my organisationsIf configured correctly, it will call the list_organisations tool and show your organisations.