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
TypeDesktop (CLI)
How it connectsTOML block, over HTTP
You needAn 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.

  1. Open ~/.codex/config.toml. If the file does not exist, create it.
  2. Add the TOML block from the Codex tab of the MCP endpoint dialog. Use the URL and token that you generated here.
  3. 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].

Last updated on

Latest product updates?See Changelog
Stay in the loop? Follow us onLinkedInLinkedInYouTubeYouTubeXX