Allows AI assistants to ask questions to humans via Discord.
An MCP (Model Context Protocol) server that allows AI assistants to ask questions to humans via Discord.
This MCP server is used when AI assistants need human input or judgment during their work. For example:
cargo install --git https://github.com/KOBA789/human-in-the-loop.git
Add the following to claude_desktop_config.json
:
{
"mcpServers": {
"human-in-the-loop": {
"command": "human-in-the-loop",
"args": [
"--discord-channel-id", "channel-id",
"--discord-user-id", "user-id"
],
"env": {
"DISCORD_TOKEN": "your-discord-bot-token"
}
}
}
}
For Claude Code (claude.ai/code), add to your MCP settings:
{
"mcpServers": {
"human-in-the-loop": {
"command": "human-in-the-loop",
"args": [
"--discord-channel-id", "channel-id",
"--discord-user-id", "user-id"
]
}
}
}
Set the Discord token as an environment variable before running Claude Code:
export DISCORD_TOKEN="your-discord-bot-token"
claude
Note: The server automatically reads the Discord token from the DISCORD_TOKEN
environment variable. You can also pass it via --discord-token
argument if needed.
AI assistants can ask questions to humans using the ask_human
tool:
Human: Please create a documentation outline. You can ask the human as you need.
Assistant: I'll create a documentation outline. Let me ask you some questions first.
[Uses ask_human tool]
The AI posts questions in Discord and mentions the specified user. When the user replies in Discord, the response is returned to the AI.
ask_human
toolA read-only MCP server by CData that enables LLMs to query live SendGrid data. Requires the external CData JDBC Driver for SendGrid.
An MCP server for sending emails via the Postmark service, configured through environment variables.
An MCP service for device communication and PWM control via the MQTT protocol.
Simple MCP Server to enable a human-in-the-loop workflow in tools like Cline and Cursor.
Summarize chat messages from a local database file.
A server for interacting with Telegram via the MTProto API, requiring API credentials.
Send Instagram DMs via your LLM
Connect to any function, any language, across network boundaries using AgentRPC.
An IMAP Model Context Protocol (MCP) server to expose IMAP operations as tools for AI assistants.
Interact with a Twist workspace using its REST API.