Connect Codex to NocoDB
The Codex CLI works with NocoDB through the NocoDB MCP server. You add a TOML block from your MCP connection in NocoDB to the Codex configuration file.
| Codex | |
|---|---|
| Type | Desktop (CLI) |
| How it connects | TOML block, over HTTP |
| You need | An MCP connection |
Set up Codex
Codex CLI connects directly to the MCP endpoint over HTTP. Thus it does not need the mcp-remote bridge. It uses a TOML configuration, not the shared JSON block.
- Open
~/.codex/config.toml. If the file does not exist, create it. - Add the TOML block from the Codex tab of the MCP endpoint dialog. Use the URL and token that you generated here.
- Run
codex mcp list. Make sure that the server is connected.
[mcp_servers.NocoDB_MCP]
url = "https://your-domain.com/mcp/<ncId>"
http_headers = { "x-api-key" = "<ncToken>" }The table key has to be a bare TOML key, so NocoDB replaces any character outside letters, digits,
_, and - in the endpoint name: an endpoint named My Base MCP appears as [mcp_servers.My_Base_MCP].Related
Last updated on
Latest product updates?See Changelog