Skip to content
MCP server

Neon

Official Neon MCP server for managing Postgres projects, branches and queries

Answers · sign-in required (OAuth)

The server answered 2 days ago with a sign-in request for OAuth (HTTP 401), so we could not list its tools.

Neon is an MCP server for databases. It runs as a hosted remote server, so there is nothing to install locally.

Platforms
API, CLI
Runs
Remotely
What it can do
Can change data (3 tools)
Access
Needs sign-in (OAuth)
Version
2.0.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http mcp https://mcp.neon.tech/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.neon.tech/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://mcp.neon.tech/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.neon.tech/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.neon.tech/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://mcp.neon.tech/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp --url https://mcp.neon.tech/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
url = "https://mcp.neon.tech/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://mcp.neon.tech/mcp

Enter a Name (for example "Neon"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.neon.tech/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp": {
          "httpUrl": "https://mcp.neon.tech/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http mcp https://mcp.neon.tech/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "serverUrl": "https://mcp.neon.tech/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.neon.tech/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp": {
          "type": "streamableHttp",
          "url": "https://mcp.neon.tech/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp": {
          "url": "https://mcp.neon.tech/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.neon.tech/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.neon.tech/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "url": "https://mcp.neon.tech/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Neon

Neon's hosted MCP server lets an assistant manage Neon projects and Lakebase Postgres databases: run queries, make schema changes and create branches. The docs warn that this grants broad database management capabilities, so you should review every action the model proposes and limit access to trusted users.

Setup is one command, npx neon@latest mcp, which asks where to write config, which agents to install into and how to authenticate. For CI or headless agents, neon mcp -y with an API key does the same without prompts. The endpoint at mcp.neon.tech supports OAuth and API keys, and is an official Claude connector for Claude.ai and Claude Desktop.

Access control is done in the URL. ?readonly=true keeps SELECTs and schema inspection but disables writes, run_sql_transaction and get_connection_string. ?projectId= scopes everything to one project and hides list_projects and create_project. ?category= restricts tools to named groups such as querying.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

Going by the tool names, 3 of 5 tools change data.

From the server's own tool labels and tool names; not verified by us.

run_sqlName suggests: changes
Run a SQL query.
run_sql_transactionName suggests: changes
Run SQL statements in a transaction.
get_connection_stringName suggests: reads
Get a connection string.
list_projectsName suggests: reads
List Neon projects.
create_projectName suggests: changes
Create a Neon project.

What it does

Project management
Creates and lists projects and branches.
SQL execution
run_sql and run_sql_transaction query and change data.
Read-only mode
?readonly=true disables writes and keeps SELECTs.
Project scoping
?projectId= limits operations to one project.
Category filtering
Narrow tools to groups such as querying.
OAuth or API key
Authenticate in a browser or with a key for headless setups.

Good for

  • Inspect a Postgres schema from an assistant
  • Let an agent try a migration on a branch
  • Give a read-only assistant access to production data
  • Limit an agent to a single project

Pricing

Pricing unknown

Pricing not covered on this page

Prices change. Check neon.com before you buy.

Neon FAQ

How do I install Neon?

Run npx neon@latest mcp, or add https://mcp.neon.tech/mcp to your client.

How do I make Neon read-only?

Append ?readonly=true to the URL, or choose read-only scope during OAuth.

Is Neon an official connector?

Yes, it is an official Claude connector for Claude.ai and Claude Desktop.

How does auth work?

OAuth in a browser, or an API key via an Authorization header.

How do I add Neon to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.neon.tech/mcp

What are the best alternatives to Neon?

The closest alternatives to Neon are awslabs, kubeshark, Azure MCP Server, Pitot and Runeward.

Where this comes from

  • Description: written from the project's README and the project's website.
  • Status: checked automatically by AIPoweredBot on 25 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers