MCP server

Neon

Manage Neon Postgres projects, branches and queries in natural language

Neon's official MCP server lets assistants manage Neon projects and branches, run SQL, inspect schemas and run safe migrations on temporary branches. The hosted server supports OAuth or API key auth, read-only mode, project scoping and tool-category filtering via URL parameters.

Also available as

Connect

  1. 1Connect it in ChatGPT

    Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.neon.tech/mcp as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.

  2. 2Or add it to Codex or the API
    codex mcp add neon --url https://mcp.neon.tech/mcp
    codex mcp login neon

    The login command opens a browser to finish OAuth.

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 6

list_projectscreate_projectcreate_branchrun_sqldescribe_table_schemainspect_database

Things to ask

  • “Create a new Neon project called analytics”
  • “Create a branch and test adding an index on orders.created_at”
  • “Show the schema of the users table”
  • “Run diagnostics on my production database”

Related