Neon MCP Server

Databasestdiov0.3.0
Репозиторий

MCP server for Neon's serverless PostgreSQL platform. Enables AI agents to manage Neon projects, branches, databases, and roles. Supports creating database branches for development and testing, running SQL queries, managing connection strings, and performing schema migrations. Leverages Neon's instant branching for safe experimentation without affecting production data.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

{
  "mcpServers": {
    "neon": {
      "command": "npx",
      "args": [
        "-y",
        "@neondatabase/mcp-server-neon"
      ],
      "env": {
        "NEON_API_KEY": "<YOUR_NEON_API_KEY>"
      }
    }
  }
}

Инструменты (4)

list_projects

List all Neon projects in the account.

{
  "type": "object",
  "properties": {}
}

create_branch

Create a new database branch from an existing one for safe development.

{
  "type": "object",
  "required": [
    "project_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for the new branch"
    },
    "project_id": {
      "type": "string",
      "description": "Neon project ID"
    },
    "parent_branch_id": {
      "type": "string",
      "description": "Branch to create from (defaults to main)"
    }
  }
}

run_sql

Execute a SQL query against a Neon database branch.

{
  "type": "object",
  "required": [
    "project_id",
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL query to execute"
    },
    "database": {
      "type": "string",
      "description": "Database name (defaults to neondb)"
    },
    "branch_id": {
      "type": "string",
      "description": "Branch to run the query on"
    },
    "project_id": {
      "type": "string",
      "description": "Neon project ID"
    }
  }
}

get_connection_string

Get the connection string for a Neon database branch.

{
  "type": "object",
  "required": [
    "project_id"
  ],
  "properties": {
    "database": {
      "type": "string",
      "description": "Database name"
    },
    "branch_id": {
      "type": "string",
      "description": "Branch ID"
    },
    "project_id": {
      "type": "string",
      "description": "Neon project ID"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
Neon (@neondatabase)
Репозиторий
https://github.com/neondatabase/mcp-server-neon
Лицензия
MIT
Версия
0.3.0
Звёзды
1,540
Последнее обновление
26 мая 2026 г.