Slack Note Capture MCP Server
Enables two-way communication with Slack, allowing users to post messages, interact with message threads, search channel history, and poll for replies within specific threads.
Click on "Deploy 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 Note Capture MCP Server Post 'Deployment ready?' to Slack and wait for my reply"
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 Note Capture MCP Server
A Model Context Protocol (MCP) server that enables two-way communication between Claude Code and Slack. Post messages, read threads, and wait for user replies — enabling remote conversations when you're away from your machine.
New to MCP servers? See QUICKSTART.md for step-by-step setup instructions with screenshots-style guidance.
Prerequisites
Node.js 18+ — nodejs.org
Claude Code — Anthropic's CLI tool (claude.ai/claude-code)
Slack workspace — Free plan works; you need permission to install apps
Features
Two-way conversations — Claude asks questions via Slack, you reply from your phone
Thread support — Post to threads and read thread replies
Wait for replies — Poll threads until you respond (configurable timeout)
Channel operations — Read history, search messages, list channels
File handling — Get file info and download shared files
Use Cases
Remote Conversations
Claude asks a question via Slack, you reply from your phone, Claude continues working.
Task Notifications
Claude posts completion updates to a Slack channel so you know when work is done.
Note Capture
Send ideas, links, and voice notes to Slack for Claude to process later.
Async Workflows
Start a task, go about your day, get notified when input is needed.
Installation
git clone https://github.com/larrygmaguire-hash/slack-note-capture.git
cd slack-note-capture
npm installSlack App Setup
Detailed instructions: See QUICKSTART.md for step-by-step guidance with explanations.
Go to api.slack.com/apps → Create New App → From scratch
Name your app (e.g.,
Claude Assistant) and select your workspaceGo to OAuth & Permissions and add these Bot Token Scopes:
Scope | Purpose |
| Read messages from public channels |
| List channels |
| Post messages |
| Access shared files |
| Read messages from private channels (optional) |
| List private channels (optional) |
Click Install to Workspace and authorise
Copy the Bot User OAuth Token (starts with
xoxb-)Create a channel for Claude and get its Channel ID (right-click channel → View details → scroll to bottom)
Invite the bot:
/invite @YourAppNamein the channel
Configuration
Tool Permissions (Required)
By default, Claude Code prompts for approval each time an MCP tool is used. For Slack tools to work without interruption (especially slack_wait_for_reply which blocks execution), you must pre-approve them.
Add to ~/.claude/settings.local.json:
{
"permissions": {
"allow": [
"mcp__slack-note-capture__slack_read_messages",
"mcp__slack-note-capture__slack_post_message",
"mcp__slack-note-capture__slack_post_to_thread",
"mcp__slack-note-capture__slack_read_thread",
"mcp__slack-note-capture__slack_wait_for_reply",
"mcp__slack-note-capture__slack_get_file",
"mcp__slack-note-capture__slack_download_file",
"mcp__slack-note-capture__slack_list_channels",
"mcp__slack-note-capture__slack_search_messages"
]
}
}Alternative (VSCode): When prompted for tool approval, select "Yes, allow for this project (just you)" — this persists the permission in ~/.claude.json.
Important: Restart Claude Code after changing permissions.
Environment Variables
Variable | Required | Description |
| Yes | Bot User OAuth Token from your Slack app |
| No | Default channel ID for operations |
Claude Code Configuration
Add to your ~/.claude.json:
{
"mcpServers": {
"slack-note-capture": {
"type": "stdio",
"command": "node",
"args": ["/path/to/slack-note-capture/src/index.js"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-token-here",
"SLACK_CHANNEL_ID": "C0123456789"
}
}
}
}Available Tools
slack_post_message
Post a message to a channel. Returns the message timestamp (ts) for thread operations.
{
channel_id: "C0123456789", // optional, uses default if not provided
text: "Hello from Claude!"
}slack_post_to_thread
Reply to an existing message thread.
{
channel_id: "C0123456789", // optional
thread_ts: "1234567890.123456", // required - parent message timestamp
text: "This is a thread reply"
}slack_read_thread
Read all replies in a thread. Useful for checking responses to your messages.
{
channel_id: "C0123456789", // optional
thread_ts: "1234567890.123456" // required
}slack_wait_for_reply
The key tool for remote conversations. Posts a message and polls for a user reply.
{
channel_id: "C0123456789", // optional
message: "I need your input on X. Please reply in this thread.",
poll_interval_seconds: 30, // default: 30
timeout_minutes: 15 // default: 15
}Or monitor an existing thread:
{
thread_ts: "1234567890.123456",
poll_interval_seconds: 30,
timeout_minutes: 15
}Returns either:
Success with the user's reply text
Timeout with a hint to check manually later
slack_read_messages
Read recent messages from a channel.
{
channel_id: "C0123456789", // optional
days_back: 7, // default: 7
limit: 100 // default: 100
}slack_list_channels
List available channels to find channel IDs.
{
types: "public_channel,private_channel" // default
}slack_search_messages
Search for messages containing specific text.
{
query: "workshop idea",
channel_id: "C0123456789" // optional but recommended
}slack_get_file
Get information about a shared file.
{
file_id: "F0123456789"
}slack_download_file
Download a file to local storage.
{
file_id: "F0123456789",
save_path: "/path/to/save/file.pdf"
}Example: Remote Question/Answer
Claude: I'm working on the report but need to know which format you prefer.
Let me ask you via Slack so you can respond from your phone.
[Claude calls slack_wait_for_reply with question about format]
[User receives Slack notification on phone]
[User replies in thread: "PDF please"]
[Claude receives reply and continues work]Example: Task Completion Notification
When Claude finishes a task, it posts a summary to Slack:
Claude: [completes grading 15 assignments]
Let me notify you that the task is complete.
[Claude calls slack_post_message: "✓ Grading complete — 15 assignments processed, feedback docs saved to Google Drive"]
[User receives notification on phone]This is useful for long-running tasks where you've stepped away from your machine.
Finding Channel IDs
Channel IDs are not the same as channel names. To find a channel ID:
Use the
slack_list_channelstool, orIn Slack: right-click a channel → "View channel details" → scroll to bottom
Channel IDs look like: C0A9WLH9KH9 (public) or G0A9WLH9KH9 (private)
Troubleshooting
"not_in_channel" error
The bot needs to be added to the channel. In Slack, type /invite @YourBotName in the channel.
Thread replies not appearing
Make sure you're replying in the thread, not as a new message in the channel. In Slack mobile, tap the message first, then reply.
Timeout on wait_for_reply
The default timeout is 15 minutes. Increase with timeout_minutes, or call slack_read_thread later to check manually.
MCP not loading
Check
~/.claude.jsonsyntax is valid JSONRestart Claude Code / VS Code
Verify the path to
index.jsis correct
Testing Your Setup
After configuration, restart Claude Code and test:
List my Slack channelsIf successful, you'll see your workspace channels. Then test posting:
Post "Hello from Claude!" to my Slack inboxCheck your Slack channel for the message. For full testing steps including the reply feature, see QUICKSTART.md.
Security Notes
Never commit your
SLACK_BOT_TOKENto gitThe token is stored in
~/.claude.jsonwhich is machine-specificEach machine needs its own configuration
Version History
2.0.0 — Added two-way communication:
slack_read_thread,slack_post_to_thread,slack_wait_for_reply1.0.0 — Initial release: basic read/post/file operations
Licence
MIT
Available Tools
9 toolsslack_download_fileB
Download a file from Slack and save it to the specified path.
Inputs: file_id (required), save_path (required).
slack_get_fileA
Get information about a file shared in Slack, including download URL. Use this to retrieve voice notes and documents.
Inputs: file_id (required).
slack_list_channelsA
List available Slack channels. Use this to find channel IDs.
Inputs: types.
slack_post_messageA
Post a message to a Slack channel. Returns the message timestamp (ts) which can be used to read thread replies later.
Inputs: text (required), channel_id.
slack_post_to_threadB
Post a reply to an existing message thread. Use this to continue a conversation in a thread.
Inputs: thread_ts (required), text (required), channel_id.
slack_read_messagesA
Read messages from a Slack channel. Returns messages from the last N days or since a specific timestamp. Use this to pull captured content from the inbox.
Inputs: channel_id, days_back, oldest, limit.
slack_read_threadA
Read all replies in a message thread. Use this to check for user responses to a message you posted.
Inputs: thread_ts (required), channel_id.
slack_search_messagesC
Search for messages containing specific text or hashtags.
Inputs: query (required), channel_id.
slack_wait_for_replyA
Poll a thread waiting for a user reply. Posts an initial message if provided, then polls until a non-bot reply appears or timeout is reached. Use this when you need to ask the user a question and wait for their response via Slack.
Inputs: channel_id, thread_ts, message, poll_interval_seconds, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose with no overlap: downloading files, getting file info, listing channels, posting messages, replying in threads, reading messages, reading threads, searching messages, and waiting for replies. The descriptions reinforce these distinctions, making misselection unlikely.
All tools follow a consistent 'slack_verb_noun' pattern (e.g., slack_download_file, slack_post_message). This predictability helps agents easily understand and navigate the toolset without confusion from mixed conventions.
With 9 tools, this server is well-scoped for Slack note capture, covering essential operations like reading, posting, searching, and file handling. Each tool serves a clear purpose without bloat or redundancy.
The toolset provides complete coverage for the Slack note capture domain, including CRUD-like operations (post/read messages), file management, channel listing, search, and interactive features like waiting for replies. No obvious gaps exist for the stated purpose.
Related MCP Connectors
Enable interaction with Slack workspaces. Supports subscribing to Slack events through Resources.
Chat with your AI agents from Slack: each gets a thread in your DM, and your replies there wake it.
Hosted Slack MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Use Slack from chat: see channels, catch up on messages, post updates, and reply in threads in your…