claude-code - 💡(How to fix) Fix Slack MCP OAuth server silently drops from available MCPs when token expires [4 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48566Fetched 2026-04-16 06:56:32
View on GitHub
Comments
4
Participants
3
Timeline
10
Reactions
0
Timeline (top)
labeled ×5commented ×4closed ×1

The Slack MCP server (provided by the slack@claude-plugins-official plugin) intermittently disappears from the list of available MCP tools during a session. The only reliable workaround is logging out and logging back in, which forces a fresh OAuth flow.

Error Message

The Slack MCP server silently drops off the available MCP list. No error is shown, no re-auth prompt appears — the Slack tools just stop being listed. Logging out and back in resolves the issue until the token expires again.

Root Cause

The Slack MCP server (provided by the slack@claude-plugins-official plugin) intermittently disappears from the list of available MCP tools during a session. The only reliable workaround is logging out and logging back in, which forces a fresh OAuth flow.

Fix Action

Fix / Workaround

The Slack MCP server (provided by the slack@claude-plugins-official plugin) intermittently disappears from the list of available MCP tools during a session. The only reliable workaround is logging out and logging back in, which forces a fresh OAuth flow.

RAW_BUFFERClick to expand / collapse

Summary

The Slack MCP server (provided by the slack@claude-plugins-official plugin) intermittently disappears from the list of available MCP tools during a session. The only reliable workaround is logging out and logging back in, which forces a fresh OAuth flow.

Expected behavior

When the Slack MCP OAuth token expires, Claude Code should either:

  1. Auto-refresh the token silently (as documented), or
  2. Prompt for re-authentication

Actual behavior

The Slack MCP server silently drops off the available MCP list. No error is shown, no re-auth prompt appears — the Slack tools just stop being listed. Logging out and back in resolves the issue until the token expires again.

Reproduction steps

  1. Install the slack@claude-plugins-official plugin
  2. Authenticate via OAuth when prompted
  3. Use Slack MCP tools normally
  4. After some time (hours/days), the Slack MCP tools disappear from the available tools list
  5. Logout and login to Claude Code — Slack MCP reappears

Environment

  • Claude Code version: 2.1.92 (updated to 2.1.109, not yet confirmed if resolved)
  • OS: macOS 26.3.1 (arm64)
  • Plugin: slack@claude-plugins-official v1.0.0
  • MCP config: OAuth HTTP server at https://mcp.slack.com/mcp

Additional context

The Slack plugin's .mcp.json configures an OAuth-based HTTP MCP server. The token refresh mechanism appears to fail silently rather than triggering re-authentication. Other OAuth MCP plugins (Asana, Atlassian) may also be affected but I've only observed it consistently with Slack.

extent analysis

TL;DR

The Slack MCP server disappearance issue may be resolved by modifying the OAuth token refresh mechanism in the slack@claude-plugins-official plugin to handle token expiration more robustly.

Guidance

  • Investigate the token refresh logic in the slack@claude-plugins-official plugin to ensure it correctly handles token expiration and triggers re-authentication when necessary.
  • Verify that the OAuth HTTP server at https://mcp.slack.com/mcp is correctly configured and responding as expected.
  • Consider adding error handling and logging to the plugin to detect and report token refresh failures.
  • Test the issue with other OAuth MCP plugins (e.g., Asana, Atlassian) to determine if the problem is specific to the Slack plugin or a more general issue.

Example

No code snippet is provided due to the lack of specific implementation details in the issue.

Notes

The issue may be related to the OAuth token refresh mechanism, but without more information about the plugin's implementation, it's difficult to provide a more specific solution. The problem may also be affected by the Claude Code version, as the issue is not yet confirmed to be resolved in version 2.1.109.

Recommendation

Apply a workaround by modifying the slack@claude-plugins-official plugin to handle token expiration more robustly, as the root cause of the issue is likely related to the token refresh mechanism.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

When the Slack MCP OAuth token expires, Claude Code should either:

  1. Auto-refresh the token silently (as documented), or
  2. Prompt for re-authentication

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING