Skip to main content
Glama
amitds1997

Redshift MCP Server

by amitds1997

Redshift MCP server

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.

Setup

  1. 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>.

  2. 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"
        }
    }
  3. In case you don't have uv installed, you can install it by following uv installation guide.

Usage

  1. Prefer using a read-only user for connecting to the Redshift cluster. Validations are performed to ensure that the user is not able to execute DDL statements but it is still a good practice to use a read-only user.

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amitds1997/redshift-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server