Skip to main content
Glama
DeepaRajareddy

Redshift MCP Server

redshift_connection_status

Check the connection status of Amazon Redshift databases to verify connectivity and ensure database operations can proceed.

Instructions

Check the Redshift connection status. Returns: Connection status information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'redshift_connection_status' tool. It is decorated with @mcp.tool() for registration and implements the logic to check Redshift connection status, returning JSON with status details.
    @mcp.tool() def redshift_connection_status() -> str: """ Check the Redshift connection status. Returns: Connection status information """ try: with get_connection() as conn: return json.dumps({ "status": "connected", "host": REDSHIFT_HOST, "port": REDSHIFT_PORT, "database": REDSHIFT_DATABASE }, indent=2) except Exception as e: return json.dumps({ "status": "disconnected", "error": str(e) }, indent=2)

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/DeepaRajareddy/redshift_mcp_server'

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