Design Engineer Logo
Visit Repo
Open Graph preview

MCP Server Neon

MCP server for interacting with Neon Management API and databases

Site favicon
🗄️ Data

Overview

mcp-server-neon

Description:
A server implementation for interacting with Neon Management API and databases

Category: Database Management

Overview:
This server enables natural language interactions with Neon PostgreSQL databases through Claude Desktop. It provides comprehensive database management capabilities including project creation, branch management, SQL operations, and schema migrations.

Key Features:

  • Project management (create, list, describe, delete)
  • Branch operations (create, delete, describe)
  • SQL execution (single queries and transactions)
  • Database schema management
  • Safe migration handling with test branches
  • Table operations (listing, schema description)

Requirements:

  • Node.js
  • Claude Desktop
  • Neon API key

Quick Start:

npx @neondatabase/mcp-server-neon init $NEON_API_KEY

Configuration:

{
    "mcp-server-neon": {
        "command": "path-to/bin/node",
        "args": ["path-to/mcp-serve/"],
        "env": {
            "NEON_API_KEY": "your_api_key_here"
        }
    }
}

Development Setup:

npm install
npm run watch
node dist/index.js init $NEON_API_KEY

Migration Workflow: The server implements a two-step migration process:

  1. Start: Creates temporary branch for testing
  2. Commit: Applies verified changes to main branch

Note: Restart Claude Desktop after installation or configuration changes.