{"id":30805561,"url":"https://github.com/aaronsb/slack-mcp","last_synced_at":"2026-04-02T15:45:52.182Z","repository":{"id":347410571,"uuid":"1193166388","full_name":"aaronsb/slack-mcp","owner":"aaronsb","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-28T02:01:32.000Z","size":204,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T02:55:50.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronsb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-27T00:07:11.000Z","updated_at":"2026-03-28T01:58:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aaronsb/slack-mcp","commit_stats":null,"previous_names":["aaronsb/slack-mcp"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/aaronsb/slack-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronsb%2Fslack-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronsb%2Fslack-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronsb%2Fslack-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronsb%2Fslack-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronsb","download_url":"https://codeload.github.com/aaronsb/slack-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronsb%2Fslack-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31309283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-06T00:59:03.649Z","updated_at":"2026-04-02T15:45:52.173Z","avatar_url":"https://github.com/aaronsb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack MCP\n\n![License](https://img.shields.io/github/license/aaronsb/slack-mcp)\n![GitHub stars](https://img.shields.io/github/stars/aaronsb/slack-mcp?style=social)\n![Latest Release](https://img.shields.io/github/v/release/aaronsb/slack-mcp?include_prereleases\u0026label=version)\n\nMCP server that gives AI agents access to your Slack workspaces using session tokens. No OAuth apps, no bot permissions, no admin approval required.\n\n## How it works\n\nSlack MCP uses your existing browser session tokens (`xoxc`/`xoxd`) to interact with Slack on your behalf. It reads stealthily by default — only the `mark-read` tool triggers read receipts. Everything else is invisible to other users.\n\n**Token extraction** is built into the binary. If you're logged into Slack in Chrome or Firefox, the setup flow can extract tokens automatically — no copy-pasting from DevTools.\n\n## Prerequisites\n\nYou need an active Slack session in your browser. Log into your workspace at [app.slack.com](https://app.slack.com) in **Chrome**, **Chromium**, **Edge**, or **Firefox** before running setup.\n\n## Install\n\n### Claude Code\n\n```bash\nclaude mcp add slack-mcp -- npx -y @aaronsb/slack-mcp\n```\n\nThen ask Claude to run the `auth-setup` tool. It will guide you through browser selection, profile selection, and automatic token extraction.\n\n### Claude Desktop\n\nDownload the `.mcpb` file for your platform from the [latest release](https://github.com/aaronsb/slack-mcp/releases/latest):\n\n| Platform | File |\n|----------|------|\n| macOS (Apple Silicon) | `slack-mcp-darwin-arm64.mcpb` |\n| macOS (Intel) | `slack-mcp-darwin-x64.mcpb` |\n| Linux (x64) | `slack-mcp-linux-x64.mcpb` |\n| Linux (ARM) | `slack-mcp-linux-arm64.mcpb` |\n| Windows (x64) | `slack-mcp-windows-x64.mcpb` |\n\nOpen the file (double-click or drag into Claude Desktop). When prompted for tokens, you can either:\n- Leave them blank and use the `auth-setup` tool after connecting\n- Paste tokens if you already have them\n\n### Standalone binary\n\nDownload the binary for your platform from [releases](https://github.com/aaronsb/slack-mcp/releases/latest), then:\n\n```bash\n# Extract tokens from your browser (interactive)\n./slack-mcp setup\n\n# Run as MCP server (stdio, default)\n./slack-mcp\n\n# Run as MCP server (SSE, for remote/shared access)\n./slack-mcp --transport sse\n```\n\n### npm (global)\n\n```bash\nnpm install -g @aaronsb/slack-mcp\nslack-mcp setup\n```\n\n## Token setup\n\nThere are three ways to get your Slack tokens, from easiest to most manual:\n\n### Automatic (Chrome/Edge)\n\nThe `auth-setup` MCP tool or `slack-mcp setup` CLI command will:\n\n1. Detect your installed browsers\n2. Let you pick which browser and profile has Slack\n3. Open the browser, navigate to Slack, and extract tokens via Chrome DevTools Protocol\n4. Validate and save them\n\n**Requires Chrome to be fully closed** before extraction — your tabs will restore when you reopen it.\n\n### Semi-automatic (Firefox)\n\nThe setup flow writes a temporary browser extension to a temp directory, then guides you to load it in Firefox via `about:debugging`. The extension extracts tokens and sends them to the local callback server. It's removed automatically when Firefox closes.\n\n### Manual\n\nRun `slack-mcp setup` or use the `auth-setup` tool — if no browser is detected or automatic extraction fails, it falls back to a localhost web page with step-by-step DevTools instructions.\n\nYou can also set tokens directly via environment variables:\n\n```bash\nexport SLACK_MCP_XOXC_TOKEN=\"xoxc-...\"\nexport SLACK_MCP_XOXD_TOKEN=\"xoxd-...\"\n./slack-mcp\n```\n\n## Tools\n\n| Tool | What it does |\n|------|-------------|\n| `check-unreads` | Unread messages across DMs, channels, and mentions |\n| `catch-up` | Recent channel activity with time filtering |\n| `list-channels` | Browse channels and membership |\n| `check-mentions` | Your @-mentions grouped by urgency |\n| `search` | Find messages (full Slack query syntax) |\n| `get-context` | Thread history and conversation context |\n| `check-timing` | Conversation pacing analysis |\n| `send-message` | Post to channel, DM, or thread |\n| `mark-read` | Mark conversations as read (only tool that triggers read receipts) |\n| `react` | Add or remove emoji reactions |\n| `auth-setup` | Browser-automated token extraction |\n\n## Privacy\n\n- **Stealth by default** — reads never trigger read receipts; only `mark-read` does\n- **Channel names, not IDs** — the AI never sees internal Slack identifiers\n- **Tokens stay local** — stored in `~/.config/slack-mcp/config.json` with `0600` permissions\n- **No network traffic except Slack** — the binary connects only to `slack.com/api/*`\n- **No browser downloads** — uses your installed browser, never fetches binaries from CDNs\n\n## Development\n\n```bash\nmake build          # Build for current platform\nmake test           # Run tests\nmake build-all-platforms  # Cross-compile (6 platforms)\nmake release TAG=v1.3.0   # Tag and push (CI handles the rest)\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronsb%2Fslack-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronsb%2Fslack-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronsb%2Fslack-mcp/lists"}