Slack Notifier MCP Server
Allows querying, filtering, and managing Slack message notifications received via Slack's Socket Mode.
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 Notifier MCP Servershow my latest unread notifications"
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 Notifier MCP Server
An MCP server that connects to Slack via Socket Mode (WebSocket) and surfaces real-time message notifications through MCP tools. No public URL or ngrok needed.
How It Works
This server runs two things simultaneously in a single process:
Slack Socket Mode client — connects outbound to Slack over WebSocket and receives events in real time
MCP server (stdio) — exposes tools to query, filter, and manage those notifications
When someone posts a message in Slack, the Socket Mode connection pushes the event to your server. The server stores it in memory (with optional disk persistence), and you can query it via the MCP tools.
Related MCP server: Slack Notify MCP
Setup
1. Create a Slack App
Go to api.slack.com/apps and click Create New App → From scratch
Name it something like "Message Notifier" and pick your workspace
2. Enable Socket Mode
Go to Settings → Socket Mode and toggle it On
You'll be prompted to create an App-Level Token — name it something like "socket-mode-token"
Give it the
connections:writescopeCopy the token (starts with
xapp-) — this is yourSLACK_APP_TOKEN
3. Subscribe to Events
Go to Features → Event Subscriptions and toggle it On
Under Subscribe to bot events, add:
message.channels— messages in public channelsmessage.groups— messages in private channelsmessage.im— direct messagesmessage.mpim— group direct messages
Save changes
4. Add Bot Token Scopes
Go to Features → OAuth & Permissions
Under Bot Token Scopes, add:
channels:history— read messages in public channelsgroups:history— read messages in private channelsim:history— read direct messagesmpim:history— read group DMs
Install (or reinstall) the app to your workspace
5. Invite the Bot
Invite your bot to the channels you want to monitor:
/invite @Message Notifier6. Configure the MCP Server
Add this to your Claude Desktop / Claude Code MCP config:
{
"mcpServers": {
"slack-notifier": {
"command": "node",
"args": ["/path/to/slack-notifier-mcp-server/dist/index.js"],
"env": {
"SLACK_APP_TOKEN": "xapp-1-your-token-here",
"PERSIST_PATH": "/path/to/notifications.json"
}
}
}
}Environment Variables
Variable | Required | Default | Description |
| Yes | — | App-level token ( |
| No | — | File path to persist notifications across restarts |
Available MCP Tools
slack_get_notifications
Retrieve stored message notifications with filtering:
Filter by channel, read status, time range
Pagination support
Returns newest messages first
slack_mark_notifications_read
Mark notifications as read:
By specific IDs
All at once (optionally per-channel)
slack_notification_stats
Get a summary of notification counts grouped by channel — total and unread per channel.
slack_clear_notifications
Permanently delete all stored notifications (requires confirmation).
Building
npm install
npm run buildRunning
SLACK_APP_TOKEN=xapp-1-... npm startThe server will connect to Slack via Socket Mode and start the MCP stdio server simultaneously.
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-notifier-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server