loading…
Search for a command to run...
loading…
Enables connecting to Amazon Redshift and executing SQL queries with read-only safety checks.
Enables connecting to Amazon Redshift and executing SQL queries with read-only safety checks.
This repository contains the code for the Redshift MCP server. This MCP server allows you to connect to Redshift cluster and execute SQL queries.
Has been tested up to 100+ rows of output. For larger output, your mileage may vary depending upon the total size of the output.
Note down the path where this directory is located. You will need it to configure the MCP client. For now, it is assumed to be <path_to_redshift_mcp>.
In your MCP configuration file, add the following configuration. If your MCP client supports envFile, you can also add that with these variables and the server would read them from there.
{
"command": "uv",
"args": [
"--directory",
"<path_to_redshift_mcp>",
"run",
"server.py"
],
"env": {
"REDSHIFT_DB": "<db-name>",
"REDSHIFT_USER": "<redshift_user>",
"REDSHIFT_PASSWORD": "<redshift_password>",
"REDSHIFT_HOST": "<redshift-host-uri>",
"REDSHIFT_PORT": "5439"
}
}
In case you don't have uv installed, you can install it by following uv installation guide.
Run in your terminal:
claude mcp add redshift-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.