Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Accept project transfer request
NEON_ACCEPT_PROJECTS_TRANSFER_REQUESTSAccepts a pending transfer request and irreversibly moves the Neon project to the authenticated account or specified organization. This consumes the request and changes project ownership. Confirm the destination before calling, and do not retry an ambiguous failure because the transfer may already have completed.
Count project branches
NEON_COUNT_PROJECT_BRANCHESTool to get the total number of branches in a Neon project. Use when you need to count branches without retrieving full branch details. Optionally filter by branch name using the search parameter.
Create API key
NEON_CREATE_API_KEYCreates a new personal API key for the authenticated Neon user account. Use this action to generate API keys for programmatic access to Neon services, such as CI/CD pipelines, backend integrations, or development environments. Each key should have a descriptive name to help identify its purpose. IMPORTANT: The returned 'key' value is shown only once - store it securely immediately after creation. To manage organization-level API keys, use the organization API key endpoints instead.
Create API Key for Organization
NEON_CREATE_API_KEY_FOR_ORGANIZATIONCreates a new API key for the specified organization in Neon. The API key is used for authenticating and authorizing access to the Neon API. The `key_name` parameter allows for easy identification and management of multiple API keys within the organization. IMPORTANT: The actual API key value is returned only once in the response and cannot be retrieved later. Store it securely immediately after creation. Organization API keys provide admin-level access to all organization resources, including projects, members, and settings. Only organization admins can create these keys.
Create Auth Provider SDK Keys
NEON_CREATE_AUTH_KEYSTool to generate SDK or API keys for authentication providers. Use when setting up authentication for a Neon project with providers like Stack Auth, Better Auth, or for testing with mock provider.
Create auth user
NEON_CREATE_AUTH_USERCreates a Neon Auth user with an email and name for a specified project branch. Neon Auth must already be configured on the branch.
Create branch database
NEON_CREATE_BRANCH_DATABASECreates a new database within a specified project and branch in the Neon platform. This endpoint allows users to set up a new database with a custom name and assign an owner role, facilitating the organization and management of databases within the Neon ecosystem. It should be used when initializing a new database for a specific project or when branching requires a separate database instance. The endpoint is particularly useful for developers and database administrators who need to quickly set up new databases as part of their workflow or application deployment process. Note that this operation only creates the database; additional steps may be required to configure specific schemas, tables, or access permissions within the newly created database.
Enable Neon Auth for branch
NEON_CREATE_BRANCHES_AUTHTool to enable Neon Auth integration for a branch. Use when you need to set up authentication for a specific branch in a Neon project.
Create Neon Data API
NEON_CREATE_BRANCHES_DATA_APICreates a Neon Data API REST endpoint for an existing branch database. Authentication is optional: use neon_auth for Neon's managed authentication, or external with jwks_url for an external JWT provider.
Create branch snapshot
NEON_CREATE_BRANCHES_SNAPSHOTCreates a snapshot from the specified branch at a specific point in time. Snapshots capture the state of a branch and can be used for database versioning, creating backups, or establishing checkpoints for AI agents. Use when you need to preserve the exact state of your database at a moment in time. This endpoint may initiate an asynchronous operation.
Create compute endpoint
NEON_CREATE_COMPUTE_ENDPOINTCreates a compute endpoint for a Neon branch. Each branch supports at most one read_write endpoint and can have multiple read_only endpoints. Use this to make a branch connectable or add a read replica; it does not modify an existing endpoint.
Create project branch
NEON_CREATE_PROJECT_BRANCHCreates a new branch in a Neon project. Branches are copy-on-write clones of the parent branch's data, perfect for creating development/staging environments, testing features, or previewing database changes without affecting production. The branch is created from the project's default branch unless a parent_id is specified. By default, the branch copies all data from the parent ('parent-data'). Note: A branch is created without a compute endpoint. To connect to the branch, use the 'create_compute_endpoint' action to add a read_write or read_only endpoint.
Create anonymized branch
NEON_CREATE_PROJECT_BRANCH_ANONYMIZEDCreates a Beta anonymized branch using PostgreSQL Anonymizer. It can store masking rules and, when start_anonymization is true, immediately applies irreversible masking to the new branch's copied data.
Create project branch role
NEON_CREATE_PROJECT_BRANCH_ROLECreates a PostgreSQL role in a Neon branch. Existing connections to the branch's active compute endpoint are dropped; an idle endpoint is activated briefly. The branch must already have a compute endpoint. Login roles receive a generated password in the create response. Set no_login for a group or permission-only role that cannot connect.
Create project JWKS
NEON_CREATE_PROJECT_JWKSAdds a new JSON Web Key Set (JWKS) URL to a Neon project for JWT-based authentication. The JWKS URL must point to a valid HTTPS endpoint that returns cryptographic keys used to verify JSON Web Tokens (JWTs). Use this action to configure authentication with identity providers like Google, Microsoft, Apple, Auth0, Clerk, or Stytch. The JWKS can be scoped to specific branches and mapped to database roles. Maximum of 10 role names can be associated with each JWKS configuration.
Create project permission
NEON_CREATE_PROJECT_PERMISSIONGrants the specified email address access to a Neon project. Use this to add a new project collaborator. It creates a project permission; it does not modify an existing permission or select a permission level.
Create project transfer request
NEON_CREATE_PROJECTS_TRANSFER_REQUESTSCreates a transfer request for a Neon project. The request expires after its configured validity period. Requires the `urn:neoncloud:orgs:delete` OAuth scope on the connection; it is not in the default scope set.
Create project with quota and settings
NEON_CREATE_PROJECT_WITH_QUOTA_AND_SETTINGSCreates a Neon project and can also enable logical replication in its project settings. Optional configuration includes quotas, network restrictions, autoscaling, maintenance windows, and default branch settings. WARNING: Enabling logical replication is an irreversible project-settings update and suspends all active compute endpoints; the API does not provide a way to disable it afterward.
Set VPC endpoint restriction
NEON_CREATE_VPC_ENDPOINT_LABELSets or updates a VPC endpoint restriction for a Neon project. When a VPC endpoint restriction is set, the project only accepts connections from the specified VPC endpoint, providing network-level security isolation. This is useful for Private Networking scenarios where you want to restrict database access to only connections coming through a specific AWS VPC endpoint. The VPC endpoint must first be assigned to the parent organization (using the organization-level VPC endpoint API) before it can be used as a project restriction. The operation is idempotent - repeated calls with the same parameters will not create additional changes. Note: This is a paid feature requiring a Neon Business or Enterprise plan.
Assign or Update VPC Endpoint
NEON_CREATE_VPC_ENDPOINT_WITH_LABELAssigns an existing AWS VPC endpoint to a Neon organization, or updates the label of that assignment. Azure regions are unsupported. The endpoint must already exist in AWS and Private Networking requires an eligible Neon plan.