Gmail MCP connector: get_thread fails with "session expired" while search_threads succeeds

Open 💬 0 comments Opened Jul 2, 2026 by mariyaj-sudo

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude AI Gmailコネクタで、search_threadsは正常に結果を返すが、
get_threadを呼ぶと毎回 "MCP server 'claude.ai Gmail' session expired" エラーになる。

環境:

  • Claude Code (VSCode拡張機能)
  • claude.aiのコネクタ設定でGmailは "Connected" と表示されている

試したこと(効果なし):

  • claude.aiの接続設定でGmailを一度切断→再接続
  • 新しいチャットセッションを開始
  • 上記いずれも症状は変わらず、get_threadだけ毎回失敗する

What Should Happen?

GmailMCPが問題なく接続されること、再起動でリフレッシュして接続ができること

Error Messages/Logs

Claude AI Gmail [get_thread]
OUT
MCP server "claude.ai Gmail" session expired

Steps to Reproduce

  1. claude.ai Gmail コネクタを接続する
  2. search_threads で特定の送信者のメールを検索 → 成功する(スレッドIDが返る)
  3. そのスレッドIDでget_threadを呼ぶ → "session expired" エラー

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.197 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗