Neon MCP Server Configuration & Usage Guide

📦
Installationnpx
⚠️
Risk LevelHigh Risk
🔑
API KeyRequired
💻
Clients3 supported

Neon Serverless Postgres 管理,支持数据库创建、分支和 SQL 查询

High Risk Category: Database & Data Query Verified: 2026-05-18 状态:部分核验

Supported Clients

Installation Command

npx -y @neondatabase/mcp-server-neon

Configuration Example

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

Environment variable required:NEON_API_KEY。Do not commit these values to public repositories.

Permission Scope & Security Notes

可管理 Neon 项目和数据库,包括创建和删除分支,建议使用受限 Token

Risk Score:6/10

Common Errors

API Key 无效
在 Neon Console 的 Account Settings 中生成 API Key
项目不存在
确认 API Key 有对应项目的访问权限

Sources

Recently Verified:2026-05-18。Client versions and configuration formats may change. Please refer to official documentation before use.

Related Tools