MCP.so
ログイン
サーバー

Redshift MCP Server (TypeScript)

@paschmaria

概要

What is Redshift MCP Server (TypeScript)?

It is a Model Context Protocol (MCP) server for Amazon Redshift, implemented in TypeScript. It enables LLMs to inspect database schemas and execute read-only queries on a Redshift data warehouse.

How to use Redshift MCP Server (TypeScript)?

Install Node.js 16+, clone the repository, run npm install and npm run build. Set the DATABASE_URL environment variable (e.g., redshift://username:password@hostname:port/database?ssl=true). Start with npm start or node dist/index.js. For Cursor IDE, configure via .cursor/mcp.json; for other MCP clients, use stdio transport configuration.

Key features of Redshift MCP Server (TypeScript)

  • Execute read-only SQL queries via the query tool.
  • Describe table structure with describe_table.
  • Find tables by column name patterns with find_column.
  • Provide schema listings, table schemas, sample data, and statistics.
  • Automatic redaction of sensitive data (email, phone) in samples.
  • Input sanitization and read-only transactions for security.

Use cases of Redshift MCP Server (TypeScript)

  • Ask LLMs to list all tables in a given schema.
  • Retrieve the structure of a specific table (e.g., customers).
  • Find tables containing columns matching a name pattern (e.g., 'email').
  • Request sample data from tables for quick inspection.
  • Write queries to count orders by status or perform aggregations.

FAQ from Redshift MCP Server (TypeScript)

How does the server ensure security?

It uses read-only transactions, sanitizes inputs to prevent SQL injection, does not expose raw passwords in resource URIs, and automatically redacts sensitive data (email, phone) in sample results.

What are the prerequisites to run this server?

Node.js 16 or higher, TypeScript, access to an Amazon Redshift cluster, basic SQL knowledge, and for Cursor integration, Cursor IDE installed.

「その他」の他のコンテンツ