AskOnSlackMCP MCP Server

Human-in-the-Loop MCP server that enables AI assistants to request information from humans via Slack

Local serverstdioTypeScript

What is the AskOnSlackMCP MCP server?

If you want an AI assistant working directly with AskOnSlackMCP, the askonslackmcp mcp server is the bridge. Human-in-the-Loop MCP server that enables AI assistants to request information from humans via Slack.

What AskOnSlackMCP does

A Model Context Protocol (MCP) server that enables AI assistants to request information from humans via Slack. This server acts as a bridge between AI systems and human experts, allowing AI to ask questions and receive responses through Slack when it needs human knowledge or clarification.

Key capabilities

  • 🤖 MCP-compliant server for AI assistant integration
  • 💬 Real-time Slack integration via Socket Mode WebSocket connection
  • 🧵 Thread-based conversations for maintaining context
  • ⏱️ 60-second timeout for human responses
  • 📢 User mentions (@username) for notifications
  • 🔍 Comprehensive debugging and logging capabilities
  • 🔐 Secure token handling
  • 🚀 Dynamic handler initialization for faster startup

Tools it exposes

Once connected, the assistant can call these 3 tools directly:

  • ask_on_slack — The ask_on_slack tool exposed by this server
  • Scripts — The Scripts tool exposed by this server
  • Testing — The project uses Vitest for testing. Tests are located in the tests/ directory

Installing the askonslackmcp mcp server

The server is distributed via npm as Run, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Requirements

  1. Slack App Setup - Create a new Slack app at https://api.slack.com/apps - Enable Socket Mode in your app settings - Generate an App-Level Token with connections:write scope - Install the app to your workspace 2. Bot Token Scopes - chat:write - Send messages - channels:read - Access channel information - users:read - Access user information 3. Socket Mode - Enable Socket Mode

Where it fits

Communication servers earn their keep on volume — summarising channels and threads that would otherwise cost you an hour of scrollback. AskOnSlackMCP sits in that group, and the shape of its toolset — ask_on_slack, Scripts, Testing — tells you what it is really for. Worth comparing against the other communication servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by trtd56, written in TypeScript.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the askonslackmcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
ask_on_slackThe ask_on_slack tool exposed by this server.
ScriptsThe Scripts tool exposed by this server.
TestingThe project uses Vitest for testing. Tests are located in the tests/ directory.

How to install the AskOnSlackMCP MCP server

{
  "mcpServers": {
    "human-in-the-loop-slack": {
      "command": "npx",
      "args": [
        "github:trtd56/AskOnSlackMCP",
        "--slack-bot-token", "xoxb-your-token",
        "--slack-app-token", "xapp-your-token",
        "--slack-channel-id", "C1234567890",
        "--slack-user-id", "U1234567890"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  1. Slack App Setup - Create a new Slack app at https://api.slack.com/apps - Enable Socket Mode in your app settings - Generate an App-Level Token with connections:write scope - Install the app to your workspace 2. Bot Token Scopes - chat:write - Send messages - channels:read - Access channel information - users:read - Access user information 3. Socket Mode - Enable Socket Mode

Example prompts to try

  • Use AskOnSlackMCP to ask on slack.
  • Use AskOnSlackMCP to Scripts.
  • Use AskOnSlackMCP to Testing.

Frequently asked questions

It connects AskOnSlackMCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (ask_on_slack, Scripts, Testing) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with AskOnSlackMCP directly.