Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add auth oauth provider
NEON_MCP_ADD_AUTH_OAUTH_PROVIDERAdds an OAuth provider configuration to the specified branch's Neon Auth integration. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Add auth trusted domain
NEON_MCP_ADD_AUTH_TRUSTED_DOMAINAdds a domain to the redirect URI whitelist for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Compare database schema
NEON_MCP_COMPARE_DATABASE_SCHEMACompare one database's SQL schema on a branch to another. `database_name` is required. Omit `base_branch_id` to compare against the parent; it is a branch id (`br-...`), not a name. Pass `lsn`, `timestamp`, `base_lsn`, or `base_timestamp` only for a point-in-time comparison. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Complete database migration
NEON_MCP_COMPLETE_DATABASE_MIGRATIONApply or discard a prepared migration and delete the temporary branch. NEVER run autonomously; always ask the user first. Pass migration_id, migration_sql, database_name, project_id, temporary_branch_id, and parent_branch_id from prepare_database_migration. Set apply_changes false to discard; omitting it applies the migration.
Complete query tuning
NEON_MCP_COMPLETE_QUERY_TUNINGApply or discard query-tuning changes and delete the temporary branch. NEVER run autonomously. Before calling, apply suggested SQL with run_sql on the temporary branch and re-run explain_sql_statement. Pass the tuning_id from prepare_query_tuning, not the branch id, plus temporary_branch_id. Set apply_changes true to apply; omitting it discards. Call this even when the user rejects the changes. Do not use prepare_database_migration.
Create auth user
NEON_MCP_CREATE_AUTH_USERCreates a new user in the Neon Auth user directory for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Create branch
NEON_MCP_CREATE_BRANCHCreates a branch with a read-write compute and waits until it is ready. Pass `no_compute: true` to skip the endpoint. Does not return a connection string; call `get_connection_string` with the project and branch id. Copies the parent at HEAD; point-in-time restore is `restore_snapshot`.
Create postgres database
NEON_MCP_CREATE_POSTGRES_DATABASECreates a database in the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Create postgres endpoint
NEON_MCP_CREATE_POSTGRES_ENDPOINTCreates a compute endpoint on a branch. Does not return a connection string; call `get_connection_string`.
Create postgres role
NEON_MCP_CREATE_POSTGRES_ROLECreates a Postgres role in the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Create project
NEON_MCP_CREATE_PROJECTCreates a Neon project and waits until the default compute is ready. Pass `org_id` with a personal API key. Does not return a connection string; call `get_connection_string` with the project id.
Create snapshot
NEON_MCP_CREATE_SNAPSHOTCreates a snapshot from the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Create storage bucket
NEON_MCP_CREATE_STORAGE_BUCKETCreates a new branchable object storage bucket on the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete auth oauth provider
NEON_MCP_DELETE_AUTH_OAUTH_PROVIDERDeletes an OAuth provider from the specified project. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete auth trusted domain
NEON_MCP_DELETE_AUTH_TRUSTED_DOMAINRemoves a domain from the redirect URI whitelist for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete auth user
NEON_MCP_DELETE_AUTH_USERDeletes the specified user from the Neon Auth user directory for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete branch
NEON_MCP_DELETE_BRANCHDelete a branch and all its data. NEVER run autonomously; always ask the user first. For the whole project, use `delete_project`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete data api
NEON_MCP_DELETE_DATA_APIDeletes the Neon Data API for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete function
NEON_MCP_DELETE_FUNCTIONDeletes the function identified by its slug. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete functions custom domain
NEON_MCP_DELETE_FUNCTIONS_CUSTOM_DOMAINRemoves a custom domain registered on the branch and stops routing it. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.