home / mcp / amazon redshift mcp server
Provides read-only access to live Amazon Redshift data via MCP, enabling natural-language queries and data exploration.
Configuration
View docs{
"mcpServers": {
"cdatasoftware-amazon-redshift-mcp-server-by-cdata": {
"command": "java",
"args": [
"-jar",
"/PATH/TO/CDataMCP-jar-with-dependencies.jar",
"/PATH/TO/amazon-redshift.prp"
]
}
}
}You can query live Amazon Redshift data through a lightweight MCP server that exposes the data as MCP tools. This enables language models to read from Redshift in real time without writing SQL, while keeping access controlled and straightforward to use.
You connect to your MCP server locally and then ask the AI to retrieve or summarize data from Redshift. The server presents read-only access via built‑in tools such as listing available tables, listing columns for a table, and running read queries. You don’t need to write SQL yourself; just ask natural language questions and let the AI compose the queries.
Prerequisites you need on your machine: the Java runtime and Maven for building the server.
Step 1: Clone the project and navigate into it.
git clone https://github.com/cdatasoftware/amazon-redshift-mcp-server-by-cdata.git
cd amazon-redshift-mcp-server-by-cdataStep 2: Build the server to produce the MCP jar.
mvn clean installStep 3: Obtain and license the CData JDBC Driver for Amazon Redshift. Download from the vendor and install it on your system following the driver’s instructions.
Step 4: Create a connection string with the JDBC driver and save it to a properties file (for example amazon-redshift.prp). This file should include your driver path, driver class, and the JDBC URL, as well as which tables to expose (blank to expose all). Example properties content is shown below.
Prefix=redshift
ServerName=CDataRedshift
ServerVersion=1.0
DriverPath=PATH\TO\cdata.jdbc.redshift.jar
DriverClass=cdata.jdbc.redshift.RedshiftDriver
JdbcUrl=jdbc:redshift:InitiateOAuth=GETANDREFRESH;
Tables=Step 5: Start the MCP server using the generated jar and your .prp file.
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/amazon-redshift.prpRetrieves a list of tables available in the Redshift data source. The output is provided in CSV format with column headers.
Retrieves a list of columns for a specified table. The output is provided in CSV format with column headers.
Executes a SQL SELECT query against the Redshift data source and returns the result set.