Requires a paid Nekt plan (for MCP Server access) and the Codex CLI installed (
codex command available).1. Activate your MCP Server
The connection is made by activating the MCP Server in your workspace. Check this guide for instructions.2. Get your endpoint and token
In Nekt, click MCP in the top-right corner of the header, then Manage MCP Gateway. You’ll need two values:- Endpoint: the MCP server URL displayed at the top of the page
- Token: a bearer token created in the Access tokens section
Tokens can be scoped per resource type (tables, volumes, secrets, context layer, and live connections) and per tool. Picking individual resources requires the Growth or Custom plan. See Permissions.
3. Connect Codex to Nekt
1
Set your token as an environment variable
Export the token in your current shell session:To persist it across sessions, add it to your shell profile:
2
Add the Nekt MCP server
You can register the MCP server using the CLI or by editing the configuration file directly.Option A: Using the CLIOption B: Editing the configuration fileOpen
~/.codex/config.toml and add the following block:3
Verify the connection
Confirm the server was registered correctly:The server
nekt should appear as enabled, with the URL https://mcp.nekt.com/mcp and auth mode showing bearer token via env var.You can also ask Codex to list the available Nekt tools to confirm the connection is working. You should see the tools provided by the Nekt MCP Server. You can learn more about them here.4. Explore your data
Once connected, ask Codex a question about your data. For example:We’d love to know what you’re building with Nekt! Share your projects with us through any of our communication channels.