Merge has validated Neon against the provider’s documented API and not yet verified it against the live one, so its behavior can differ from the documentation. It carries the same tool surface it will have at general availability. Connectors overview covers the tier and how to turn Beta Connectors off.
Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.
Authentication: OAuth or API key. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.
Available Tools
Enable a social login provider on a branch’s Neon Auth: oauth_provider_id is google, github, microsoft, vercel, apple or discord.
Add a trusted domain to a branch’s Neon Auth so sign-in may redirect to it: domain is a URL with scheme (https://app.example.com).
Accept a project transfer request sent to you, moving the project into org_id (list_organizations) or your own account when null; the sender loses it.
Set an organization member’s role on an org-owned project: viewer, editor or admin.
Assign a cloud VPC endpoint to an organization for Private Networking, or relabel an assigned one.
Compare a database’s SQL schema on a branch with another branch (base_branch_id, by default the parent) and return a unified diff; lsn/timestamp and base_lsn/base_timestamp compare points in time.
Count a project’s branches without listing them; search counts only branches whose name matches.
Count an organization’s active projects without listing them (ones being created or deleted are not counted).
Create a personal Neon API key, or an organization key with org_id (from list_organizations), and return its token, which Neon shows only this once.
Enable Neon Auth on a branch (list_projects gives project_id, list_branches gives branch_id).
Register an OAuth client with a branch’s Neon Auth OAuth server: name, type (confidential keeps a secret, public has none), redirect_uris, resources (from get_auth_oauth_server) and skip_consent.
Generate SDK keys for a project’s Neon Auth integration (legacy POST /projects/auth/keys).
Create a user in a branch’s Neon Auth directory with email and an optional display name.
Create a branch in a project (list_projects gives project_id), by default forking the default branch’s head.
Create a storage bucket on a Neon branch and return its name and access level.
Create a compute endpoint on a branch: a read_write compute (one per branch) or a read_only replica.
Issue a scoped credential on a Neon branch for object storage, the AI Gateway or functions.
Enable the Neon Data API (a PostgREST-compatible HTTP endpoint) on one database of a branch and return its url.
Create a Postgres database on a branch, owned by owner_name (an existing role from list_roles).
Deploy a new version of a Neon function; returns the deployment id and build status.
Register a custom domain that routes to a Neon function and return its CNAME target and DNS, routing and overall status.
Create a trigger that calls a Neon function on a UTC cron schedule (type schedule) or after each matching upload to a bucket (type storage_object_created); returns its trigger_id.
Add a JWKS URL from an auth provider (e.g. Clerk, Auth0) so the project accepts tokens it signs.
Invite people to an organization by email, each with a role (admin, editor, viewer or collaborator).
Create a temporary GET download or PUT upload URL for one object.
Create a Neon project with its default branch, read-write compute, owner role and database.
Share a project with a Neon account by email.
Create a request to transfer a project to another Neon account or organization.
Enable Neon Realtime on a branch, or apply new allowed_origins where it is on.
Create a Postgres role on a branch; returns it with its password.
Take a snapshot of a branch, now or at an lsn or timestamp within its restore window, with an optional name and expires_at.
Restrict a project so it accepts connections only through a VPC endpoint (Private Networking), labelled label; connections from elsewhere are refused.
Revoke a Neon API key; anything using it stops working at once and it cannot be restored, so confirm with the user first.
Disable Neon Auth on a branch; sign-in stops working for the app.
Delete an OAuth client from a branch’s Neon Auth OAuth server (list_auth_oauth_clients gives client_id); it can no longer start sign-ins, but tokens already issued are not revoked.
Remove a social login provider from a branch’s Neon Auth; users can no longer sign in with it.
Remove trusted domains from a branch’s Neon Auth; sign-in can no longer redirect to them.
Delete a user from a branch’s Neon Auth directory; cannot be undone, so ask the user first.
Delete a branch with all its data and computes; ask the user first.
Delete an empty storage bucket from a Neon branch.
Delete a compute endpoint, dropping its connections; the branch and its data remain.
Revoke a scoped credential on a Neon branch so it stops working.
Delete the Neon Data API of one database.
Delete a database and all its data from a branch; ask the user first.
Permanently delete a Neon function and its deployments from a branch.
Remove a custom domain from a Neon branch so it stops routing to its function.
Delete a function trigger, or hide an inherited one on this branch, so it stops firing.
Remove a JWKS URL from a project; tokens it signed no longer authenticate.
Delete a project with all its branches, computes, databases and roles; ask the user first.
Stop sharing a project with an account; it loses access and revoked_at is set.
Disable Neon Realtime on a branch and discard its shared secret: connected clients are dropped and tokens issued with the secret stop working.
Delete a Postgres role from a branch; it cannot be undone and the role’s connections are dropped.
Delete a snapshot; ask the user first. Branches already restored from it are kept.
Remove an organization’s monthly spending limit so no spending alerts are sent.
Delete one object by its exact key. Get project_id from list_projects, branch_id from list_branches, bucket_name from list_buckets and object_key from list_storage_objects.
Soft-delete objects materialized on this branch under a folder prefix ending in ’/’ and return the count.
Delete a VPC endpoint from an organization.
Remove a VPC endpoint restriction from a project; once none remain the project accepts connections from anywhere its IP allowlist permits.
Download a storage object as a file. Requires an OAuth connection with object download access; with an API key, use create_presigned_url with operation='download'.
Finalize a restored branch (restore_status restored): it takes over the original branch’s computes and name, restarting them, and the original is renamed to name.
Get the AI Gateway endpoint of one Neon branch (beta).
Get the anonymization status of an anonymized branch: state (created, initialized, anonymizing, anonymized, error…), status message, failure time and the last run’s details.
Get the Neon Auth integration of a branch: auth provider, provider project ID, database, owner, transfer status, created time, application name, jwks_url and base_url.
Get whether a branch’s Neon Auth lets sign-in redirect to localhost (allow_localhost), for local development.
Get the email and password sign-in settings of a branch’s Neon Auth: enabled, verification method (link or otp), required verification, auto sign-in, verification emails on sign-up and sign-in,…
Get the email server a branch’s Neon Auth sends emails through: type (standard SMTP or Neon’s shared server), host, port, username, sender email and name.
Get one OAuth client of a branch’s Neon Auth OAuth server by client_id (list_auth_oauth_clients): name, type, redirect URIs, linked resources, consent skip, disabled and created time; never the…
Get the OAuth server settings of a branch’s Neon Auth (Neon Auth as an authorization server for your own apps and MCP clients): enabled, login and consent pages, MCP registration settings and…
Get the phone number sign-in settings of a branch’s Neon Auth: enabled and otp_expires_in (seconds a one-time code stays valid).
Get every Neon Auth setting of a branch in one call: organization, magic link and phone number plugins, the OAuth server, email server, email and password sign-in, social login providers, localhost…
Get the webhook of a branch’s Neon Auth: enabled, webhook_url, enabled_events (user, OTP, magic link, invitation and phone events) and timeout_seconds.
Get one branch by ID: name, parent, state, default flag, protection, expiry, restore status, sizes and timestamps, plus its annotation (key-value metadata).
Get one compute endpoint: host, type, branch, current_state (init, active or idle), autoscaling limits, suspend timeout and settings.
Get a Postgres connection string (with the role’s password: a secret) for database_name and role_name (list_databases and list_roles) on a branch (list_branches; default branch if null) through a…
Reveal the live api_token and s3_secret_access_key of an existing scoped credential, e.g. when the issuance response was lost.
Get one database’s Neon Data API: url, deployment status, settings (exposed db_schemas, anon role, row limit, JWT and CORS options), available_schemas and auth provider fields.
Get one database on a branch by name, with its ID, owner role and timestamps.
Get a database’s schema on a branch, as SQL DDL (format sql, in sql) or structured JSON (format json, in structured_schema), at head or at an lsn or timestamp.
Get one Neon function by slug: its name, invocation URL, and current and active deployments with build status and environment variable names.
Get one function trigger by trigger_id: its type, target function, path, cron schedule and next run, or watched bucket and prefix, and enabled state.
Get one operation run on a Neon project (an action such as create_branch, create_timeline or start_compute) with its status: scheduling, running, finished, failed, error, cancelling, cancelled or…
Get one organization membership: its role, user_id and join date.
Get one Neon organization’s details: name, handle, billing plan, who manages it, creation and update times, and its MFA, HIPAA and SSO enforcement settings.
Get a project’s details: name, region, Postgres version, owner, settings (quota, allowed IPs, maintenance window), compute defaults, history retention and this period’s usage.
Get a branch’s Neon Realtime state: enabled, pending (a change is still applying), invocation_url, revision and allowed_origins.
Get one Postgres role on a branch: name, protected flag, sign-in method and timestamps (no password; use get_role_password).
Reveal a Postgres role’s current password (a secret: do not echo it unless asked).
Get a branch’s automatic snapshot schedule: each entry’s frequency, hour, day, month and retention_seconds.
Get an organization’s monthly spending limit in cents.
Check whether branchable object storage (beta) is usable on one Neon branch: enabled is true with s3_endpoint, region and force_path_style for an S3 client; otherwise enabled is false with reason…
Get the signed-in Neon user’s account: ID, email, name, last name, login, avatar, plan, plan limits (active time, compute time, projects, branches, max autoscaling size), linked login accounts and…
Get one organization VPC endpoint’s state and configuration: label, state (new or accepted) and the projects restricted to it.
Analyze a database for security and performance issues (severity, title, detail, remediation link).
List Neon API keys: personal keys, or an organization’s keys with org_id (from list_organizations).
List the OAuth clients registered with a branch’s Neon Auth OAuth server: client_id, name, confidential or public, redirect URIs, linked resources, consent skip, disabled and created time.
List the social login providers enabled on a branch’s Neon Auth (google, github, microsoft, vercel, apple, discord): id, standard or shared credentials, client ID, masked secret and Microsoft/Apple…
List the trusted domains of a branch’s Neon Auth: the URLs sign-in may redirect to, each with its auth provider.
List a project’s branches (id, name, parent, state, default flag, protection, sizes) with their annotations.
List storage buckets visible on a Neon branch, including inherited buckets.
List the compute endpoints of a project, or of one branch when branch_id is set, with each compute’s ID, host, type and state.
List Neon usage over a period, bucketed hourly (168 hours back), daily (60 days) or monthly (one year).
List the scoped credentials issued on a Neon branch, without secrets.
List the Postgres databases on a branch with their ID, name and owner role.
List the custom domains registered on a Neon branch, one page at a time, with each domain’s target function, CNAME target and DNS, routing and overall status.
List every function trigger visible on a Neon branch, inherited ones included, with each trigger’s type, target function, path, schedule or watched bucket, and enabled state.
List the functions on a Neon branch, one page at a time, with each function’s slug, name, invocation URL and current and active deployments.
List the JWKS URLs a project trusts to verify sign-in tokens, with provider, branch, audience and roles.
List the distinct values one log field took on a branch in a time window (default the last six hours, at most seven days), e.g. every service_name seen; use them as exact search_logs filters.
List the low-cardinality log fields seen on a branch’s logs, such as service_name, severity_text or entity_type.
List the masking rules of an anonymized branch: each column (database, schema, table, column) and the masking function or literal value applied.
List the operations run on a Neon project (branch, compute and timeline actions), each with its id, action, status, branch_id, endpoint_id and timing.
List an organization’s invitations with each invitee’s email, role, inviter and invitation time.
List a Neon organization’s members: id, user_id, role, join date, email, MFA status and deactivation time.
List the Neon organizations the caller belongs to: ID, name, handle, plan, who manages it, MFA requirement and timestamps.
List the shared preload libraries a project can enable for its Postgres version, with description, version and default/experimental flags.
List organization members and their roles on an org-owned project (member ID, email, org role, project role, explicit and effective access).
List who a project is shared with: each permission ID, email, grant time and revoke time.
List Neon projects (id, name, region, Postgres version, owner org, settings, usage).
List the Neon regions projects can be created in, with each region’s ID, name, approximate location and whether it is the default.
List the Postgres roles on a branch (name, protected flag, sign-in method, timestamps); passwords are not included (get_role_password).
List a project’s snapshots, manual and scheduled, with each one’s id, name, source branch, lsn, timestamp, created_at and expires_at.
List visible objects, including inherited objects, in a Neon storage bucket.
List the VPC endpoints a project is restricted to (vpc_endpoint_id and label).
List the AWS VPC endpoint service names Neon offers in one region for Private Networking (PrivateLink); add every returned name to your VPC endpoint.
List the private networking VPC endpoints assigned to an organization, with each endpoint’s ID, label and region.
Move one or more projects (up to 400) from one organization to another.
Read a storage object’s contents as text: extracts PDF, DOCX and XLSX and decodes text files, up to 25 MB.
Remove a member from an organization, revoking their access to its projects.
Restore a branch to the state of source_branch_id (itself or another branch, via list_branches) at head, source_lsn or source_timestamp, replacing its data; ask the user first.
Recover a project deleted in the last 7 days, with its branches.
Restore a snapshot into a new branch, optionally named, to preview its data.
Rotate the secret of a confidential OAuth client of a branch’s Neon Auth (list_auth_oauth_clients gives client_id): the old secret stops working at once and the new client_secret is returned only…
Rotate a scoped credential’s secrets in place: token_id, scopes and expiry stay, the old secrets stop working, and it returns the new api_token and s3_secret_access_key.
Rotate a branch’s Neon Realtime shared secret.
Start masking the data of an anonymized branch with its masking rules (set them with update_masking_rules); this overwrites the branch’s data.
Search a branch’s log records (Postgres compute, storage, functions, Neon Auth) in a time window (default the last hour, at most seven days), newest first unless sort_order is asc.
Send a test email to recipient_email through the SMTP server saved on a branch’s Neon Auth (update_auth_email_provider).
Make a branch the project’s default branch; the previous default loses the flag.
Start moving a project’s Neon-managed auth provider project to your own provider account (legacy POST /projects/auth/transfer_ownership).
Start, suspend or restart a compute endpoint.
Remove a member’s explicit role on an org-owned project; their access falls back to the organization default.
Allow or block localhost redirects on a branch’s Neon Auth: allow_localhost=true for local development, false for production.
Rename the application of a branch’s Neon Auth: name is shown in auth emails and other messages.
Change email and password sign-in on a branch’s Neon Auth: enabled, email_verification_method (link or otp), require_email_verification, auto_sign_in_after_verification, verification emails on sign-up…
Set the email server of a branch’s Neon Auth.
Turn the export of a branch’s Neon Auth events to Neon platform logs on (enabled=true) or off.
Change magic link sign-in on a branch’s Neon Auth: enabled, expires_in (minutes, 5 to 1440) and disable_sign_up (stop links from creating accounts).
Change an OAuth client of a branch’s Neon Auth (list_auth_oauth_clients gives client_id): name, redirect_uris and resources (each replaces the stored list), skip_consent, disabled.
Change a social login provider’s credentials on a branch’s Neon Auth (list_auth_oauth_providers gives oauth_provider_id): client_id, client_secret, microsoft_tenant_id, apple_team_id, apple_key_id.
Change the OAuth server of a branch’s Neon Auth: enabled, login_page, consent_page, mcp (resource URL, dynamic_registration, client_id_metadata_documents) and resource_identifiers, which replaces the…
Change the organization plugin of a branch’s Neon Auth (user organizations in your app): enabled, organization_limit per user, membership_limit per organization, creator_role (owner or admin) and…
Change phone number sign-in on a branch’s Neon Auth: enabled and otp_expires_in (seconds, 60 to 600).
Set the roles of a Neon Auth user, replacing the current ones: roles lists every role to keep (user and admin are built in; custom names work).
Replace the webhook of a branch’s Neon Auth: enabled (required), webhook_url, enabled_events (user.before_create, user.created, send.otp, send.magic_link, organization.invitation.created or .accepted,…
Rename a branch, protect or unprotect it, or set or remove its expiry; fields left null are unchanged.
Change a compute endpoint’s name, autoscaling limits, suspend timeout, disabled flag or Postgres settings; fields left null stay unchanged.
Change one database’s Neon Data API settings and refresh its schema cache so new tables and columns are served.
Rename a database or change its owner role; fields left null are unchanged.
Set or clear the display name of a Neon function and return the updated function.
Change a function trigger’s name, target function, path, enabled state, cron schedule or watched bucket and prefix.
Replace every masking rule of an anonymized branch with masking_rules (start from list_masking_rules to keep existing ones; [] clears them).
Change an organization member’s role to admin, editor (legacy alias member), viewer or collaborator, replacing the current role.
Change a project’s name, settings (quota, allowed_ips, maintenance_window, logical replication…), default compute settings or history retention; fields left null are unchanged.
Reset a Postgres role’s password to a new generated one, returned with the role (a secret) and the operations that apply it; connections using the old password stop working once they finish.
Rename a snapshot or change when it expires (expires_at, or remove_expiry to keep it forever).
Replace a branch’s automatic snapshot schedule with the given entries (frequency daily, weekly or monthly, plus hour, day, month, retention_seconds); ask the user first.
Set or replace an organization’s monthly spending limit, in cents.