labelhead-artist-momentum
Trending hip-hop artist momentum scores across four cultural dimensions.
PApaperclipai/paperclip119k近 7 天新增 2,120 个 star
Catch up on Slack without reading it. Unreads, threads, search. Browser-session or hosted OAuth.
Unreads, threads, and search — in your agent’s context, from the session you already have.
No Slack app. No admin queue. No Business+ invoice.
Copied whole by two projects. Republished on npm by a third.
That is what the MIT licence is for.
Set it up, then register it with your client.
npx -y @jtalk22/slack-mcp --setup
claude mcp add slack -- npx -y @jtalk22/slack-mcp
Or add it in one click. On macOS with Slack signed in to Chrome, the server reads that session on its first call, so the click is the whole install.
Check where your credentials are stored and how old they are, or run it read-only so your agent can read Slack but never post.
npx -y @jtalk22/slack-mcp --doctor --security
npx -y @jtalk22/slack-mcp --read-only
On Enterprise Grid, Slack can end a session it sees being automated. Use Slack's official MCP server there.
Claude Code Claude Desktop Cursor Copilot Windsurf Gemini CLI Codex CLI any stdio MCP client
What’s new in 5.3 · ▶ the whole morning in three minutes · interactive walkthrough · setup guide
Checked against Slack's pricing page on 2026-11-29.
A free workspace keeps 90 days of message history and 10 app integrations. In the AI section of Slack's own pricing table, every row in the Free column is a dash. Pro, at $8.75 per user per month, adds thread and channel summaries and stops there. The AI people actually want — AI search across the workspace, daily recaps, file summaries, Slackbot acting as an agent — starts on Business+ at $18 per user per month ($15 on annual billing). Slack's answer for Free and Pro, on the same page, is "a limited trial experience" of Slackbot. So a ten-person free workspace that wants an AI it can ask about its own Slack is looking at $1,800 a year, and the cheaper upgrade does not get them there.
This package gives that workspace an agent over the same Slack for nothing, running on the AI subscription its people already pay for. Three things follow from how it works:
slack_get_full_conversation writes them out with their threads while they are still inside the window. It cannot retrieve anything already past the line; nothing can.The browser-session route is not a workaround to apologise for. For a workspace Slack's own AI does not serve, it is the only route there is.
Slack's official MCP server is an app your workspace admin approves and controls. Use it when your organisation wants a sanctioned integration. This server uses the browser session already in Chrome instead, so there is no app to install and no admin to ask, and it runs as a local command for any stdio MCP client. It acts as you, with exactly your access.
Already running another Slack MCP server? What carries over, including the token names you already use.
| Slack official MCP | Slack MCP Server — local | |
|---|---|---|
| Starting point | A Slack-managed remote integration | The Slack session already in Chrome |
| Workspace control | Governed by workspace integration settings | No Slack app or admin request for the local path |
| Transport | Streamable HTTP | Local stdio |
| Client surface | Slack's supported partner integrations | Any stdio MCP client |
| Authentication | OAuth | Existing browser session |
| Credential lifetime | Managed OAuth | Rotating session with health checks and refresh |
| Product surface | Broad Slack-native capabilities | 22 tools across read, act, and automate |
| Protocol | Slack-managed | MCP 2026-07-28 and every 2025 revision, from the same binary |
| Runtime | Slack-managed | MIT code on your machine |
Treat browser-session automation as an acceptable-use decision for you and your workspace. The server acts as your signed-in Slack identity and cannot read a channel you cannot read or act as another user. It does not evade server-side retention, DLP, compliance exports, or audit controls.
"No admin request" means there is no Slack app installation to approve. It does not mean workspace activity disappears from Slack's systems. If your policy requires a sanctioned integration, use Slack's official MCP server.
Hand an agent your Slack and keep the pen. The server reads Slack as you. It gets your credential from one of two places, and the browser session is the default.
| Browser session (default) | Your own Slack app | |
|---|---|---|
| What it is | The Slack session already in Chrome | A user token (xoxp-) from a private app you create in your own workspace |
| Setup | --setup, or nothing at all on macOS | --setup app: about two minutes of clicks in Slack |
| Admin approval | None | Some workspaces need an admin to approve a new app |
| Lifetime | Slack rotates it; the server refreshes it on macOS | Does not expire |
| What limits it | Your own access | Your own access and the scopes you gave the app; Slack enforces them |
| Operating systems | Automatic on macOS; elsewhere you paste a token and a cookie | Any |
Start with the session if you want no setup. Choose your own app when the session keeps dying, when you are on Windows or Linux, or when you want Slack itself to hold the line on what an agent may do: the read-only app has no write scope, so a send fails at Slack whatever a model asks for. This was run against a live workspace before 5.3.0 shipped: a reaction attempted with the read-only app came back missing_scope, naming reactions:write, and 44 conversations were read and counted in about 25 seconds.
npx -y @jtalk22/slack-mcp --setup app # a read-only app
npx -y @jtalk22/slack-mcp --setup app --write # adds the scopes the four write tools need
--setup app prints one link that creates the app with its scopes filled in, then the clicks (Create and Install, Allow, copy the User OAuth Token). It reads the token without showing it, checks it with Slack, prints which scopes it was granted and which tools lack one, and stores it where --setup stores a session. To keep it out of storage, set SLACK_MCP_XOXP_TOKEN (or SLACK_TOKEN on its own) to the token in your client's environment. A bot token (xoxb-) is not supported.
What an app token does differently, and cannot do:
slack_conversations_unreads counts them from conversations.info and conversations.history: one call for a DM, two for a channel, for at most 40 conversations by default (max_conversations, up to 100). The answer says how many it checked and how many it did not, and never calls an inbox empty while conversations are unchecked.missing_scope and this server returns the scope to add and reminds you to reinstall the app. slack_health_check lists the tools your token's scopes leave out.slack_refresh_tokens answers "not applicable", and a browser session never replaces a stored app token unless you choose that in --setup.Node 22 or 24 recommended. Node 20+ is supported and CI-tested.
npx -y @jtalk22/slack-mcp --setup
Prefer a persistent CLI: npm install -g @jtalk22/slack-mcp then slack-mcp --setup.
One line per client, where the client has one:
| Client | Add the server |
|---|---|
| Claude Code | claude mcp add slack -- npx -y @jtalk22/slack-mcp |
| Claude Code, as a plugin | /plugin install slack-mcp --marketplace jtalk22/slack-mcp-server |
| Codex CLI | codex mcp add slack -- npx -y @jtalk22/slack-mcp |
| Cursor, VS Code | the buttons at the top of this page |
The plugin adds the same server and updates with each release. On Claude Code before 2.1.275, run /plugin marketplace add jtalk22/slack-mcp-server, then /plugin install slack-mcp@jtalk22.
Then:
--setup prints when it finishes.claude mcp add line it prints.slack_health_check.The first time it succeeds, that answer also says where your credentials are stored, how to move them to the Keychain only, and the command that checks your setup. It says so once per install. A one-click or plugin install never runs the setup wizard, so this is where it learns what the wizard would have asked.
Per-client configuration keys are in the setup guide.
Use the same server command everywhere:
{
"command": "npx",
"args": ["-y", "@jtalk22/slack-mcp"]
}
On macOS, setup can extract from Chrome and persist the selected storage backend. On other platforms, provide SLACK_TOKEN and SLACK_COOKIE through the client's environment configuration. Docker, HTTP, and detailed client examples live in docs/SETUP.md and docs/DEPLOYMENT-MODES.md.
| Client | Configuration surface | Status |
|---|---|---|
| Claude Code | claude mcp add, the slack-mcp plugin, or ~/.claude.json | Documented |
| Claude Desktop | Desktop MCP configuration | Verified |
| Cursor | one-click link or .cursor/mcp.json | Documented |
| GitHub Copilot | one-click link or .vscode/mcp.json | Documented |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | Documented |
| Gemini CLI | ~/.gemini/settings.json | Documented |
| Codex CLI | codex mcp add or ~/.codex/config.toml | Documented |
| Other clients | Any stdio MCP configuration | Protocol-compatible |
Read channels, DMs, threads and search; act with a reply, a reaction or a read-state change; run the catch-up and typed workflows locally. The surface is 22 tools today: 15 read-only operations, 4 write-path tools that each carry an MCP destructive annotation so clients can gate workspace writes, and 3 local workflow tools. One of the reads is slack_session_report, which reads nothing from Slack: it returns what this process has done, as counts. Every tool does its work here — reads Slack or local state — and none is a placeholder for something you would have to pay for. Every tool that takes a channel takes it four ways: an ID, #channel, @handle for the DM with that person, or a Slack message link pasted as it is. A link also carries its timestamp, so "react to this" needs nothing else. Four read tools accept include_rich_message_fields: true to surface attachments, blocks, files, reactions, and metadata—complete inputs and response contracts live in docs/API.md.
Speaks MCP 2026-07-28 and every 2025 revision from the same binary — era-negotiated over stdio, stateless per request over HTTP (no Mcp-Session-Id; GET/DELETE answer 405). The claim is a test, not a sentence: test/mcp-era.test.js drives the real SDK client at both eras against the real entry points.
Advertising fewer tools. Every tool the server advertises sends its schema to the model on every turn, before you ask anything. SLACK_MCP_TOOLS=essentials advertises six (unread, history, search, thread, user lookup, send); SLACK_MCP_TOOLS=read the 15 read-only operations; --tools=slack_x,slack_y an explicit set. The default is all 22. Filtering changes what is advertised, not what is callable.
| Tool | Purpose |
|---|---|
slack_health_check | Verify credentials and workspace identity |
slack_token_status | Inspect credential age, health, cache, profile, and storage state |
slack_refresh_tokens | Refresh local credentials from the browser session on macOS—reads Slack, writes only local state |
slack_list_conversations | List channels and DMs |
slack_conversations_history | Read channel or DM history with optional rich fields |
slack_get_full_conversation | Export complete history and threads |
slack_search_messages | Search across the workspace |
slack_get_thread | Read all replies in a thread |
slack_users_info | Resolve a user |
slack_list_users | Page through large workspace directories |
slack_users_search | Search users by name, display name, or email |
slack_conversations_unreads | Prioritize conversations with unread messages |
slack_session_report | Counts of what this process read, sent and held; reads nothing from Slack |
slack_get_file | Read a file by ID or link: text as text, images as images, a canvas redirected, other binaries as metadata and permalink |
slack_get_canvas | Read a canvas by ID or link as Markdown, text or HTML, with its images listed and optionally embedded |
| Tool | Purpose | MCP safety |
|---|---|---|
slack_send_message | Send to a channel or DM | destructive |
slack_add_reaction | Add an emoji reaction | destructive |
slack_remove_reaction | Remove an emoji reaction | destructive |
slack_conversations_mark | Mark a conversation read | destructive |
| Tool | Purpose |
|---|---|
slack_workflow_save | Save a typed workflow profile to ~/.slack-mcp-workflows.json |
slack_workflows | List saved workflow profiles |
slack_catch_me_up | Read a profile's channels since its cadence window and return structured catch-up evidence |
slack_refresh_tokens reads Slack and writes only local credential state.
Bind a workflow kind to channels, priority people, retention, and cadence. slack_catch_me_up then reads that scope locally and hands your agent the evidence: which threads went unanswered and for how long, what your priority people said or were pinned on, which conversations actually moved. It does the gathering; your agent writes the summary against the contract below.
There is no server-side model in that path, because there does not need to be one — the client calling this server is already a language model. Hosted adds what needs a server: running the same catch-up on a schedule while your laptop is shut.
npx -y @jtalk22/slack-mcp --apply-template oncall-handoff --channels C012345,C067890
| Workflow kind | Contract |
|---|---|
incident_room | {incident_summary, timeline, open_risks, owner_gaps, next_actions} |
exec_brief | {summary, decisions, risks, asks, action_items} |
support_inbox | {open_threads, ack_lag, owner_gaps, escalations, next_actions} |
product_launch_watch | {launch_signals, feedback_themes, blockers, metrics, next_actions} |
custom | {summary, highlights, open_questions, next_actions} |
Six editable templates ship in the package: oncall-handoff, support-triage, exec-monday, sprint-tracker, customer-feedback, and incident-room.
Three playbooks ship with the server, so an agent learns how to use these tools with nothing installed in the client.
slack-catch-up walks the agent through finding or creating the right workflow profile, running slack_catch_me_up, and citing the message behind every line. On a narrowed tool profile it builds the same answer from unreads, history and threads.slack-workflow-profiles covers choosing the kind, channels, priority people and cadence for a profile, or starting from a template.slack-send-safely keeps writes to what you ask for, explains a held send, and points to slack_session_report for what the session did.Clients get them through the MCP Skills extension (SEP-2640: skills/list, skills/get), as skill://<name>/SKILL.md resources, or as prompts of the same name. A playbook is offered only when its tools are, so a read-only server never offers the sending playbook and the essentials profile never offers profile setup.
Add your team's own with SLACK_MCP_SKILLS_DIR=/path/to/skills, a folder of playbook folders that each hold a SKILL.md. They are checked at startup and served beside the bundled ones. An invalid one, or one that reuses a bundled name, is skipped with a warning on stderr. SLACK_MCP_SKILLS=off turns playbooks off.
Every message this server returns becomes text in a model's context, next to your own instructions. Slack is a shared bus: a channel can hold Slack Connect participants from another workspace, guests, and apps relaying content from outside Slack entirely — and the same toolset that reads also writes. That adjacency is the risk worth naming.
Each message carries origin (self, internal, external, bot, unknown) and author_trusted, derived from fields Slack already returns, so it costs no extra API call. bot outranks workspace membership, because an app inside your workspace routinely relays words written outside it. A batch containing outside authors carries an untrusted_content envelope naming the count.
It fails closed: an author this server cannot positively place inside your workspace is reported untrusted. The exception is a conversation Slack reports as not shared with any other workspace — one of those structurally cannot hold an outside author, so a colleague with no team id on their message is called internal rather than unknown. When that lookup fails, the label stays unknown.
SLACK_MCP_PROVENANCE=off|label|strict. label is the default and only adds keys. A per-call provenance argument may tighten the mode and never loosen it, because a caller asking for fewer labels may be repeating something it read.
A label is advice to the model reading it. It is unsigned, it can be stripped by anything downstream, and it raises the cost of an injected instruction without making one impossible.
strict mode additionally holds slack_send_message once the session has read outside-authored text. The hold is released by confirm_untrusted_context, which the caller sets — so it interrupts the send and puts it on the record, but it cannot prove a human approved it.
Two surfaces are still unlabelled, and knowing that is better than assuming otherwise: user display names, real names and titles from the user tools, and channel topics and purposes from slack_list_conversations, are attacker-settable free text that reaches the model without an origin stamp.
npx -y @jtalk22/slack-mcp --read-only # or SLACK_MCP_READ_ONLY=1
The four write-path tools are withheld from tools/list and refused at dispatch, because a client can call a name it was never offered. The filter is applied after the tool profile resolves, so no profile or custom tool list widens it back. An absent tool needs no trust in the model that would have called it.
SLACK_MCP_WRITE_CHANNELS=C0123ABCD,D0456EFGH npx -y @jtalk22/slack-mcp
The four write-path tools act only on the conversations and user IDs listed. A call aimed anywhere else is refused before any request reaches Slack, and slack_session_report counts it. Reading is unaffected. An entry that is not a Slack ID refuses every write and names the entry, so a typo cannot widen the list. --doctor --security shows the list this shell would run with.
slack_session_report returns what this process actually did: messages read (a file or canvas read counts as one), how many were outside-authored and by which origin, writes attempted, writes held, writes refused by the allowlist. Counts only — no message text, no channel name, no user id. A label is a claim about one message; this is the claim about the session, and it is how you check afterwards whether outside text reached the model and whether anything tried to send on the back of it.
npm audit signatures
A clean result means the package you installed was built and signed by this repository's release workflow. Read the code before giving it your Slack session. Full policy: SECURITY.md.
Five parts sit under the tools: extraction from Chrome, credential storage, reads, writes, and typed workflow output. All of it is plain JavaScript in this repository.
--setup turns the Slack identity Chrome already holds into a local MCP server:
xoxc- token in Chrome's on-disk LevelDB;keychain_timeout, no_slack_cookie_row, cookie_decrypt_failed, and more—instead of returning one opaque error.Slack session credentials rotate. The server handles that with:
auto, keychain-only, and file storage backends;Read DMs and channels, search the workspace, export complete histories with threads, inspect unread state, and resolve users. Opt into blocks, attachments, files, reactions, metadata, and bot/app markers when text alone is not the real message. Open a file or a canvas by ID or link with slack_get_file and slack_get_canvas. Text is capped at 200,000 characters and a cut says so; at most ten images of 5 MB each are embedded; a PDF or office file returns its metadata and permalink only. Credentials are sent to Slack hosts only, redirects included. The author of a file or canvas is labelled like the author of a message, and a canvas, which others can edit, is trusted only when it is confirmed not shared with another workspace.
Send a reply, add or remove a reaction, and mark a conversation read. Every write tool carries MCP's destructive annotation, so compatible clients ask before running it.
Save workflow profiles for incident rooms, executive briefs, support inboxes, launch watches, and your own. Profiles are local JSON; the hosted tier can deliver them as scheduled briefs.
The server checks these in order and uses the first it finds.
| Source | Where it comes from | |
|---|---|---|
| 1 | SLACK_TOKEN + SLACK_COOKIE; or an app token (xoxp-) in SLACK_TOKEN or SLACK_MCP_XOXP_TOKEN on its own | your client's environment configuration |
| 2 | Token file | written by --setup, chmod 600 |
| 3 | macOS Keychain | written by --setup |
| 4 | Chrome extraction | macOS only, run on demand |
An app token (xoxp-) is a credential on its own and never takes a cookie. It does not expire, so none of the refresh steps in this section apply to it; see Two ways to connect. Session credentials expire, and how long they last varies: one written on 2026-07-04 still worked on 2026-10-07. slack_token_status shows the age of yours. When Slack rejects it (invalid_auth, not_authed, token_expired, token_revoked, account_inactive or HTTP 401), run npx -y @jtalk22/slack-mcp --setup. On macOS, slack_refresh_tokens or --refresh-tokens refreshes without leaving your client, and the optional LaunchAgent in docs/SETUP.md keeps an idle install working.
Enterprise Grid. Grid runs aggressive session-anomaly detection. Browser-session automation can trip it, which flags the session and kills it, regardless of which tool drives the traffic. Outbound calls are paced by default to stay under burst thresholds (SLACK_MCP_MIN_REQUEST_INTERVAL_MS, default 350; SLACK_MCP_MAX_CONCURRENCY, default 3). Pacing lowers that risk; it does not remove it. On Grid, use Slack's official MCP server.
Credential extraction. --setup reads the newest xoxc- token from Chrome's on-disk LevelDB, snapshots the cookie SQLite database, retrieves Chrome Safe Storage from the macOS Keychain, and runs PBKDF2 + AES-128-CBC decryption locally. It writes the token file, Keychain entries, and non-secret metadata. It transmits nothing — the server talks to Slack and nowhere else.
This is the same access pattern credential stealers use. Chrome App-Bound Encryption exists to make this class of read harder, and infostealer families (Lumma, Vidar, Meduza) bypass it to lift live sessions. The mechanism here is comparable. What differs is that you run it, on your own machine, against your own session, and nothing leaves the host. The source is plain JavaScript in this repository; audit it before handing it a live session.
User cache. One cache exists: user-name lookups, populated on demand, 500 entries maximum, one-hour TTL. No message content, no channel history, and no persistent copy of the workspace is stored.
| Mode | Behavior |
|---|---|
auto | Token file plus Keychain backup |
keychain-only | Keychain only; verified writes and no plaintext credential file |
file | Owner-only token file; Keychain is never touched |
The selected backend is remembered in non-secret metadata and used by the server, CLI, and optional refresh job. An unrecognized mode fails at startup instead of silently downgrading storage.
{
"mcpServers": {
"slack-work": {
"command": "npx",
"args": ["-y", "@jtalk22/slack-mcp"],
"env": { "SLACK_MCP_PROFILE": "work" }
},
"slack-personal": {
"command": "npx",
"args": ["-y", "@jtalk22/slack-mcp"],
"env": { "SLACK_MCP_PROFILE": "personal" }
}
}
}
Each profile gets its own token file, Keychain entries, metadata, and lock. Add SLACK_MCP_CHROME_PROFILE when the workspaces live in different Chrome profiles.
The package runs on your machine, talks only to Slack, and is free under the MIT license. The hosted tier runs on a schedule instead, so the brief arrives while your laptop is closed:
The package works without the hosted tier.
Setup · API · Architecture · Compatibility · Deployment modes · Recipes · Troubleshooting · Migrating · Roadmap
PRs are welcome. Read CONTRIBUTING.md and run node --check on touched JavaScript before submitting.
MIT — see LICENSE.
Not affiliated with Slack Technologies, Inc. This server uses browser-session credentials. Review your workspace's acceptable-use policy before running it.
Your Slack. Your agent. One command.
If this removes a Slack tab from your day, star the repository. Stars are how the next admin-blocked developer finds the local path.
Trending hip-hop artist momentum scores across four cultural dimensions.
PApaperclipai/paperclip119k近 7 天新增 2,120 个 star
One MCP URL for Gmail, Slack, GitHub, Notion and 700+ more apps, with your rules on every change.
COcorsairdev/corsair16k
Search Gmail and Outlook, save drafts, manage email rules, and view email stats.
ELelie222/inbox-zero13k近 7 天新增 76 个 star
Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients
USusekaneo/kaneo9.9k近 7 天新增 64 个 star
Generate QR codes for URLs, PIX, Wi-Fi, vCards, WhatsApp and more. For AI agents.
MOmodelcontextprotocol/registry7.5k近 7 天新增 24 个 star