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
Go to Integrations > MCP Server in the Nekt platform. You’ll need two values:- Endpoint — the MCP server URL displayed at the top of the page
- Token — a bearer token created in the MCP Tokens section
Tokens created manually can be scoped to specific tables for fine-grained access control. Tokens grant Codex access only to the tables associated with that token.
3. Connect Codex to Nekt
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:
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 CLI:Option B — Editing the configuration file:Open
~/.codex/config.toml and add the following block: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 nine 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.