Developer Tools · Databases & Storage

Neon MCP

Manage Neon projects, branches, databases, and development workflows.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Compare database schema

    Compare 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

    Get 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

    Retrieves the project record (settings, compute, usage). Call `list_branches` for branches.

  • Describe table schema

    Get 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

    Fetch detailed information about a specific organization, project, or branch using the ID returned by the `search` tool.

  • Get ai gateway

    Returns 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

    Retrieves 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

    Retrieves 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

    Get 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

    Retrieves 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

    List 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

    Resolve the project's default branch by the default flag, not by name.

  • Get doc resource

    Fetch one Neon documentation page as markdown. Pass a slug from list_docs_resources (for example docs/guides/prisma.md).

  • Get function

    Returns 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

    Read Neon Auth config for a branch with OAuth and SMTP secrets redacted as "***redacted***". Requires provision_neon_auth first.

  • Get operation

    Retrieves details for the specified operation.

  • Get postgres database

    Retrieves 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

    Retrieves information about the specified compute endpoint.

  • Get postgres role

    Retrieves 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

    Returns 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.

Page 1 / 3Next