Slack To Laptop
FreeNot checkedEnables Claude Code to interact with Slack via MCP tools, allowing thinking steps, text streaming, status updates, and stream closure in Slack threads.
About
Enables Claude Code to interact with Slack via MCP tools, allowing thinking steps, text streaming, status updates, and stream closure in Slack threads.
README
One long-lived local process, three hats: Slack @mention listener (Socket Mode),
remote HTTP MCP server that Claude Code worktree jobs call to drive the native
Slack stream, and SwiftBar menubar status.
threadTs is the correlation key: the worktree job only ever knows threadTs;
this process maps it to the real Slack stream id in memory.
Slack app (one-time)
- https://api.slack.com/apps → Create New App → From scratch.
- Agents & AI Apps feature → toggle ON (grants
assistant:write, required for streams + setStatus). - Socket Mode → ON → create app-level token with scope
connections:write→ that'sappToken(xapp-…). - OAuth & Permissions → bot scopes:
app_mentions:read,chat:write,assistant:write. - Event Subscriptions → subscribe to bot event
app_mention. - Install to workspace →
botToken(xoxb-…). Invite the bot to your channel:/invite @YourApp.
Note: Slack docs say setStatus is migrating from assistant:write to chat:write — both scopes above cover either.
Run
mkdir -p ~/.config/slack-trigger
cp config.example.json ~/.config/slack-trigger/config.json
# fill botToken + appToken
bun run server.ts
allowedUserIds (Slack user IDs): when non-empty, only those users can trigger
jobs — anyone else gets a threaded "only
With jobCommand: null, mentioning the bot runs a smoke demo: instant thinking
checklist, two task cards ticking, "hi", stream closed. That validates the whole
Slack side before wiring any jobs.
Wire real jobs
Set jobCommand in the config — a zsh command run per mention with env:
| var | value |
|---|---|
SLACK_THREAD_TS |
correlation token — pass to every MCP tool call |
SLACK_CHANNEL |
channel id |
SLACK_PROMPT |
mention text, bot mention stripped |
SLACK_EVENT_TS |
unique per mention — use for the worktree name |
SLACK_MCP_URL |
http://127.0.0.1:8365/mcp |
Example: "jobCommand": "cd ~/projects/teetsh && g wtc \"slack-$SLACK_EVENT_TS\" --no-linear \"/go slack-ta $SLACK_PROMPT\""
Connect the worktree's Claude to the MCP (once, user scope):
claude mcp add --transport http --scope user slack-stream http://127.0.0.1:8365/mcp
MCP tools
All take threadTs (from SLACK_THREAD_TS):
thinking_step({threadTs, title, status, id?, details?})— task card;status ∈ pending|in_progress|complete|error; sameid/title updates the cardappend_text({threadTs, markdown})— stream proseset_status({threadTs, text})— grey "is …" line;""clearsfinish({threadTs, markdown?})— final block + close stream. Call exactly once, last.
A job that dies without finish gets swept: streams idle > staleStreamMinutes are stopped and cleared.
GET /healthz lists active streams.
SwiftBar
cp swiftbar/slack-to-laptop.sh ~/Library/Application\ Support/SwiftBar/Plugins/ # or your plugin dir
chmod +x .../slack-to-laptop.sh
Streamable plugin: SwiftBar owns the process lifecycle; menubar shows 🛰️ + active
stream count. Don't also run bun run server.ts manually (port collision).
Test from a terminal first: ./swiftbar/slack-to-laptop.sh — you should see
blocks separated by ~~~. Logs: ~/.cache/slack-to-laptop/server.log.
Installing Slack To Laptop
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ArnaudRinquin/slack-to-laptopFAQ
Is Slack To Laptop MCP free?
Yes, Slack To Laptop MCP is free — one-click install via Unyly at no cost.
Does Slack To Laptop need an API key?
No, Slack To Laptop runs without API keys or environment variables.
Is Slack To Laptop hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Slack To Laptop in Claude Desktop, Claude Code or Cursor?
Open Slack To Laptop on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Slack To Laptop with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
