For Redshift you can run AWS's own MCP server locally from Cursor, or connect Redshift to Contextflo once and share it. The local server is quick if only you need it. Contextflo is the better fit when others on your team will ask questions from Cursor.
Option 1: AWS's Redshift MCP server in Cursor
AWS publishes awslabs.redshift-mcp-server. You run it with uvx, and it reads your AWS credentials from AWS_PROFILE and AWS_REGION. Add it to ~/.cursor/mcp.json or .cursor/mcp.json:
{
"mcpServers": {
"redshift": {
"command": "uvx",
"args": ["awslabs.redshift-mcp-server"],
"env": {
"AWS_PROFILE": "<your-profile>",
"AWS_REGION": "<your-region>"
}
}
}
}
This runs on your machine with your AWS credentials. Each teammate would repeat the setup with their own. There is no shared context and no audit trail.
Option 2: Contextflo
Create a read-only user in Redshift:
CREATE USER contextflo_ro PASSWORD '<a strong generated password>';
GRANT USAGE ON SCHEMA analytics TO contextflo_ro;
GRANT SELECT ON ALL TABLES IN SCHEMA analytics TO contextflo_ro;
ALTER DEFAULT PRIVILEGES FOR USER dbt_user IN SCHEMA analytics GRANT SELECT ON TABLES TO contextflo_ro;
Default privileges are per user that creates tables. Repeat the last line for each user that creates tables in that schema, not just dbt_user.
In Contextflo, go to Data Sources, then Add data source:
| Field | Value |
|---|---|
| Host | Your cluster endpoint |
| Port | Your Redshift port |
| Database | The database to expose |
| Username | contextflo_ro |
| Password | The password you generated |
SSL and an SSH bastion are optional. You can also set a WLM query group with a timeout for this user, so a runaway query stops on its own.
Choose the tables, invite your team, and add Contextflo to Cursor:
{
"mcpServers": {
"contextflo": {
"url": "https://mcp.contextflo.com/mcp"
}
}
}
Cursor handles the sign-in. Contextflo runs SELECT only. Descriptions for tables and columns are generated, team corrections become shared context, and table access is set per person. The audit trail records prompts and the SQL that ran, and a weekly digest summarizes usage.
Which one to use
Just you, with AWS credentials already on your laptop? Option 1. When the team asks too, use Contextflo so nobody needs AWS credentials, and you keep shared context, per-person table access and an audit trail.
You do the modeling, we do the rest. Connect Redshift free. Using Claude? See Claude with Redshift.
FAQ
Does AWS have an MCP server for Redshift that works in Cursor? Yes. awslabs.redshift-mcp-server runs locally through uvx and uses your AWS profile and region. It is a stdio server, so it fits Cursor's command and args config.
Whose credentials does the AWS Redshift MCP server use? The AWS credentials of the person running it, set with AWS_PROFILE and AWS_REGION. That means each person needs their own AWS access and there is no shared context or audit trail.
Why does the Contextflo setup use ALTER DEFAULT PRIVILEGES FOR USER? Redshift default privileges apply per user that creates the tables. Run it once for each user (for example your dbt user) that creates tables, or new tables will not be readable.
Can I limit how long Cursor queries run on Redshift? Optionally. Set up a WLM query group with a timeout for the Contextflo user.
See it on your own data.
Connect your warehouse and your team can ask Claude about it the same day, without waiting on a data team. Want a walkthrough first? Grab 20 minutes.
Book a 20-minute callSee how teams use Contextflo
Related posts
Keep reading

Conversational analytics: 5 ways to set it up, compared
7 min read

How to connect Claude to BigQuery? What works and what doesn't in 2026
8 min read

How to connect Claude to Postgres without giving it write access
9 min read

How to build a BI dashboard with Claude that your team can actually trust
8 min read

How to give Claude read-only access to your database (it isn't always the default)
7 min read

You connected your warehouse to Claude, now what?
5 min read

ClickHouse MCP: how to connect ClickHouse to Claude, Cursor or Codex
6 min read

Query BigQuery from the Codex CLI with MCP
5 min read

Run ClickHouse queries from Codex with MCP
6 min read


