slack-user-mcp-server
Provides tools for searching messages, reading channel history, posting messages, looking up users, and reading threads using a user token (xoxp-), allowing full access to the Slack workspace.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@slack-user-mcp-serversearch my recent messages"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Slack User MCP Server
A personal MCP (Model Context Protocol) server that connects to Slack using your user token (xoxp-...), giving AI agents full access to your workspace — including message search, channel history, DMs, and posting as yourself.
Unlike bot-token-based Slack integrations, this server acts as you, so it can access any channel you're a member of (including private channels and DMs) and use the Slack search API.
Features
Search messages — Full Slack search syntax (
from:me,in:#channel,has:link, date filters, etc.)Channel history — Read messages from any channel, DM, or group message you're in
Post messages — Send messages as yourself (not as a bot)
User lookup — Find users by name or email
Thread reading — Fetch all replies in a thread
Auth verification — Confirm your connection and identity
Related MCP server: Slack MCP Server
Tools
Tool | Description |
| Search messages with Slack query syntax |
| List channels (public, private, DMs) |
| Read recent messages from a channel |
| Send a message as yourself |
| Find users by name or email |
| Get detailed user profile by ID |
| Read all replies in a thread |
| Verify your connection |
Setup
1. Create a Slack App and Get a User Token
Go to api.slack.com/apps and create a new app From scratch
Under OAuth & Permissions, add these User Token Scopes:
search:readchannels:read,channels:historygroups:read,groups:historyim:read,im:historympim:read,mpim:historyusers:read,users:read.emailchat:write
Install the app to your workspace
Copy the User OAuth Token (starts with
xoxp-)
2. Install Dependencies and Build
cd slack-user-mcp-server
npm install
npm run build3. Connect to Claude Desktop
Add this to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"slack-personal": {
"command": "node",
"args": ["/path/to/slack-user-mcp-server/dist/index.js"],
"env": {
"SLACK_USER_TOKEN": "xoxp-your-token-here"
}
}
}
}Note: If you use a Node version manager like
fnmornvm, use the full path tonodeinstead of just"node". Find it withfnm exec --using=default -- which nodeornvm which default.
4. Restart Claude Desktop
Quit and reopen Claude Desktop. The server will appear in your MCP connections.
Example Queries
Once connected, you can ask your AI assistant things like:
"Search for my recent Slack messages" — uses
from:me"What's the latest in #general?" — channel history
"Find messages about the Q1 budget" — full-text search
"Who is on the marketing team?" — user lookup
"Send a message to #general saying the build is green" — post as yourself
Search Syntax
The search tool supports all Slack search modifiers:
Modifier | Example | Description |
|
| Messages from a user |
|
| Messages in a channel |
|
| Filter by attributes |
|
| Date range |
|
| Threaded messages only |
Tech Stack
TypeScript
Slack Web API (via fetch)
Zod for input validation
stdio transport
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/farsght/slack-user-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server