anthropics / anthropics/knowledge-work-plugins

Slack MCP Server Authentication issue

未关闭
#21 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
24k
派生
2.9k
平均合并
1 天 16 小时
30 天内合并 PR
149

描述

## Issue Summary

The Slack MCP server provided by the `productivity` plugin fails to authenticate with error: **"Incompatible auth server: does not support dynamic client registration"**

## Error Details

When attempting to authenticate with the Slack MCP server through the Claude Code, the following error occurs:

```
Plugin: productivity:slack MCP Server
Status: ✘ failed
Auth: ✘ not authenticated
URL: https://mcp.slack.com/mcp
Config location: Dynamically configured

Error: Incompatible auth server: does not support dynamic client registration
```

## Configuration

### Current Slack MCP Configuration
```json
{
"mcpServers": {
"slack": {
"type": "http",
"url": "https://mcp.slack.com/mcp"
}
}
}
```

## Root Cause

Slack's OAuth server does not support **Dynamic Client Registration (DCR)**, which Claude Code appears to attempt by default for HTTP-based MCP servers. Slack requires pre-registered OAuth applications with explicit client credentials.

## Expected Behavior

One of the following should occur:

1. **Plugin pre-configuration:** The productivity plugin should either:
- Include pre-registered OAuth credentials for Slack
- Detect DCR incompatibility and guide users through manual OAuth setup
- Provide clear documentation on setting up OAuth credentials

2. **Graceful fallback:** Claude Code should detect when DCR is not supported and:
- Prompt the user to register an OAuth app
- Provide step-by-step instructions
- Offer to add the credentials via CLI

3. **Better error messaging:** The error should explain:
- Why authentication failed
- What the user needs to do
- Link to documentation or setup guide

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。