Neon MCP logo

Neon MCP

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

104 actions Integration catalog
Request access
Connect Neon MCP once you're in Boring.
01 · WHAT THE AGENT CAN DO

Actions

Every capability is a discrete, logged action the agent calls by name — scoped to what you authorize and recorded in the run trace.

Add auth oauth providerNEON_MCP_ADD_AUTH_OAUTH_PROVIDER
Adds 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 domainNEON_MCP_ADD_AUTH_TRUSTED_DOMAIN
Adds 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.
Compare database schemaNEON_MCP_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.
Complete database migrationNEON_MCP_COMPLETE_DATABASE_MIGRATION
Apply or discard a prepared migration and delete the temporary branch. NEVER run autonomously; always ask the user first. Pass migration_id, migration_sql, database_name, project_id, temporary_branch_id, and parent_branch_id from prepare_database_migration. Set apply_changes false to discard; omitting it applies the migration.
Complete query tuningNEON_MCP_COMPLETE_QUERY_TUNING
Apply or discard query-tuning changes and delete the temporary branch. NEVER run autonomously. Before calling, apply suggested SQL with run_sql on the temporary branch and re-run explain_sql_statement. Pass the tuning_id from prepare_query_tuning, not the branch id, plus temporary_branch_id. Set apply_changes true to apply; omitting it discards. Call this even when the user rejects the changes. Do not use prepare_database_migration.
Create auth userNEON_MCP_CREATE_AUTH_USER
Creates 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 branchNEON_MCP_CREATE_BRANCH
Creates 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 databaseNEON_MCP_CREATE_POSTGRES_DATABASE
Creates 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 endpointNEON_MCP_CREATE_POSTGRES_ENDPOINT
Creates a compute endpoint on a branch. Does not return a connection string; call `get_connection_string`.
Create postgres roleNEON_MCP_CREATE_POSTGRES_ROLE
Creates 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 projectNEON_MCP_CREATE_PROJECT
Creates 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 snapshotNEON_MCP_CREATE_SNAPSHOT
Creates 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 bucketNEON_MCP_CREATE_STORAGE_BUCKET
Creates 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.
Delete auth oauth providerNEON_MCP_DELETE_AUTH_OAUTH_PROVIDER
Deletes an OAuth provider from the specified project. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete auth trusted domainNEON_MCP_DELETE_AUTH_TRUSTED_DOMAIN
Removes a domain from 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.
Delete auth userNEON_MCP_DELETE_AUTH_USER
Deletes the specified user from 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.
Delete branchNEON_MCP_DELETE_BRANCH
Delete a branch and all its data. NEVER run autonomously; always ask the user first. For the whole project, use `delete_project`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete data apiNEON_MCP_DELETE_DATA_API
Deletes the Neon Data API for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete functionNEON_MCP_DELETE_FUNCTION
Deletes the function identified by its slug. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete functions custom domainNEON_MCP_DELETE_FUNCTIONS_CUSTOM_DOMAIN
Removes a custom domain registered on the branch and stops routing it. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete postgres databaseNEON_MCP_DELETE_POSTGRES_DATABASE
Deletes the specified database from the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete postgres endpointNEON_MCP_DELETE_POSTGRES_ENDPOINT
Deletes the specified compute endpoint.
Delete postgres roleNEON_MCP_DELETE_POSTGRES_ROLE
Deletes the specified Postgres role from the branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete projectNEON_MCP_DELETE_PROJECT
Delete a Neon project and all its data. NEVER run autonomously; always ask the user first. For a single branch, use `delete_branch`.
Delete snapshotNEON_MCP_DELETE_SNAPSHOT
Deletes the specified snapshot.
Delete storage bucketNEON_MCP_DELETE_STORAGE_BUCKET
Deletes the named bucket from the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete storage objectNEON_MCP_DELETE_STORAGE_OBJECT
Deletes the named object from the bucket on the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Delete storage objects by prefixNEON_MCP_DELETE_STORAGE_OBJECTS_BY_PREFIX
Soft-deletes every object on the specified branch whose key starts with `prefix`, in a single call. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Deploy functionNEON_MCP_DEPLOY_FUNCTION
Creates 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.
Describe branchNEON_MCP_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 projectNEON_MCP_DESCRIBE_PROJECT
Retrieves the project record (settings, compute, usage). Call `list_branches` for branches.
Describe table schemaNEON_MCP_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).
Disable authNEON_MCP_DISABLE_AUTH
Disables the Neon Auth integration for the specified branch, removing the connection to the authentication provider. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Explain sql statementNEON_MCP_EXPLAIN_SQL_STATEMENT
Analyze the query execution plan for a SQL statement using EXPLAIN ANALYZE. Do not use when you need to execute the query for results (use `run_sql` instead).
FetchNEON_MCP_FETCH
Fetch detailed information about a specific organization, project, or branch using the ID returned by the `search` tool.
Finalize branch restoreNEON_MCP_FINALIZE_BRANCH_RESTORE
Finalize a branch created with `restore_snapshot` and `finalize: false`: reassign computes (this restarts them) and swap names so it replaces the original branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Get ai gatewayNEON_MCP_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 authNEON_MCP_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 branchNEON_MCP_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 stringNEON_MCP_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 apiNEON_MCP_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 tablesNEON_MCP_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 branchNEON_MCP_GET_DEFAULT_BRANCH
Resolve the project's default branch by the default flag, not by name.
Get doc resourceNEON_MCP_GET_DOC_RESOURCE
Fetch one Neon documentation page as markdown. Pass a slug from list_docs_resources (for example docs/guides/prisma.md).
Get functionNEON_MCP_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 configNEON_MCP_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 operationNEON_MCP_GET_OPERATION
Retrieves details for the specified operation.
Get postgres databaseNEON_MCP_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 endpointNEON_MCP_GET_POSTGRES_ENDPOINT
Retrieves information about the specified compute endpoint.
Get postgres roleNEON_MCP_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 scheduleNEON_MCP_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.
Get storageNEON_MCP_GET_STORAGE
Returns whether branchable object storage is usable for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Inspect databaseNEON_MCP_INSPECT_DATABASE
Run one read-only neon inspect db check (pick `check` from the input schema). Not for arbitrary SQL (`run_sql`), one statement's plan (`explain_sql_statement`), or applying indexes (`prepare_query_tuning`). Omit `database_name` to cover every database; some checks are compute-wide. If a check needs an extension, the tool names `CREATE EXTENSION`; ask before running it.
List auth oauth providersNEON_MCP_LIST_AUTH_OAUTH_PROVIDERS
Lists the OAuth providers configured for 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.
List auth trusted domainsNEON_MCP_LIST_AUTH_TRUSTED_DOMAINS
Lists the trusted domains in 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.
List branch computesNEON_MCP_LIST_BRANCH_COMPUTES
Retrieves a list of compute endpoints for the specified branch. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
List branchesNEON_MCP_LIST_BRANCHES
Retrieves a list of branches for the specified project. Returns every page. Pass limit to cap how many.
List docs resourcesNEON_MCP_LIST_DOCS_RESOURCES
List Neon documentation page slugs from neon.com/docs/llms.txt. Call this before get_doc_resource; do not guess slugs.
List functionsNEON_MCP_LIST_FUNCTIONS
Lists functions on the specified branch. Returns every page. Pass limit to cap how many. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
List functions custom domainsNEON_MCP_LIST_FUNCTIONS_CUSTOM_DOMAINS
Lists all custom domains registered on the branch, across every target entity. Returns every page. Pass limit to cap how many. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
Showing the first 60 of 104 actions.