TRUSTED IDP
ANALYTICS
Amazon Redshift is a fully managed cloud data warehouse that enables fast, cost-effective analysis of structured and semi-structured data at scale.
from langchain_mcp_adapters.client import MultiServerMCPClient
from scalekit import ScalekitClient
client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="redshift")
mcp = MultiServerMCPClient({
"redshift": {
"url": "https://mcp.scalekit.com/redshift",
"headers": {"Authorization": "Bearer " + token}
}
})
tools = await mcp.get_tools()import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";
const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "redshift" });
const openai = new OpenAI();
// Connect to MCP at https://mcp.scalekit.com/redshift
// Pass: Authorization: Bearer + tokenimport Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";
const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "redshift" });
const anthropic = new Anthropic();
// Connect to MCP at https://mcp.scalekit.com/redshift
// Pass: Authorization: Bearer + tokenfrom google.adk.agents import LlmAgent
from scalekit import ScalekitClient
client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="redshift")
# Connect to MCP at https://mcp.scalekit.com/redshift
# Pass: Authorization: Bearer + token// shared token
audit → bot_service_account
// scalekit
audit → user_abc ✓How does the agent authenticate to AWS Redshift?
Through a trusted identity provider. Scalekit handles authentication for every call, so your agent never handles credentials, and every action is logged.
Where are the AWS Redshift credentials kept?
Nowhere in your agent. Scalekit handles authentication through the trusted identity provider, namespaced per tenant. Revocation is a single dashboard action, and credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent is allowed to do in AWS Redshift?
Yes. Pass a tool name filter to listScopedTools so the analytics agent only sees the subset you authorize. Pre-API-call scope checks block out-of-policy actions before the request reaches AWS Redshift.
What happens when AWS Redshift access is revoked?
The connection is invalidated on the next tool call. Subsequent requests fail closed with a clear error. Other tenants remain unaffected. The event is logged for audit.
Does SQL execution respect Redshift grants?
Yes. execute_sql and schema inspection run under the connected Redshift credential's grants, so schema and table permissions hold. Scalekit vaults the credential and scope-checks every statement pre-call.