Back to Home
neondatabase icon

mcp-server-neon

by neondatabase

Overview

Enables natural language interaction with Neon Postgres databases, facilitating database management, migrations, and query optimization via an LLM agent.

Installation

Run Command
npx @neondatabase/mcp-client-cli --server-command="npx" --server-args="-y @neondatabase/mcp-server-neon start <YOUR_NEON_API_KEY>"

Environment Variables

  • ANTHROPIC_API_KEY
  • OAUTH_DATABASE_URL
  • COOKIE_SECRET
  • CLIENT_ID
  • CLIENT_SECRET
  • ANALYTICS_WRITE_KEY
  • SENTRY_DSN

Security Notes

The server exposes powerful database management capabilities, including direct SQL execution. While authentication is enforced and a read-only mode is available, the tool explicitly warns against production use due to the inherent risks of LLM-driven actions potentially leading to accidental or unauthorized data changes. Always review and authorize LLM-generated commands. The OAuth implementation relies on `COOKIE_SECRET` and `OAUTH_DATABASE_URL` which must be securely configured.

Similar Servers

Stats

Interest Score83
Security Score6
Cost ClassHigh
Avg Tokens4000
Stars525
Forks95
Last Update2025-12-03

Tags

PostgreSQLDatabase ManagementLLM IntegrationAPI OrchestrationCloud Database