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.
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.
Deploy function
NEON_MCP_DEPLOY_FUNCTIONCreates a deployment for the function. Supply at least one of `zip`, `environment`, or `runtime`; omitted fields inherit the latest version. The first deployment must include `zip`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Prepare database migration
NEON_MCP_PREPARE_DATABASE_MIGRATIONApply a schema change on a temporary branch and return a migration_id. Test with run_sql on that branch, ask the user, then complete_database_migration — even if they reject, so the temporary branch is deleted. Pass every field from the prepare response.
Prepare query tuning
NEON_MCP_PREPARE_QUERY_TUNINGAnalyze a slow query on a temporary branch and return a tuning_id. Apply suggested SQL with run_sql on that branch, re-run explain_sql_statement there, then complete_query_tuning with the tuning_id (not the branch id) — apply_changes true if they accept, omit it or pass false if they reject, so the temporary branch is deleted. Do not use prepare_database_migration.
Provision neon auth
NEON_MCP_PROVISION_NEON_AUTHEnables Neon Auth for the specified branch by connecting it to an authentication provider. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Provision neon data api
NEON_MCP_PROVISION_NEON_DATA_APICreates a new instance of Neon Data API in the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Register functions custom domain
NEON_MCP_REGISTER_FUNCTIONS_CUSTOM_DOMAINRegisters a hostname on the branch and routes it to a function. Pass `entity_type: "function"` and `entity_id` as the slug from `list_functions`. Point a CNAME at the returned `cname_target`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Restore snapshot
NEON_MCP_RESTORE_SNAPSHOTRestore a snapshot onto a new or existing branch. The call waits until the branch is ready. Pass `target_branch_id` to restore onto an existing branch; omit it to create one. Pass `finalize: false` then call `finalize_branch_restore` to swap names later.
Set snapshot schedule
NEON_MCP_SET_SNAPSHOT_SCHEDULEReplace a branch's automatic snapshot schedule. Frequency must be daily, weekly, or monthly. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Start postgres endpoint
NEON_MCP_START_POSTGRES_ENDPOINTStarts a compute endpoint.