Skip to content

/mcp reconnect should refresh both local and remote (cloud routine) connectors #58130

Description

@a-hafford

Summary

When a user runs /mcp in the Claude Code CLI to reconnect an MCP server (e.g., Slack), it only refreshes the local OAuth token. The remote connector registered at claude.ai/customize/connectors — used by cloud routines (CCR) — is a separate OAuth registration and is not updated.

This means users who reconnect an MCP locally still have broken cloud routines until they separately navigate to claude.ai/customize/connectors and reconnect there too.

Expected behavior

/mcp reconnect (or an equivalent CLI command) should also refresh the corresponding remote connector token so both local sessions and cloud routines stay in sync.

Current behavior

  • Local: /mcp refreshes token → local session works
  • Remote: cloud routine connector token remains stale → invalid_auth_token errors in scheduled routines

Steps to reproduce

  1. Have a Slack MCP connector set up both locally and as a remote connector for a cloud routine
  2. Let the Slack token expire
  3. Run /mcp to reconnect Slack in the CLI
  4. Trigger a cloud routine that uses Slack → still fails with invalid_auth_token
  5. Must separately go to claude.ai/customize/connectors to fix the remote connector

Why this matters

Users operating scheduled cloud routines depend on remote connectors staying valid. When a token expires, the fix is non-obvious (two separate places to reconnect) and the failure is silent — the routine fires on schedule but produces no output.

Suggested fix

Link local MCP reconnections to their corresponding remote connector registrations, or at minimum surface a warning in the CLI when a local reconnect doesn't cover a paired remote connector.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcparea:routinesClaude Code routines on web, used for scheduled tasks, webhook-triggered tasks, etc.enhancementNew feature or requeststaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions