Neon

Neon is an MCP server that connects LLM clients to the Neon serverless Postgres platform. Built for software engineers, database administrators, and technical teams, it translates natural language requests into direct actions against the Neon API and live Postgres databases. Users can manage Neon projects, spin up and merge database branches, inspect table structures, and run schema migrations within their developer workflows. It also provides tools to execute SQL statements, run multi-statement transactions, list slow-running queries, and explain SQL execution plans to identify performance bottlenecks. Because it can be deployed via a remote hosted endpoint with OAuth or API key authentication, users can connect environments like Cursor, Claude Code, and VS Code without installing a local service. Configurable access parameters allow developers to restrict the server to specific functional scopes or read-only modes, keeping schema design, query tuning, and database testing safe during active local development.

Category: Cloud & Infrastructure

Tags: neon, postgres, serverless, SQL

Visit Neon

How to install and configure Neon

Follow these steps to connect the remote Neon MCP server to your client: 1. Automatically configure compatible editors such as Cursor, VS Code, or Claude Code by running: bash npx neon@latest init 2. Alternatively, add the hosted remote MCP server across detected workspace agents with OAuth by executing: bash npx add-mcp "https://mcp.neon.tech/mcp?category=projects&category=branches&category=endpoints&category=querying&category=schema" 3. If configuring manually in an mcp.json or mcp_config.json file, add the server definition: json { "mcpServers": { "Neon": { "type": "http", "url": "https://mcp.neon.tech/mcp?category=projects&category=branches&category=endpoints&category=querying&category=schema" } } } 4. For API key authentication, include the Authorization header with your key: json { "mcpServers": { "Neon": { "type": "http", "url": "https://mcp.neon.tech/mcp?category=projects&category=branches&category=endpoints&category=querying&category=schema", "headers": { "Authorization": "Bearer <$NEON_API_KEY>" } } } } 5. Restart your MCP client and complete the browser OAuth flow if prompted.

What you can do with Neon

  • Creating, listing, and deleting serverless Postgres projects directly through natural language instructions in your coding environment. - Managing and isolating database branches to test complex schema migrations before applying them to development environments. - Executing single queries and multi-statement SQL transactions against live databases while inspecting returned datasets. - Diagnosing performance bottlenecks by listing slow queries, running database health inspections, and explaining SQL execution plans. - Inspecting database architecture by retrieving table lists, viewing column definitions, and comparing schemas between branches.

Key facts

  • https://github.com/neondatabase/mcp-server-neon
  • Cloud & Infrastructure, Databases & Data Stores
  • neon, postgres, serverless, SQL

Part of MCP Servers

Related MCP servers

  • MCP KQL Server — MCP KQL Server is an MCP server that connects AI assistants to Azure Data Explorer clusters using Azure CLI authentication.…
  • MCP Media Player — MCP Media Player is an MCP server that exposes playback controls for Home Assistant media players to AI agents. It…
  • MCP Memory Keeper — MCP Memory Keeper is an MCP server that provides persistent context management and memory storage for Claude AI coding assistants.…
  • MCP Kubernetes Server — MCP Kubernetes Server is an MCP server that provides tools for managing and inspecting Kubernetes clusters directly through Large Language…
  • MCP Notes — MCP Notes is an MCP server that provides note-taking and note-management capabilities to AI models using Amazon Web Services DynamoDB…
  • MCP Neo4j Server — MCP Neo4j Server is an MCP server that provides an integration between the Neo4j graph database and Model Context Protocol…

How do I install Neon?

You can configure the remote server automatically using the npx neon@latest init command in editors like Cursor, VS Code, and Claude Code. Alternatively, you can register the remote URL https://mcp.neon.tech/mcp in your client configuration using npx add-mcp or by adding an HTTP entry to your client settings file with OAuth or API key headers.

What can Neon do?

The Neon MCP server manages serverless Postgres instances on Neon. It allows clients to create and delete projects, manage database branches, inspect table structures, execute single queries or multi-statement transactions, diagnose slow queries, explain SQL statements, and prepare schema migrations using plain language prompts.

Which MCP clients work with Neon?

Neon supports MCP clients capable of connecting to remote HTTP servers or standard MCP integrations, including Cursor, Claude Code, VS Code through GitHub Copilot, and Kiro. It works with both OAuth and API key authentication methods.

Is Neon open source?

Yes, the Neon MCP Server is an open-source project released under the MIT license. You can view the source code, review updates, and report issues on its GitHub repository at neondatabase/mcp-server-neon.

Can I run the Neon MCP server in read-only mode?

Yes, you can enable read-only mode by deselecting write permissions during OAuth authorization or by appending readonly=true to the MCP server URL query parameters. Read-only mode restricts write operations like branch creation or migrations and limits the run_sql tool to read-only queries.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories