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.
Conectar
Añade esta configuración a .claude/mcp.json
{
"mcpServers": {
"neon": {
"command": "npx",
"args": [
"-y",
"@neondatabase/mcp-server-neon"
],
"env": {
"NEON_API_KEY": "<YOUR_NEON_API_KEY>"
}
}
}
}Herramientas (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"
}
}
}Recursos
Este servidor no expone ningún recurso.
Prompts
Este servidor no expone ningún prompt.
Información del servidor
- Autor
- Neon (@neondatabase)
- Licencia
- MIT
- Versión
- 0.3.0
- Estrellas
- 1,540
- Última actualización
- 26 de mayo de 2026