Choose a harness. These instructions connect to the hosted MCP endpoint shown on this page.
Claude Code Run this in your terminal. It adds a user-scoped server; use --scope project instead if it should apply only to the current project.
terminal Copy Copied
claude mcp add --scope user --transport http neon https://mcp.neon.tech/mcp Claude Desktop Open Claude Desktop → Settings → Developer → Edit Config. Add this entry to claude_desktop_config.json, save it, then fully restart Claude Desktop.
claude_desktop_config.json Copy Copied
{
"mcpServers": {
"neon": {
"url": "https://mcp.neon.tech/mcp"
}
}
} Codex Run this in the Codex CLI:
terminal Copy Copied
codex mcp add neon --url https://mcp.neon.tech/mcp Codex stores the same server in ~/.codex/config.toml (or a trusted project’s .codex/config.toml):
~/.codex/config.toml Copy Copied
[mcp_servers.neon]
url = "https://mcp.neon.tech/mcp" Cursor
Add this to .cursor/mcp.json for the current project or ~/.cursor/mcp.json for all projects.
Cursor resolves ${env:NAME} from your environment.
.cursor/mcp.json Copy Copied
{
"mcpServers": {
"neon": {
"type": "streamable-http",
"url": "https://mcp.neon.tech/mcp"
}
}
} OpenCode Add this server under the mcp object in opencode.json or opencode.jsonc. You can also run opencode mcp add and follow its prompts.
opencode.json Copy Copied
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"neon": {
"type": "remote",
"url": "https://mcp.neon.tech/mcp",
"enabled": true
}
}
}