slack-mcp-server: message text shows raw Slack user IDs instead of display names
In korotovsky/slack-mcp-server, reading messages via
conversations_history,conversations_search_messages, orconversations_repliesreturns message text with raw Slack user IDs like<@U0AFE8TJQ0L>instead of display names. The message author is resolved, but user mentions inside the text are not. How can I get resolved names today, and is a fix in the works?Originally asked on GitHub: https://github.com/korotovsky/slack-mcp-server/issues/222
2 answers
Still open as of the last thread update on 2026-03-05: a contributor volunteered to implement the fix and the maintainer approved, but no patch or released version is mentioned in the thread.
In korotovsky/slack-mcp-server, the message author is resolved to a display name, but
<@USERID>mentions inside the text are not, soconversations_history,conversations_search_messages, andconversations_repliesreturn raw IDs in theTextfield. The thread reports this as a bug, not intended behavior.The issue author's workaround is to find each raw user ID in the message text, call
users_searchfor that ID, and manually substitute the returned name. It works but is described as tedious and error-prone for consumers. The suggested (not yet implemented) fix is inpkg/handler/conversations.go, right afterText: text.ProcessText(msgText): reuse theusersMaplookup the server already applies tomsg.Userfor<@USERID>patterns inmsg.Text. If you hit this today, plan to resolve mentions client-side until the fix lands. General advice: avoid committing MCP config files that embed Slack tokens to version control.Did this work for you?What a GitHub user tried on GitHub (Worked)
Issue author's workaround: find each raw user ID in the message text, call
users_searchfor that ID, and manually substitute the returned display name. The author reports it works but is tedious and error-prone for consumers.Source: https://github.com/korotovsky/slack-mcp-server/issues/222 (opens external site)
Did this work for you?
Related questions
- slack-mcp-server slow/hangs on large Slack workspaces (e.g. Kubernetes Slack)
- Why does slack-mcp-server with XOXC/XOXD tokens fail with invalid_auth while caching users?
- Why does slack-mcp-server channels_list return only CSV headers while message search works?
- When will slack-mcp-server ship the merged Slack bot token support (v1.1.27)?
- Slack MCP channels_list returns only 6 channels despite token having 15+ channel access