BUG: Scheduled triggers cannot access MCP connectors in remote sessions

Resolved 💬 3 comments Opened Apr 3, 2026 by maee-co-legacy Closed Apr 5, 2026

概要

スケジュールトリガー(CCR triggers)でリモートセッションが起動された際、mcp_connections で設定した MCP コネクタ(Gmail, Google Calendar, Notion, Slack)がセッション内で利用できません。

再現手順

  1. claude.ai の Settings > Connectors で Gmail / Google Calendar / Notion / Slack を接続(すべて "Connected" 状態)
  2. リモートトリガーを作成し、mcp_connections に上記コネクタを設定
  3. トリガーを手動実行(run)または cron スケジュールで自動実行
  4. リモートエージェントが ToolSearch で MCP ツールを検索するが、すべて「未接続」と表示される

期待される動作

mcp_connections で設定したコネクタのツール(gcal_list_calendars, gmail_search_messages, notion-search, slack_send_message 等)がリモートセッション内で利用可能になる。

実際の動作

  • すべての MCP ツールが「未接続」状態
  • Notion のみ「接続中と表示されたが取得不可」というケースあり
  • エージェントは MCP を必要としない処理(Bash, Read, WebSearch 等)は正常に実行可能

環境

  • トリガー作成方法: Claude Code CLI の RemoteTrigger API
  • 環境: anthropic_cloud (env_01CCzTdXdeXkTaNUouAQrT9w)
  • モデル: claude-sonnet-4-6
  • コネクタ: Gmail, Google Calendar, Notion, Slack(すべて claude.ai で Connected)

トリガー設定例

"mcp_connections": [
  {"connector_uuid": "...", "name": "Google-Calendar", "permitted_tools": [], "url": "https://gcal.mcp.claude.com/mcp"},
  {"connector_uuid": "...", "name": "Gmail", "permitted_tools": [], "url": "https://gmail.mcp.claude.com/mcp"},
  {"connector_uuid": "...", "name": "Notion", "permitted_tools": [], "url": "https://mcp.notion.com/mcp"},
  {"connector_uuid": "...", "name": "Slack", "permitted_tools": [], "url": "https://mcp.slack.com/mcp"}
]

試したこと

  • clear_mcp_connections → 再設定: 効果なし
  • 手動実行(run): 同じエラー
  • connectors の再認証: すべて Connected だが効果なし

関連 Issue

  • #35899 (同様の報告)
  • #36327 (Slack MCP、#35899 の duplicate)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗