Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
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 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 postgres database
NEON_MCP_DELETE_POSTGRES_DATABASEDeletes the specified database from the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete postgres endpoint
NEON_MCP_DELETE_POSTGRES_ENDPOINTDeletes the specified compute endpoint.
Delete postgres role
NEON_MCP_DELETE_POSTGRES_ROLEDeletes the specified Postgres role from the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete project
NEON_MCP_DELETE_PROJECTDelete a Neon project and all its data. NEVER run autonomously; always ask the user first. For a single branch, use `delete_branch`.
Delete snapshot
NEON_MCP_DELETE_SNAPSHOTDeletes the specified snapshot.
Delete storage bucket
NEON_MCP_DELETE_STORAGE_BUCKETDeletes the named bucket from the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete storage object
NEON_MCP_DELETE_STORAGE_OBJECTDeletes the named object from the bucket on the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete storage objects by prefix
NEON_MCP_DELETE_STORAGE_OBJECTS_BY_PREFIXSoft-deletes every object on the specified branch whose key starts with `prefix`, in a single call. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Explain sql statement
NEON_MCP_EXPLAIN_SQL_STATEMENTAnalyze the query execution plan for a SQL statement using EXPLAIN ANALYZE. Do not use when you need to execute the query for results (use `run_sql` instead).
Run sql
NEON_MCP_RUN_SQLExecute one SQL statement on a Neon database. If a prior step created a temporary branch, pass that branch_id. NEVER run destructive SQL autonomously; always ask the user first.
Run sql transaction
NEON_MCP_RUN_SQL_TRANSACTIONExecute multiple SQL statements as one transaction. If a prior step created a temporary branch, pass that branch_id. NEVER run destructive SQL autonomously; always ask the user first.