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_KEEPALIVEcontrols transaction idle lifetime; increasing it does not restore the old shared-session design. Temporary tables andSETstate 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
redshift-mcp-server: dead Data API session is never invalidated — every query tool fails for the remainder of the 10-minute cache window, jbclink, opened 2026-09-04; closed as completed on 2026-10-13: "ValidationException: Session is not available"- Issue comment, GuddXzy, 2026-09-05; parent issue closed as completed on 2026-10-13.
- Issue comment, grayhemp, 2026-09-09; parent issue closed as completed on 2026-10-13.
- feat(redshift-mcp-server): opt-in read-write mode and named transactions, grayhemp; merged 2026-10-13 (closed).
- 2026.10.20261015170211, published 2026-10-16.
- 2026.11.20261119223057, published 2026-11-20.
- Release-tag source or documentation, read 2026-11-24.
- Release-tag source or documentation, read 2026-11-24.
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