anthropics / anthropics/claude-code

[BUG] Slack MCP draft messages do not format lists, while sent messages do

Offen
#93,026 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:mcp bug platform:macos
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?

Slack connector: `slack_send_message_draft` flattens all list formatting; `slack_send_message` does not.
Any draft-for-human-review workflow loses list formatting, forcing manual re-formatting before sending.

- Feedback ID: 59cbd311-43de-4edc-8953-1a06f469ccfc

**Errors**
Draft renders literal "•" text characters (numbered lists also flatten). Passing a Block Kit {"blocks":[...]} payload as the message string renders as literal JSON.

### What Should Happen?

Draft should contain a native Slack bulleted list, like the sent message does.

### Steps to Reproduce

1. have a Slack MCP setup
2. Call `slack_send_message_draft` tool with markdown: `- item one\n- item two`. You can just ask Claude to "send `- item one\n- item two` to myself as a draft Slack message.
3. Look at Slack and note that the draft message only shows raw unicode bullets, not a real list. You can easily see it by editing the draft to add a real list below; the alignment isn't the same.

### Claude Model

Other

### Is this a regression?

No, this never worked

### Last Working Version

_No response_

### Claude Code Version

2.1.236

### Platform

Anthropic API

### Operating System

macOS

### Terminal/Shell

iTerm2

### Additional Information

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with the `slack_send_message_draft` MCP tool and reproduce the markdown list behavior described in the issue, then compare it with `slack_send_message`. Trace how each tool converts message content for Slack and verify that draft output preserves bulleted and numbered lists as native Slack formatting rather than literal bullets or JSON.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.