3D MCP Cursor Visualization
Neon MCP Logo - AI-Powered Development Tool for Cursor IDE

Neon MCP

Model Context Protocol Integration

Overview

Model Context Protocol (MCP) server for Neon serverless Postgres platform. Use natural language to manage databases, run migrations, and execute SQL queries through Neon's API.

Neon Features

  • Natural language interface for Neon database management
  • Safe database migrations with temporary branch testing
  • Project and branch management
  • SQL query execution and transaction support
  • Database schema inspection and modification
  • Connection string management
  • Multiple client support (Claude Desktop, Cline, Windsurf)

Neon Setup & Configuration

Requirements

  • Node.js >= v18.0.0
  • Claude Desktop
  • Neon API key from console

Installation Instructions

# Quick Install via Smithery
npx -y @smithery/cli install neon --client claude

# Manual Installation
npx @neondatabase/mcp-server-neon init $NEON_API_KEY

# Development Setup
npm install
npm run build
npm run watch

Configuration

# Claude Desktop Configuration
{
  "mcpServers": {
    "neon": {
      "command": "npx",
      "args": ["@neondatabase/mcp-server-neon", "init", "$NEON_API_KEY"]
    }
  }

# Environment Variables
NEON_API_KEY=your_api_key

Neon Available Tools

  • list_projects
  • describe_project
  • create_project
  • delete_project
  • create_branch
  • delete_branch
  • describe_branch
  • get_connection_string
  • run_sql
  • run_sql_transaction
  • get_database_tables
  • describe_table_schema
  • prepare_database_migration
  • complete_database_migration

Neon Required Inputs

NEON_API_KEY

Type
string
Description
Your Neon API key from the console
Required
Yes

Neon Use Cases

  • Create and manage Postgres databases using natural language
  • Run safe database migrations with testing branches
  • Execute SQL queries and transactions
  • Inspect and modify database schemas
  • Manage multiple database projects and branches
  • Get connection strings for database access
  • Automated database operations and maintenance

Frequently Asked Questions

Model Context Protocol (MCP) server for Neon serverless Postgres platform. Use natural language to manage databases, run migrations, and execute SQL queries through Neon's API.
Node.js >= v18.0.0, Claude Desktop, Neon API key from consoleView detailed requirements
Follow the installation instructions in the setup section above.View installation guide

Neon MCP provides the following tools:

  • list_projects
  • describe_project
  • create_project
  • delete_project
  • create_branch
  • delete_branch
  • describe_branch
  • get_connection_string
  • run_sql
  • run_sql_transaction
  • get_database_tables
  • describe_table_schema
  • prepare_database_migration
  • complete_database_migration