Human-in-the-Loop Slack

Provides an MCP server that asks humans for input via Slack in real-time.
  • typescript

6

GitHub Stars

typescript

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "trtd56-askonslackmcp": {
      "command": "npx",
      "args": [
        "github:trtd56/AskOnSlackMCP",
        "--slack-bot-token",
        "xoxb-your-actual-token",
        "--slack-app-token",
        "xapp-your-actual-token",
        "--slack-channel-id",
        "C1234567890",
        "--slack-user-id",
        "U1234567890"
      ]
    }
  }
}

You run a MCP server that lets AI assistants ask humans for information through Slack. It connects AI workflows with real-time human input, keeps conversations context-aware, and handles fast human-in-the-loop decisions to improve responses and accuracy.

How to use

Use this MCP server with your MCP client to request human input when needed. Start the server via npx, then configure your MCP client to point to this server. When you call the tool to ask a question, the bot will mention the target user in your Slack channel and create a thread for the human to respond within 60 seconds. The human’s reply is captured and returned to the MCP client to continue processing.

How to install

Prerequisites: Node.js and npm installed on your machine. You also need Slack tokens and channel/user identifiers ready as described in the setup steps.

# Quick start: run directly from GitHub
npx github:trtd56/AskOnSlackMCP \
  --slack-bot-token "xoxb-your-bot-token" \
  --slack-app-token "xapp-your-app-token" \
  --slack-channel-id "C1234567890" \
  --slack-user-id "U1234567890"

Additional configuration and usage notes

You can use the MCP client to load this server directly from GitHub or run it locally after cloning the repository. The server supports drawing human input in Slack with a 60-second response window, and it can mention a specific user to notify them.

Security and troubleshooting

Ensure your Slack tokens begin with xoxb- (Bot) and xapp- (App). Verify the bot is invited to the target channel and that Socket Mode is enabled. If you don’t receive a response, confirm the user ID format (U followed by digits) and that messages are allowed in the thread.

Available tools

The main tool is ask_on_slack, which asks a human a question in Slack and returns the response or a timeout after 60 seconds.

Available tools

ask_on_slack

Main tool for asking questions to humans via Slack. It sends a notification to the specified user, waits up to 60 seconds for a response in a thread, and returns the human’s reply or a timeout.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational