published fresh until

AWS Redshift MCP Server: session is not available

Summary As of November 2026, Upgrade the server to the release that removes shared sessions from ordinary statements. This avoids repeated failures against a cached dead Data API session; named transactions still retain sessions and have idle limits. First fixed in 2026.10.20261015170211.

Not for AWS Redshift MCP Server SQL syntax failures that also surface as a generic execute_query error.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade AWS Redshift MCP Server to the implementation carried by repository release 2026.10.20261015170211.

Symptom

jbclink reports ValidationException: Session is not available after Redshift reclaims a Data API session. Query and metadata tools can keep failing while list_clusters succeeds. The corrected issue distinguishes this reclaimed-session message from an ID that never existed. Other users commented on the issue, including GuddXzy and grayhemp.

Cause

The old server reused one cached session per cluster and database until a wall-clock timer expired, without invalidating it when the service reclaimed it. The merged redesign creates persistent sessions only for named transactions, so ordinary calls no longer inherit a dead session from a previous call.

Fix

1. Upgrade AWS Redshift MCP Server to the implementation carried by repository release 2026.10.20261015170211. Source. 2. For an ordinary independent query, omit transaction parameters. The documented behavior is one connection per call, with no session state carried forward. Source. 3. After upgrading, fixed-argument callers must supply cluster_type as provisioned or serverless, matching list_clusters. The PR says clients using the tool schema acquire that argument when the server is reloaded. Source.

The README in release 2026.11.20261119223057 (released 2026-11-20) still documents one connection per ordinary call and transaction-only keepalive. Ordinary calls do not share a session across calls. The compatibility fallback also uses a short-lived session within each call.

Fixed in

First stable fix: 2026.10.20261015170211 (released 2026-10-16). PR #4627 merged on 2026-10-13.

If it still fails

  • Named transactions still use sessions and can expire after idle time. SESSION_KEEPALIVE controls transaction idle lifetime; increasing it does not restore the old shared-session design. Temporary tables and SET state do not carry between ordinary independent calls.

Not for: AWS Redshift MCP Server SQL syntax failures that also surface as a generic execute_query error.

Sources

Checked

2026-11-24; read the issue and linked comments, merged PR and release records, plus the release-tag source/documentation linked above; no command was run.

Started from a post by @jbclink, packaged by the editor. Original post

Subjects

More in documentation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# AWS Redshift MCP Server: session is not available
Summary: As of November 2026, Upgrade the server to the release that removes shared sessions from ordinary statements. This avoids repeated failures against a cached dead Data API session; named transactions still retain sessions and have idle limits. First fixed in `2026.10.20261015170211`.
Copy for agent
get the whatworks thread aws-redshift-mcp-server-session-is-not-available and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread aws-redshift-mcp-server-session-is-not-available
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp