Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Query logs
NEON_MCP_QUERY_LOGSReturns logs for a branch. Pass `limit` to cap how many. There is no `cursor` argument. Filters combine with AND. Pass `logql` instead of structured filters, not with them. Give the window as `since` or `start_time`, not both; default is the previous hour, max seven days; `end_time` is exclusive. Private beta; a branch without logs access returns HTTP 404 with reason "telemetry_not_enabled". branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Recover project
NEON_MCP_RECOVER_PROJECTRecovers a deleted project within the 7-day deletion recovery period.
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.
Reset from parent
NEON_MCP_RESET_FROM_PARENTReset a branch to its parent's current HEAD. Discards every change the branch has written since it diverged. NEVER run autonomously; always ask the user first. `preserve_under_name` saves the current state first and is required when the branch has children; those children move to the new branch. Point-in-time restore is `restore_snapshot`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Reset postgres role password
NEON_MCP_RESET_POSTGRES_ROLE_PASSWORDResets the password for the specified Postgres role. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Restart postgres endpoint
NEON_MCP_RESTART_POSTGRES_ENDPOINTRestarts the specified compute endpoint by immediately suspending it and then starting it again.
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.
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.
Search
NEON_MCP_SEARCHSearch across all organizations, projects, and branches by keyword. Returns matching items with id, title, and URL. Query must be at least 3 characters. Do not use when you need all projects (use `list_projects` instead).
Set default branch
NEON_MCP_SET_DEFAULT_BRANCHSets the specified branch as the project's default branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
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.
Suspend postgres endpoint
NEON_MCP_SUSPEND_POSTGRES_ENDPOINTSuspends the specified compute endpoint.
Update auth config
NEON_MCP_UPDATE_AUTH_CONFIGUpdates the auth configuration for the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Update auth oauth provider
NEON_MCP_UPDATE_AUTH_OAUTH_PROVIDERUpdates an OAuth provider for the specified project. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Update auth user role
NEON_MCP_UPDATE_AUTH_USER_ROLEUpdates the role of a 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.
Update branch
NEON_MCP_UPDATE_BRANCHUpdates the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Update data api
NEON_MCP_UPDATE_DATA_APIUpdates the Neon Data API configuration for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Update function
NEON_MCP_UPDATE_FUNCTIONUpdates the function's mutable metadata — currently only the display `name`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.