> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# AWS Redshift

> **Ready to connect**
>
> No custom OAuth app setup required. Sign in or provide your credentials to connect.

**Authentication:** AWS access keys. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow.

## Sample use cases

* List the Redshift clusters and Serverless workgroups in us-east-1 and the databases in each.
* Run a query for last month's order totals by region and return the results.
* Review the analytics cluster's health and flag anything that needs attention.

## Available Tools

#### batch_execute_statement

Submit multiple SQL statements as one serialized batch via the Redshift Data API and return the batch statement id immediately.

#### cancel_statement

Cancel a running SQL statement by id via the Redshift Data API.

#### describe_statement

Get the status and metadata of a submitted statement (status, row count, error, run time) via the Redshift Data API.

#### describe_table

Describe a table's columns (name, data type, nullability, precision/scale) through the Redshift Data API.

#### execute_statement

Submit a single SQL statement to a Redshift cluster or workgroup via the Redshift Data API and return its statement id immediately WITHOUT waiting for it to finish.

#### get_statement_result

Fetch one page of a FINISHED statement's result set via the Redshift Data API.

#### get_workgroup

Get one Amazon Redshift Serverless workgroup's full configuration by name, including its namespace, endpoint and capacity.

#### list_clusters

List provisioned Amazon Redshift clusters in the account and region.

#### list_databases

List the databases in a Redshift cluster or serverless workgroup through the Redshift Data API.

#### list_schemas

List the schemas in a database through the Redshift Data API, optionally filtered by a name pattern.

#### list_statements

List SQL statements submitted via the Redshift Data API, filtered by status and/or name, so an agent can find a prior statement's id.

#### list_tables

List tables, views and external tables in a database through the Redshift Data API, optionally filtered by schema and table name patterns.

#### list_workgroups

List Amazon Redshift Serverless workgroups in the account and region.

#### review_cluster

Run a read-only diagnostic review of a Redshift cluster or serverless workgroup: a bounded set of health-check queries over Redshift system views (distribution skew, unsorted rows, disk usage, stale…

#### run_query

Run a single SQL statement and BLOCK until it finishes, then return the first page of rows in one call — the convenient path for interactive queries.