> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ClickHouse

> How to set up the ClickHouse connector, plus the actions that are available.

![ClickHouse](https://stackone-logos.com/api/clickhouse/filled/svg)

Previewv0.1.0[See changelog](https://docs.stackone.com/connectors/clickhouse/changelog.md)

[172 actions](#actions) · 2 auth methods

IAM
Databases

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [MCP (OAuth) · Connector Profile](https://docs.stackone.com/connectors/clickhouse/guides/connector-profile/mcp-oauth.md)
>
> Signs in a ClickHouse Cloud user and serves ClickHouse's read-only MCP tools, including SQL SELECT queries against servi...

> [card] [API Key · Connector Profile](https://docs.stackone.com/connectors/clickhouse/guides/connector-profile/api-key.md)
>
> Uses a ClickHouse Cloud API key, which belongs to one organization. The roles given to the key decide which actions work...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [MCP (OAuth) · Link Account](https://docs.stackone.com/connectors/clickhouse/guides/link-account/mcp-oauth.md)

> [card] [API Key · Link Account](https://docs.stackone.com/connectors/clickhouse/guides/link-account/api-key.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Authentication type

Select all
|
Clear

API Key

MCP (OAuth)

No auth methods found

172 actions

ActionDescription

List API Keys`clickhouse_list_api_keys`

List the API keys of a ClickHouse Cloud organization

List Service Backups`clickhouse_list_service_backups`

List all backups of a ClickHouse Cloud service

Get Backup`clickhouse_get_backup`

Get the details of a single service backup

Get Service Backup Configuration`clickhouse_get_service_backup_configuration`

Get the backup schedule and retention configuration of a service

Get Service Backup Bucket`clickhouse_get_service_backup_bucket`

Get the custom backup bucket configured for a service

Create Service Backup Bucket`clickhouse_create_service_backup_bucket`

Configure a custom AWS, GCP or Azure bucket for service backups

Update Service Backup Configuration`clickhouse_update_service_backup_configuration`

Update the backup schedule and retention configuration of a service

Update Service Backup Bucket`clickhouse_update_service_backup_bucket`

Update the custom backup bucket configured for a service

Delete Service Backup Bucket`clickhouse_delete_service_backup_bucket`

Remove the custom backup bucket from a service

Get Organization Usage Costs`clickhouse_get_organization_usage_costs`

Get the usage costs of a ClickHouse Cloud organization for a date range of up to 31 days

List ClickPipes`clickhouse_list_clickpipes`

List the ClickPipes (data ingestion pipelines) in a ClickHouse Cloud service.

Get ClickPipe`clickhouse_get_clickpipe`

Get a single ClickPipe by ID, including its source, destination, scaling and state.

Get ClickPipe Settings`clickhouse_get_clickpipe_settings`

Get the advanced settings of a ClickPipe.

Get ClickPipes Service Context`clickhouse_get_clickpipes_service_context`

Get service-level ClickPipes capabilities and workload identity context for a service.

Get CDC ClickPipes Scaling`clickhouse_get_cdc_clickpipes_scaling`

Get the shared scaling settings of database (CDC) ClickPipes in a service.

Create ClickPipe`clickhouse_create_clickpipe`

Create a ClickPipe that ingests data from Kafka, object storage, Kinesis, Pub/Sub, Postgres, MySQL, BigQuery or MongoDB...

Update ClickPipe`clickhouse_update_clickpipe`

Update the name, mutable source fields, destination columns, field mappings or settings of a ClickPipe.

Update ClickPipe Settings`clickhouse_update_clickpipe_settings`

Update the advanced settings of a ClickPipe.

Update ClickPipe Scaling`clickhouse_update_clickpipe_scaling`

Change the replicas, CPU or memory of a Kafka, Kinesis or object storage ClickPipe.

Update CDC ClickPipes Scaling`clickhouse_update_cdc_clickpipes_scaling`

Update the shared CPU and memory of database (CDC) ClickPipes in a service.

Delete ClickPipe`clickhouse_delete_clickpipe`

Delete a ClickPipe.

Update ClickPipe State`clickhouse_update_clickpipe_state`

Start, stop or resync a ClickPipe.

Discover ClickPipe Source Schema`clickhouse_discover_clickpipe_source_schema`

Infer the field names and ClickHouse data types of a ClickPipe source without creating a pipe.

List Reverse Private Endpoints`clickhouse_list_reverse_private_endpoints`

List the ClickPipes reverse private endpoints of a ClickHouse Cloud service.

Get Reverse Private Endpoint`clickhouse_get_reverse_private_endpoint`

Get a single ClickPipes reverse private endpoint by ID.

Create Reverse Private Endpoint`clickhouse_create_reverse_private_endpoint`

Create a reverse private endpoint so ClickPipes can reach a source privately.

Update Reverse Private Endpoint`clickhouse_update_reverse_private_endpoint`

Update the custom private DNS mappings of a reverse private endpoint.

Delete Reverse Private Endpoint`clickhouse_delete_reverse_private_endpoint`

Delete a ClickPipes reverse private endpoint.

List ClickStack Alerts`clickhouse_list_clickstack_alerts`

List ClickStack alerts on a service, with optional tag, source, state and name filters

List ClickStack Dashboards`clickhouse_list_clickstack_dashboards`

List all ClickStack dashboards on a service

List ClickStack Saved Searches`clickhouse_list_clickstack_saved_searches`

List ClickStack saved searches on a service

List ClickStack Sources`clickhouse_list_clickstack_sources`

List all ClickStack data sources (logs, traces, metrics, sessions, PromQL) on a service

List ClickStack Webhooks`clickhouse_list_clickstack_webhooks`

List ClickStack webhook notification destinations on a service

Get ClickStack Alert`clickhouse_get_clickstack_alert`

Get a ClickStack alert by ID

Get ClickStack Dashboard`clickhouse_get_clickstack_dashboard`

Get a ClickStack dashboard by ID

Get ClickStack Saved Search`clickhouse_get_clickstack_saved_search`

Get a ClickStack saved search by ID

Get ClickStack Source`clickhouse_get_clickstack_source`

Get a ClickStack data source by ID

Create ClickStack Alert`clickhouse_create_clickstack_alert`

Create a ClickStack alert on a saved search, dashboard tile or inline chart

Create ClickStack Dashboard`clickhouse_create_clickstack_dashboard`

Create a ClickStack dashboard with tiles, filters and containers

Create ClickStack Saved Search`clickhouse_create_clickstack_saved_search`

Create a ClickStack saved search on a source

Create ClickStack Source`clickhouse_create_clickstack_source`

Create a ClickStack data source for logs, traces, metrics, sessions or PromQL

Update ClickStack Alert`clickhouse_update_clickstack_alert`

Replace a ClickStack alert with a full new definition

Update ClickStack Dashboard`clickhouse_update_clickstack_dashboard`

Replace a ClickStack dashboard with a full new definition

Update ClickStack Role`clickhouse_update_clickstack_role`

Replace the permissions, name and description of a custom ClickStack role

Update ClickStack Saved Search`clickhouse_update_clickstack_saved_search`

Replace a ClickStack saved search with a full new definition

Update ClickStack Source`clickhouse_update_clickstack_source`

Replace a ClickStack data source with a full new definition

Delete ClickStack Alert`clickhouse_delete_clickstack_alert`

Delete a ClickStack alert

Delete ClickStack Dashboard`clickhouse_delete_clickstack_dashboard`

Delete a ClickStack dashboard

Delete ClickStack Saved Search`clickhouse_delete_clickstack_saved_search`

Delete a ClickStack saved search and its alerts

Delete ClickStack Source`clickhouse_delete_clickstack_source`

Delete a ClickStack data source

Delete ClickStack Webhook`clickhouse_delete_clickstack_webhook`

Delete a ClickStack webhook destination

Silence ClickStack Alert`clickhouse_silence_clickstack_alert`

Silence a ClickStack alert until a given time

Unsilence ClickStack Alert`clickhouse_unsilence_clickstack_alert`

Clear the silence on a ClickStack alert so notifications resume

Validate ClickStack Dashboard`clickhouse_validate_clickstack_dashboard`

Validate a ClickStack dashboard definition without saving it

List ClickStack Roles`clickhouse_list_clickstack_roles`

List the ClickStack roles of a service, including predefined roles

Get ClickPipe`clickhouse_mcp_get_clickpipe`

Returns the full definition of one ClickPipe on a ClickHouse service: name, description, state, replica scaling, source...

Get Organizations`clickhouse_mcp_get_organizations`

Retrieves all accessible ClickHouse Cloud organizations.

Run SELECT Query`clickhouse_run_select_query`

Executes a SELECT query against a ClickHouse service. Runs a read-only SELECT query on the specified ClickHouse service...

Run Postgres SELECT Query`clickhouse_run_postgres_select_query`

Executes a read-only SELECT query against a Postgres service. The query is routed through the Postgres query endpoint wi...

List Postgres Slow Query Patterns`clickhouse_mcp_list_postgres_slow_query_patterns`

Lists the slowest query patterns observed on a Postgres service in a time window, with aggregate metrics per pattern (ca...

Get Postgres Slow Query Pattern Details`clickhouse_get_postgres_slow_query_pattern_details`

Returns up to the 10 most recent individual executions for a single Postgres slow query pattern from the last 24 hours,...

Get Postgres Metrics`clickhouse_mcp_get_postgres_metrics`

Returns bucketed time-series metrics for a Postgres service over a time window (CPU, memory, disk, network, connections,...

Get Postgres Logs`clickhouse_get_postgres_logs`

Returns PostgreSQL server log entries for a Postgres service in a time window, most recent first unless sortOrder is asc...

List Databases`clickhouse_list_databases`

Lists the databases in a ClickHouse Cloud service by running SHOW DATABASES as the authenticated identity. Returns only...

List Tables`clickhouse_list_tables`

Lists the tables of one database on a ClickHouse service by querying system.tables and system.columns as the authenticat...

Get Services List`clickhouse_get_services_list`

Lists every ClickHouse and Managed Postgres service in an organization. Each entry has serviceType ("clickhouse" or "pos...

Get Organization Details`clickhouse_get_organization_details`

Returns one organization: its id, name, creation time, configured private endpoints, and BYOC (bring your own cloud) con...

Get Service Details`clickhouse_get_service_details`

Returns a service that belongs to the organization. Supports both ClickHouse services and Managed Postgres services; the...

List ClickPipes`clickhouse_mcp_list_clickpipes`

Lists the ClickPipes of a ClickHouse service. Each entry has id, name, description, state, scaling, source and destinati...

List Service Backups`clickhouse_mcp_list_service_backups`

Lists the backups of a ClickHouse service, most recent first. Each backup has id, status, start and finish times, size i...

Get Organization Cost`clickhouse_get_organization_cost`

Returns usage costs for an organization over an inclusive range of UTC calendar days from from\_date to to\_date (both req...

Get Service Backup Details`clickhouse_get_service_backup_details`

Returns one backup of a ClickHouse service: its status, start and finish times, size in bytes, duration in seconds, type...

Get Service Backup Configuration`clickhouse_mcp_get_service_backup_configuration`

Returns the backup schedule of a ClickHouse service: backupPeriodInHours (interval between backups), backupRetentionPeri...

List Organization Members`clickhouse_list_members`

List all members of a ClickHouse Cloud organization

Get Organization Member`clickhouse_get_member`

Get the details of a single ClickHouse Cloud organization member

Update Organization Member`clickhouse_update_member`

Change the roles assigned to a ClickHouse Cloud organization member

Remove Organization Member`clickhouse_remove_member`

Remove a user from a ClickHouse Cloud organization

List Invitations`clickhouse_list_invitations`

List all invitations of a ClickHouse Cloud organization

Get Invitation`clickhouse_get_invitation`

Get the details of a single ClickHouse Cloud organization invitation

Create Invitation`clickhouse_create_invitation`

Invite a user by email to join a ClickHouse Cloud organization

Delete Invitation`clickhouse_delete_invitation`

Revoke a pending ClickHouse Cloud organization invitation

Get Prometheus Service Discovery Targets`clickhouse_get_prometheus_discovery_targets`

Get one Prometheus scrape target per service in the organization, in Prometheus HTTP service discovery format

Get Service Prometheus Metrics`clickhouse_get_service_prometheus_metrics`

Get the Prometheus metrics of a ClickHouse service

Get Organization PostgreSQL Prometheus Metrics`clickhouse_get_organization_postgres_prometheus_metrics`

Get the Prometheus metrics of all managed PostgreSQL services in the organization

Get PostgreSQL Service Prometheus Metrics`clickhouse_get_postgres_prometheus_metrics`

Get the Prometheus metrics of a single managed PostgreSQL service

Get Organizations`clickhouse_get_organizations`

List the ClickHouse Cloud organizations available to the caller

List Organization Activities`clickhouse_list_organization_activities`

List the audit activities recorded for a ClickHouse Cloud organization

Get Organization`clickhouse_get_organization`

Get the details of a ClickHouse Cloud organization

Get Organization Activity`clickhouse_get_organization_activity`

Get a single organization activity by ID

Get BYOC Infrastructure`clickhouse_get_byoc_infrastructure`

Get the full configuration of a BYOC (Bring Your Own Cloud) infrastructure

Get BYOC Infrastructure Tags`clickhouse_get_byoc_infrastructure_tags`

Get the additional tags applied to the cloud resources of a BYOC infrastructure

Get BYOC Infrastructure Private Endpoint Configuration`clickhouse_get_byoc_infrastructure_private_endpoint_config`

Get the private link endpoint service details of a BYOC infrastructure

Create BYOC Infrastructure`clickhouse_create_byoc_infrastructure`

Create a BYOC (Bring Your Own Cloud) infrastructure in the organization

Update Organization`clickhouse_update_organization`

Update the name, private endpoints or crash-report setting of a ClickHouse Cloud organization

Update BYOC Infrastructure`clickhouse_update_byoc_infrastructure`

Rename a BYOC infrastructure, toggle its private link and load balancers, or replace its tags

Remove BYOC Infrastructure`clickhouse_remove_byoc_infrastructure`

Remove a BYOC infrastructure from the organization

List Postgres Services`clickhouse_list_postgres_services`

List all managed Postgres services in the organization

List Postgres Service Backups`clickhouse_list_postgres_service_backups`

List the base backups retained for a Postgres service, newest first

List Postgres Slow Query Patterns`clickhouse_list_postgres_slow_query_patterns`

List aggregate metrics for the slowest query patterns on a Postgres service in a time window

List Postgres Blocking Queries`clickhouse_list_postgres_blocking_queries`

List queries that waited on locks held by other queries on a Postgres service in a time window

List Postgres Logs`clickhouse_list_postgres_logs`

List PostgreSQL server log entries for a Postgres service in a time window

Get Postgres Service`clickhouse_get_postgres_service`

Get the details of a managed Postgres service

Get Postgres Service Configuration`clickhouse_get_postgres_service_configuration`

Get the Postgres and PgBouncer configuration of a Postgres service

Get Postgres CA Certificates`clickhouse_get_postgres_ca_certificates`

Download the CA certificates for a Postgres service

Get Postgres Metrics`clickhouse_get_postgres_metrics`

Get bucketed time-series metrics for a Postgres service over a time window

Get Postgres Private Endpoint`clickhouse_get_postgres_private_endpoint`

Get the AWS private endpoint service of a Postgres service

Get Postgres Slow Query Pattern`clickhouse_get_postgres_slow_query_pattern`

Get a slow query pattern with its most recent executions

Create Postgres Service`clickhouse_create_postgres_service`

Create a new managed Postgres service in the organization

Create Postgres Read Replica`clickhouse_create_postgres_read_replica`

Create a new read replica for a Postgres service

Restore Postgres Service`clickhouse_restore_postgres_service`

Restore a Postgres service from continuous backup into a new service at a point in time

Create Postgres Private Endpoint`clickhouse_create_postgres_private_endpoint`

Create the AWS private endpoint service of a Postgres service

Update Postgres Service`clickhouse_update_postgres_service`

Update the name, size, HA settings, tags, IP access list or deletion protection of a Postgres service

Update Postgres Password`clickhouse_update_postgres_password`

Set a new password for the superuser account of a Postgres service

Update Postgres Service State`clickhouse_update_postgres_service_state`

Restart a Postgres service, promote a read replica, or switch over to a standby

Replace Postgres Service Configuration`clickhouse_replace_postgres_service_configuration`

Replace the entire Postgres and PgBouncer configuration of a Postgres service

Update Postgres Service Configuration`clickhouse_update_postgres_service_configuration`

Update selected Postgres and PgBouncer configuration settings of a Postgres service

Update Postgres Private Endpoint`clickhouse_update_postgres_private_endpoint`

Approve VPC endpoints and set supported regions for a Postgres private endpoint

Delete Postgres Service`clickhouse_delete_postgres_service`

Delete a managed Postgres service

Delete Postgres Private Endpoint`clickhouse_delete_postgres_private_endpoint`

Delete the AWS private endpoint service of a Postgres service

List Query API Endpoints`clickhouse_list_query_api_endpoints`

List the active Query API endpoints of a ClickHouse Cloud service

Get Query API Endpoint`clickhouse_get_query_api_endpoint`

Get a single Query API endpoint of a ClickHouse Cloud service

Create Query API Endpoint`clickhouse_create_query_api_endpoint`

Create a Query API endpoint that exposes a SQL statement over HTTP on a ClickHouse Cloud service

Update Query API Endpoint`clickhouse_update_query_api_endpoint`

Replace the configuration of a Query API endpoint on a ClickHouse Cloud service

Delete Query API Endpoint`clickhouse_delete_query_api_endpoint`

Delete a Query API endpoint from a ClickHouse Cloud service

List Roles`clickhouse_list_roles`

List the system and custom roles available in a ClickHouse Cloud organization

Get Role`clickhouse_get_role`

Get the details of a single ClickHouse Cloud organization role

List Saved Queries`clickhouse_list_saved_queries`

List the saved SQL queries of a ClickHouse Cloud service

Get Saved Query`clickhouse_get_saved_query`

Get a single saved SQL query of a ClickHouse Cloud service

Create Saved Query`clickhouse_create_saved_query`

Save a SQL query on a ClickHouse Cloud service

Update Saved Query`clickhouse_update_saved_query`

Replace the name, SQL, database and parameters of a saved query

Delete Saved Query`clickhouse_delete_saved_query`

Delete a saved SQL query from a ClickHouse Cloud service

List Services`clickhouse_list_services`

List all ClickHouse Cloud services in an organization

List Service Profiles`clickhouse_list_service_profiles`

List the custom instance profiles available to the organization in a region

List Service JWT Providers`clickhouse_list_service_jwt_providers`

List the JWT authentication providers configured on a service

Get Service`clickhouse_get_service`

Get the details of a ClickHouse Cloud service

Get Service Private Endpoint Configuration`clickhouse_get_service_private_endpoint_config`

Get the information required to set up a private endpoint for a service

Get Service Query Endpoint`clickhouse_get_service_query_endpoint`

Get the configuration of the service query endpoint that executes queries via API

Get Service Autoscaling Schedule`clickhouse_get_service_scaling_schedule`

Get the autoscaling schedule of a service

Get Service Upgrade Window`clickhouse_get_service_upgrade_window`

Get the configured upgrade window of a service

Get Service JWT Provider`clickhouse_get_service_jwt_provider`

Get a single JWT authentication provider of a service

Get Replica Aware Routing`clickhouse_get_replica_aware_routing`

Get whether replica aware (sticky) routing is enabled for a service

Create Service`clickhouse_create_service`

Create a new ClickHouse Cloud service in the organization

Create Service Private Endpoint`clickhouse_create_service_private_endpoint`

Create a private endpoint associated with a service and organization

Create Or Replace Service Autoscaling Schedule`clickhouse_upsert_service_scaling_schedule`

Create or fully replace the autoscaling schedule of a service

Upsert Service Query Endpoint`clickhouse_upsert_service_query_endpoint`

Create or update the service query endpoint that executes queries via API

Update Service`clickhouse_update_service`

Update basic details of a service such as its name, IP access list or tags

Update Service Auto Scaling Settings`clickhouse_update_service_replica_scaling`

Update the per-replica memory limits, replica count and idle scaling of a service

Update Service Password`clickhouse_update_service_password`

Set a new password for the default user of a service

Set Service Upgrade Window`clickhouse_set_service_upgrade_window`

Create or fully replace the upgrade window of a service

Update Replica Aware Routing`clickhouse_update_replica_aware_routing`

Enable or disable replica aware (sticky) routing for a service

Delete Service`clickhouse_delete_service`

Delete a stopped ClickHouse Cloud service

Delete Service Query Endpoint`clickhouse_delete_service_query_endpoint`

Remove the service query endpoint of a service

Delete Service Autoscaling Schedule`clickhouse_delete_service_scaling_schedule`

Delete the autoscaling schedule of a service

Delete Service Upgrade Window`clickhouse_delete_service_upgrade_window`

Delete the upgrade window of a service, restoring default upgrade scheduling

Delete Service JWT Provider`clickhouse_delete_service_jwt_provider`

Remove a JWT authentication provider from a service

Update Service State`clickhouse_update_service_state`

Start, stop or wake a ClickHouse Cloud service

List Service Snapshots`clickhouse_list_service_snapshots`

List the snapshots of a ClickHouse Cloud service

Get Snapshot`clickhouse_get_snapshot`

Get the details of a single service snapshot

Get Service Snapshot Configuration`clickhouse_get_service_snapshot_configuration`

Get the scheduled snapshot configuration of a service

Update Service Snapshot Configuration`clickhouse_update_service_snapshot_configuration`

Enable, disable or change the cadence of scheduled service snapshots

List UDFs`clickhouse_list_udfs`

List the user-defined functions in an organization

List UDF Versions`clickhouse_list_udf_versions`

List all versions of a user-defined function

List UDF Attachments`clickhouse_list_udf_attachments`

List the services a user-defined function is attached to

Get UDF`clickhouse_get_udf`

Get the latest version of a user-defined function

Get UDF Attachment`clickhouse_get_udf_attachment`

Get the attachment of a user-defined function to one service

Create UDF Upload URL`clickhouse_create_udf_upload_url`

Create a presigned URL for uploading a UDF source archive

Create UDF`clickhouse_create_udf`

Create a user-defined function from an uploaded source archive

Create UDF Version`clickhouse_create_udf_version`

Create a new version of a user-defined function from an uploaded source archive

Attach UDF To Service`clickhouse_attach_udf_to_service`

Attach a version of a user-defined function to a service

Delete UDF`clickhouse_delete_udf`

Delete a user-defined function and all of its versions

Delete UDF Version`clickhouse_delete_udf_version`

Delete one version of a user-defined function

Detach UDF From Service`clickhouse_detach_udf_from_service`

Detach a user-defined function from a service


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.