Skip to content

ignission/slack-task-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

82 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Slack Task MCP

Zero friction from mention to action

npm version License: ISC

An MCP server designed for users with ADHD traits

ζ—₯本θͺž


Why

When Slack mentions pile up, it's hard to know where to start. Complex requests leave you frozen, unsure what to ask. Writing replies takes forever. Sound familiar?

Problem Solution
"What do they want?" is unclear Clarify the purpose
"What should I ask?" is unknown Identify unknowns + draft confirmation messages
"How should I reply?" takes time Edit & structure reply messages
"What's next?" causes paralysis Provide next actions

Before / After

❌ Before
Mention arrives β†’ "What do they want?" β†’ Freeze β†’ Postpone β†’ Forget

βœ… After
Mention arrives β†’ Paste thread URL β†’ Purpose, unknowns & next action organized β†’ Start immediately

Who is this for?

  • πŸ’­ You read a Slack message multiple times but still don't know where to start
  • πŸ“ Writing replies takes forever because you overthink the wording
  • πŸ”„ You postpone complex requests and end up forgetting them
  • 🧠 You have ADHD traits and struggle with task initiation

Use Cases

1. Break down a vague request

"Can you handle the quarterly report?"

What this tool does:

  • Clarifies what "handle" means (create? review? present?)
  • Identifies unknowns (deadline? format? audience?)
  • Generates a confirmation message to ask the right questions
  • Breaks the task into 5-minute steps once clarified

2. Structure a messy reply

"Done with the thing. Attached. Check it."

After editing:

"I've completed the quarterly report and attached it. Could you review it when you have a moment? Let me know if any changes are needed."

  • Conclusion β†’ Reasoning β†’ Action structure
  • Polite but concise tone

3. Resume work after interruption

"What was I working on for that client request?"

What this tool does:

  • Searches past Slack threads
  • Shows task progress and next steps
  • No need to re-read the entire thread

4. Triage multiple mentions

When you have 10+ unread mentions:

  • Analyze each thread quickly
  • Identify priorities (blocking others? deadline?)
  • Generate confirmation messages for unclear ones
  • Save as tasks and tackle one by one

Demo

You: Analyze this thread https://xxx.slack.com/archives/C123/p456

Claude: ## Request Analysis

### Summary
- **Purpose**: Create sales report for Q4
- **Deliverable**: PDF report with charts
- **Deadline**: Next Friday

### Unknowns
- ❓ Which metrics to include?
  - Impact: Can't start without this
  - Options: Revenue only / Revenue + costs / Full P&L

### Suggested Confirmation Message
"Thanks for the request! Quick question - should I include just revenue,
or the full P&L breakdown? Also, should I use the same template as Q3?"

### Next Action
πŸ“Œ Send confirmation message (2 min)

---

You: They said full P&L, same template. Break it down and save.

Claude: βœ… Task saved!

### Q4 Sales Report
1. ☐ Open Q3 template and duplicate (2 min)
2. ☐ Export Q4 data from dashboard (3 min)
3. ☐ Paste revenue numbers (5 min)
4. ☐ Paste cost numbers (5 min)
5. ☐ Update charts (5 min)
6. ☐ Write summary paragraph (5 min)
7. ☐ Export as PDF and send (2 min)

πŸ“Œ Start with step 1 - just 2 minutes!

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Claude Desktop / Claude Code                               β”‚
β”‚  └── MCP Client                                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚ MCP Protocol
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Slack Task MCP Server                                      β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚  MCP Tools                                             β”‚ β”‚
β”‚  β”‚  β€’ get_slack_thread  β€’ save_task     β€’ analyze_request β”‚ β”‚
β”‚  β”‚  β€’ search_slack      β€’ list_tasks    β€’ draft_reply     β”‚ β”‚
β”‚  β”‚                      β€’ complete_step                   β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚  Agent SDK Layer (AI-powered analysis)                 β”‚ β”‚
β”‚  β”‚  β€’ analyze.js β†’ Request analysis                       β”‚ β”‚
β”‚  β”‚  β€’ draft-reply.js β†’ Reply editing                      β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β–Ό                                 β–Ό
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚  Slack API  β”‚                   β”‚  Claude API β”‚
   β”‚ (User Token)β”‚                   β”‚ (Agent SDK) β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Features

Tool Description Agent SDK
get_slack_thread Fetch messages from a Slack thread URL -
analyze_request Analyze requests, identify purpose & unknowns βœ…
draft_reply Edit and structure replies logically βœ…
save_task Save tasks (broken into <5 min steps) -
list_tasks Show active task list -
search_tasks Search tasks by keyword/date -
complete_step Mark a step as complete -
search_slack Search Slack messages by keyword -

Quick Start

1. Authenticate with Slack

npx -y @ignission/slack-task-mcp auth login

A browser will open for Slack authentication. Repeat for multiple workspaces.

2. Configure Claude Code / Claude Desktop

Claude Code (Terminal):

claude mcp add slack-task -- npx -y @ignission/slack-task-mcp

Claude Desktop (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "slack-task": {
      "command": "npx",
      "args": ["-y", "@ignission/slack-task-mcp"]
    }
  }
}

3. Restart

Restart Claude Code / Claude Desktop to apply the configuration.


Usage

Basic Workflow

1. get_slack_thread  β†’  Fetch thread (context DB)
2. analyze_request   β†’  Generate purpose, unknowns, confirmation drafts
3. draft_reply       β†’  Edit and structure reply drafts
4. save_task         β†’  Save as task
5. complete_step     β†’  Track progress

Examples

Fetch & Analyze a Thread

Analyze this Slack thread:
https://xxx.slack.com/archives/C12345678/p1234567890123456

Save a Task

Break this down into steps under 5 minutes and save it

Edit a Reply

Edit this reply: "Report is done. Attached. Please check."

List Tasks

Show my task list

Complete a Step

Mark step 1 as complete

ADHD-Friendly Design

  • Offload from your brain β€” Save tasks and forget them. Free up working memory.
  • Break into <5 min steps β€” Build small wins
  • Easiest step first β€” Lower the barrier to start
  • Clear stopping points β€” Easy to pause and resume
  • Slack as context DB β€” Ask Claude "what happened with that?"

The Real Value: Stop Carrying Everything in Your Head

❌ Keeping tasks in your head
"Don't forget this" + "That too" + "And this..." β†’ Constant working memory drain β†’ Exhaustion

βœ… Offload to MCP
Save task β†’ OK to forget β†’ Brain freed up β†’ Focus on just one thing

Your brain is for thinking, not for storing. Let the tool remember so you don't have to.


Tech Stack

Technology Purpose
Node.js (ES Modules) Runtime
MCP Protocol Communication with Claude Code/Desktop
Claude Agent SDK AI-powered request analysis & reply editing
Slack Web API Slack integration (User Token)
Zod Schema validation
Cloudflare Workers OAuth authentication (token exchange)

Project Structure

slack-task-mcp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.js         # MCP server entry point
β”‚   β”œβ”€β”€ cli.js           # CLI commands
β”‚   β”œβ”€β”€ auth.js          # OAuth authentication (hybrid)
β”‚   β”œβ”€β”€ credentials.js   # Credential management
β”‚   β”œβ”€β”€ paths.js         # Path management (XDG compliant)
β”‚   └── agents/          # Agent SDK agents
β”‚       β”œβ”€β”€ index.js     # Common settings
β”‚       β”œβ”€β”€ analyze.js   # Request analysis
β”‚       └── draft-reply.js # Reply editing
β”œβ”€β”€ worker/              # Cloudflare Workers (token exchange)
β”‚   β”œβ”€β”€ index.js
β”‚   └── wrangler.toml
└── package.json

Data Storage

Data is stored following XDG Base Directory Specification:

~/.local/share/slack-task-mcp/
β”œβ”€β”€ credentials/
β”‚   β”œβ”€β”€ T01234567.json     # Per-workspace credentials
β”‚   └── T98765432.json
└── tasks.json              # Task data

If XDG_DATA_HOME is set, that path will be used instead.


Troubleshooting

Slack API Errors

npx -y @ignission/slack-task-mcp auth status              # Check auth status
npx -y @ignission/slack-task-mcp auth login               # Authenticate new workspace
npx -y @ignission/slack-task-mcp auth logout              # Logout from all workspaces
npx -y @ignission/slack-task-mcp auth logout -w mycompany # Logout from specific workspace

MCP Server Not Recognized

  • Verify the config file path is correct
  • Restart Claude Code / Claude Desktop

Can't Read Private Channels

  • You can only read channels you're a member of

Contributing

Issues and PRs are welcome!


License

ISC