Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
npx neonctl@latest initConfig
{
"mcpServers": {
"Neon": {
"type": "http",
"url": "https://mcp.neon.tech/mcp"
}
}
}Exposed MCP Tools (10)
list_projectsLists all Neon projects associated with the authenticated user or organization.
Read-only operation, no data modification.
create_projectCreates a new Neon project.
Creates a new resource, but doesn't directly modify existing data.
delete_projectDeletes an existing Neon project.
Destructive operation that can lead to permanent data loss.
describe_branchDescribes the schema and configuration of a specific Neon branch.
Read-only operation, no data modification.
create_branchCreates a new branch from an existing Neon branch.
Creates a new resource, but doesn't directly modify existing data.
delete_branchDeletes an existing Neon branch.
Destructive operation that can lead to data loss.
run_sqlExecutes an arbitrary SQL query against a Neon database.
Can modify, delete, or expose sensitive data depending on the SQL query.
prepare_database_migrationPrepares a database migration using Neon's branching capabilities.
Modifies the database schema, potentially causing data inconsistencies or downtime.
complete_database_migrationCompletes a database migration, applying schema changes to the target branch.
Finalizes schema changes, potentially causing irreversible data modifications.
get_connection_stringRetrieves the connection string for a Neon database.
Read-only operation, retrieves connection details.
Safety Assessment
The Neon MCP Server simplifies database management but introduces risks due to natural language interaction and powerful database operations. It is relatively safe in read-only mode with careful review of LLM-generated actions. Using the server in write mode without proper authorization and monitoring poses significant risks.
- Offers a read-only mode to restrict write operations.
- Requires explicit authorization of actions requested by the LLM.
- OAuth-based authentication available for managed MCP server.
- API key authentication can be scoped to an organization.
- Can execute powerful database operations, including schema changes and data manipulation.
- Relies on LLM interpretation of natural language, which may lead to unintended actions.
- API key based authentication requires careful key management.
- The `run_sql` tool remains available in read-only mode and can execute any SQL.
