Is Codex CLI supported as an MCP client for Neon?
Hello, I'm trying to use Neon MCP server with Codex CLI by setting up the configuration in my .codex file, but I can't get it to work. Could you tell me if Codex CLI is officially supported as an MCP client for Neon, or if there are any known issues/tips for integrating it? If not supported, which clients are recommended for Neon MCP server?
2 Replies
stormy-gold•3w ago
Hey!
I don't see why the Neon MCP wouldn't be able to be integrated into Codex, it was intended to mirror how tools such as Claude and Cursor define mcpServers. Could you share the
.codex/config.toml entry you're using to add Neon?
Just put <API_KEY> in the place of the actual key thoughdependent-tanOP•3w ago
I wanted to provide a quick update regarding my previous issue connecting Codex CLI. Even after entering the correct API key in .codex/config.toml, I initially was unable to connect. However, I retried the setup today, and I was finally able to connect successfully. Thank you for your support.
.codex/config.toml
[projects."/root/projects/myproject".mcp_servers.neon]
command = "npx"
args = ["--yes", "@neondatabase/mcp-server-neon", "start", "<API_KEY>"]
[mcp_servers.neon]
command = "npx"
args = ["--yes", "@neondatabase/mcp-server-neon", "start", "<API_KEY>"]