Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Compare database schema
NEON_MCP_COMPARE_DATABASE_SCHEMACompare one database's SQL schema on a branch to another. `database_name` is required. Omit `base_branch_id` to compare against the parent; it is a branch id (`br-...`), not a name. Pass `lsn`, `timestamp`, `base_lsn`, or `base_timestamp` only for a point-in-time comparison. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Describe branch
NEON_MCP_DESCRIBE_BRANCHGet a tree view of all objects in a branch, including databases, schemas, tables, views, and functions. Do not use when you only need table names (use `get_database_tables` instead) or column detail (use `describe_table_schema` instead).
Describe project
NEON_MCP_DESCRIBE_PROJECTRetrieves the project record (settings, compute, usage). Call `list_branches` for branches.
Describe table schema
NEON_MCP_DESCRIBE_TABLE_SCHEMAGet column definitions, data types, and constraints for a specific table. Do not use when you need all tables in a database (use `get_database_tables` instead).
Fetch
NEON_MCP_FETCHFetch detailed information about a specific organization, project, or branch using the ID returned by the `search` tool.
Get ai gateway
NEON_MCP_GET_AI_GATEWAYReturns the AI Gateway endpoint host for the specified branch, used to render code-snippet base URLs. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get auth
NEON_MCP_GET_AUTHRetrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get branch
NEON_MCP_GET_BRANCHRetrieves information about the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get connection string
NEON_MCP_GET_CONNECTION_STRINGGet a PostgreSQL connection string for a Neon database. The branch must have a compute endpoint. `create_project` and `create_branch` do not return one; call this after they succeed. All parameters are optional; the tool resolves the project, branch, and database automatically if not specified. Requires write access: the connection string carries a privileged role password, so it is unavailable in read-only mode. A read-only caller who needs a DATABASE_URL must copy it from https://console.neon.tech manually.
Get data api
NEON_MCP_GET_DATA_APIRetrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get database tables
NEON_MCP_GET_DATABASE_TABLESList all tables in a Neon database. Do not use when you need column-level detail for a specific table (use `describe_table_schema` instead).
Get default branch
NEON_MCP_GET_DEFAULT_BRANCHResolve the project's default branch by the default flag, not by name.
Get doc resource
NEON_MCP_GET_DOC_RESOURCEFetch one Neon documentation page as markdown. Pass a slug from list_docs_resources (for example docs/guides/prisma.md).
Get function
NEON_MCP_GET_FUNCTIONReturns the function identified by its slug. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get neon auth config
NEON_MCP_GET_NEON_AUTH_CONFIGRead Neon Auth config for a branch with OAuth and SMTP secrets redacted as "***redacted***". Requires provision_neon_auth first.
Get operation
NEON_MCP_GET_OPERATIONRetrieves details for the specified operation.
Get postgres database
NEON_MCP_GET_POSTGRES_DATABASERetrieves information about the specified database. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get postgres endpoint
NEON_MCP_GET_POSTGRES_ENDPOINTRetrieves information about the specified compute endpoint.
Get postgres role
NEON_MCP_GET_POSTGRES_ROLERetrieves details about the specified role. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get snapshot schedule
NEON_MCP_GET_SNAPSHOT_SCHEDULEReturns the backup schedule for the specified branch, including the configured snapshot frequencies. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.