ask_humanLABSCO SUMMARY
The missing pause in a long autonomous run.
It solves the case where the model has designed the structure but only you know the content, or where a decision is genuinely yours to make. Discord is the interface because it reaches you on a phone; the author expects to move this to native MCP elicitation once clients support it widely.
What it is
A single-purpose server: the assistant calls one tool, the server opens a thread in a Discord channel, mentions you, and waits. Your reply in Discord comes back as the tool's result.
What you get
- One tool, ask_human, that posts the question and blocks until a person answers
- Threaded questions in a channel you nominate, reusing an existing thread rather than flooding the channel
- A direct mention of the user you specify, so the question does not sit unseen
- Answers routed straight back into the assistant's work, with no copy-paste step
Requirements
Rust 1.70 or higher to install, via cargo install from the repository. A Discord bot of your own: create the application, take the token, grant Send Messages, Create Public Threads and Read Message History, and switch on the Message Content Intent. The token goes in DISCORD_TOKEN; the channel and user IDs are passed as launch arguments.
Setup effort
One command plus a key — cargo install --git https://github.com/KOBA789/human-in-the-loop.git, then supply credentials
USE CASES
Filling in facts only you know
Let the assistant draft the document structure and ask you for the specific figures or names as it goes, instead of inventing them.
Getting a decision confirmed before it is acted on
Have the assistant put the uncertain choice to you in a Discord thread and wait for the answer before continuing.
Supervising a long run from your phone
Point it at a channel you already watch; questions arrive as mentions, and answering in the thread resumes the work.
1 tool
Listed in project docs. Your client may show a different list.
BEFORE YOU INSTALL
What to know first
Tools you get
1 tool named in the project's documentation.
Requires
- human-in-the-loop on PATH
- Rust
- DISCORD_TOKEN in your environment
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
cargo install --git https://github.com/KOBA789/human-in-the-loop.gitMCP Clients
Claude Desktop
{
"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_TOKEN>"
}
}
}
}Claude Code
{
"mcpServers": {
"human-in-the-loop": {
"command": "human-in-the-loop",
"args": [
"--discord-channel-id",
"channel-id",
"--discord-user-id",
"user-id"
]
}
}
}