Neon logo

Neon MCP

version: 0.6.4
Manage your Neon Postgres databases with natural language.
https://mcp.neon.tech/mcp
The Neon MCP Server lets AI agents and dev tools like Cursor interact with Neon by translating plain English into Neon API calls—no code required. You can create databases, run queries, and make schema changes just by typing commands like "Create a database named 'my-new-database'" or "List all my Neon projects".
Built on the Model Context Protocol (MCP), the server bridges natural language and the Neon API to support actions like creating projects, managing branches, running queries, and handling migrations.
Learn more in the docs

Quick setup: Run npx neonctl@latest init to authenticate via OAuth, automatically create a Neon API key, and configure Cursor, VS Code, or Claude Code CLI to connect to the Neon MCP Server. Then ask your AI assistant "Get started with Neon". Learn more in the docs

Read-Only Mode

Restricts available tools to read-only operations like listing projects, describing schemas, and viewing data. Write operations like creating projects, branches, or running migrations are disabled.

Enable via OAuth (uncheck "Full access" during authorization) or add the x-read-only: true header in your MCP configuration.

Security Notice: The Neon MCP Server grants powerful database management capabilities through natural language requests. Please review our MCP security guidance before using.

Available Tools

Actions that allow AI agents to manage Neon databases, from creating projects to running queries and migrations.

Resources

Context resources that provide documentation and guides for working with Neon.

Prompts

Interactive guides and templates for common tasks.