Add auth oauth providerAdds an OAuth provider configuration to the specified branch's Neon Auth integration.
Add auth trusted domainAdds a domain to the redirect URI whitelist for the specified branch.
Compare database schemaCompare one database's SQL schema on a branch to another.
Complete database migrationApply or discard a prepared migration and delete the temporary branch.
Complete query tuningApply or discard query-tuning changes and delete the temporary branch.
Create auth userCreates a new user in the Neon Auth user directory for the specified branch.
Create branchCreates a branch with a read-write compute and waits until it is ready.
Create postgres databaseCreates a database in the specified branch.
Create postgres endpointCreates a compute endpoint on a branch.
Create postgres roleCreates a Postgres role in the specified branch.
Create projectCreates a Neon project and waits until the default compute is ready.
Create snapshotCreates a snapshot from the specified branch.
Create storage bucketCreates a new branchable object storage bucket on the specified branch.
Delete auth oauth providerDeletes an OAuth provider from the specified project.
Delete auth trusted domainRemoves a domain from the redirect URI whitelist for the specified branch.
Delete auth userDeletes the specified user from the Neon Auth user directory for the specified branch.
Delete branchDelete a branch and all its data.
Delete data apiDeletes the Neon Data API for the specified branch.
Delete functionDeletes the function identified by its slug.
Delete functions custom domainRemoves a custom domain registered on the branch and stops routing it.
Delete postgres databaseDeletes the specified database from the branch.
Delete postgres endpointDeletes the specified compute endpoint.
Delete postgres roleDeletes the specified Postgres role from the branch.
Delete projectDelete a Neon project and all its data.
Delete snapshotDeletes the specified snapshot.
Delete storage bucketDeletes the named bucket from the specified branch.
Delete storage objectDeletes the named object from the bucket on the specified branch.
Delete storage objects by prefixSoft-deletes every object on the specified branch whose key starts with `prefix`, in a single call.
Deploy functionCreates a deployment for the function.
Describe branchGet a tree view of all objects in a branch, including databases, schemas, tables, views, and functions.
Describe projectRetrieves the project record (settings, compute, usage).
Describe table schemaGet column definitions, data types, and constraints for a specific table.
Disable authDisables the Neon Auth integration for the specified branch, removing the connection to the authentication provider.
Explain sql statementAnalyze the query execution plan for a SQL statement using EXPLAIN ANALYZE.
FetchFetch detailed information about a specific organization, project, or branch using the ID returned by the `search` tool.
Finalize branch restoreFinalize a branch created with `restore_snapshot` and `finalize: false`: reassign computes (this restarts them) and swap names so it replaces the original branch.
Get ai gatewayReturns the AI Gateway endpoint host for the specified branch, used to render code-snippet base URLs.
Get authRetrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status.
Get branchRetrieves information about the specified branch.
Get connection stringGet a PostgreSQL connection string for a Neon database.
Get data apiRetrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings.
Get database tablesList all tables in a Neon database.
Get default branchResolve the project's default branch by the default flag, not by name.
Get doc resourceFetch one Neon documentation page as markdown.
Get functionReturns the function identified by its slug.
Get neon auth configRead Neon Auth config for a branch with OAuth and SMTP secrets redacted as "***redacted***".
Get operationRetrieves details for the specified operation.
Get postgres databaseRetrieves information about the specified database.
Get postgres endpointRetrieves information about the specified compute endpoint.
Get postgres roleRetrieves details about the specified role.
Get snapshot scheduleReturns the backup schedule for the specified branch, including the configured snapshot frequencies.
Get storageReturns whether branchable object storage is usable for the specified branch.
Inspect databaseRun one read-only neon inspect db check (pick `check` from the input schema).
List auth oauth providersLists the OAuth providers configured for the specified branch's Neon Auth integration.
List auth trusted domainsLists the trusted domains in the redirect URI whitelist for the specified branch.
List branch computesRetrieves a list of compute endpoints for the specified branch.
List branchesRetrieves a list of branches for the specified project.
List docs resourcesList Neon documentation page slugs from neon.
List functionsLists functions on the specified branch.
List functions custom domainsLists all custom domains registered on the branch, across every target entity.
List log fieldsLists the low-cardinality log fields observed on this branch.
List log field valuesLists distinct values for a low-cardinality log field.
List operationsLists operations for a project.
List organizationsList all organizations the current user belongs to.
List postgres databasesRetrieves a list of databases for the specified branch.
List postgres endpointsRetrieves a list of compute endpoints for the specified project.
List postgres rolesRetrieves a list of Postgres roles from the specified branch.
List project membersLists organization members and their per-project roles for an org-owned project.
List project permissionsRetrieves details about users who have access to the project, including the permission `id`, the granted-to email address, and the date project access was granted.
List projectsList Neon projects you own.
List regionsLists Neon regions available to the authenticated account.
List slow queriesList queries from pg_stat_statements by execution time, slowest first.
List snapshotsLists the snapshots for the specified project.
List storage bucketsLists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches.
List storage objectsLists objects visible in the named bucket on the specified branch, including those inherited from ancestor branches.
Prepare database migrationApply a schema change on a temporary branch and return a migration_id.
Prepare query tuningAnalyze a slow query on a temporary branch and return a tuning_id.
Presign storage objectReturns a presigned URL that transfers bytes directly to or from the object's bucket on the specified branch, without the caller ever handling S3 credentials.
Provision neon authEnables Neon Auth for the specified branch by connecting it to an authentication provider.
Provision neon data apiCreates a new instance of Neon Data API in the specified branch.
Query logsReturns logs for a branch.
Recover projectRecovers a deleted project within the 7-day deletion recovery period.
Register functions custom domainRegisters a hostname on the branch and routes it to a function.
Reset from parentReset a branch to its parent's current HEAD.
Reset postgres role passwordResets the password for the specified Postgres role.
Restart postgres endpointRestarts the specified compute endpoint by immediately suspending it and then starting it again.
Restore snapshotRestore a snapshot onto a new or existing branch.
Run sqlExecute one SQL statement on a Neon database.
Run sql transactionExecute multiple SQL statements as one transaction.
SearchSearch across all organizations, projects, and branches by keyword.
Set default branchSets the specified branch as the project's default branch.
Set snapshot scheduleReplace a branch's automatic snapshot schedule.
Start postgres endpointStarts a compute endpoint.
Suspend postgres endpointSuspends the specified compute endpoint.
Update auth configUpdates the auth configuration for the branch.
Update auth oauth providerUpdates an OAuth provider for the specified project.
Update auth user roleUpdates the role of a user in the Neon Auth user directory for the specified branch.
Update branchUpdates the specified branch.
Update data apiUpdates the Neon Data API configuration for the specified branch.
Update functionUpdates the function's mutable metadata — currently only the display `name`.
Update postgres databaseUpdates the specified database in the branch.
Update postgres endpointUpdates the specified compute endpoint.
Update projectUpdates the specified project.
Update snapshotUpdates the specified snapshot.