explaingit

mhmdibrahimm/human-intervention-mcp

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 2/5Setup · moderate

TLDR

An MCP server that lets AI agents pause and open a browser form to ask a human for input or a decision.

Mindmap

mindmap
  root((repo))
    What it does
      Pauses AI agents
      Opens local browser form
      Waits for human answer
    Tech stack
      Python
      MCP protocol
      CLI commands
    Use cases
      Manual action requests
      Operator decision points
      Long autonomous workflows
    Audience
      Developers using AI agents
      Codex and Claude Code users
    Configuration
      TOML config file
      Environment variables
      CLI overrides

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Have an AI coding agent stop and ask a person to enter a one time code or approve a payment during an automated workflow.

USE CASE 2

Let an agent ask an operator to choose between two valid implementation approaches instead of guessing.

USE CASE 3

Add a human checkpoint to a long running autonomous agent task like a Codex goal run.

What is it built with?

PythonMCPCLI

How does it compare?

mhmdibrahimm/human-intervention-mcp0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires explicitly instructing the agent in its prompt when to call these tools, since agents will not use them automatically.

In plain English

Human Intervention MCP is a small open source server that lets AI coding agents, like those in Codex or Claude Code, pause mid task and ask a real person for help instead of guessing. It follows the Model Context Protocol (MCP), a standard way for AI tools to call external services, so any MCP compatible agent can use it once connected. The problem it addresses is a common one with autonomous AI agents: when an agent hits an unclear decision or needs a manual step it cannot perform itself, many models keep trying workarounds or make assumptions rather than stopping to ask, which can waste time and lead the agent down the wrong path. This project gives agents two specific tools to call instead. One, called request_human_action, is for cases where a person needs to physically do something the agent cannot, such as entering a one time code, approving a payment, or solving a CAPTCHA. The other, ask_operator, is for cases where the agent faces a genuine choice between valid options and wants a person's judgment before committing to one. When either tool is called, the server opens a single browser tab on the same machine with a simple form describing the situation, and the AI's task waits until the person answers or a configurable timeout passes. Each request uses its own one time local web page, with no ongoing dashboard or queue to manage. For this to actually work, the agent needs to be explicitly told in its instructions when it should use these tools, since agents will not use them on their own without direction. It runs on Python 3.11 or later on macOS, Linux, and Windows, installs through standard Python tools like pip, uv, or pipx, and can be configured through a TOML file, environment variables, or command line options, including timeouts and limits on things like screenshot size. The README does not state a license, so its reuse terms are unclear.

Copy-paste prompts

Prompt 1
Help me install and configure human-intervention-mcp for Claude Code.
Prompt 2
Show me how to write agent instructions that tell it when to call ask_operator versus request_human_action.
Prompt 3
Walk me through the config.toml options for response_timeout_seconds and max_input_fields.
Prompt 4
Explain how the Streamable HTTP mode differs from the default STDIO mode for this MCP server.

Frequently asked questions

What is human-intervention-mcp?

An MCP server that lets AI agents pause and open a browser form to ask a human for input or a decision.

What language is human-intervention-mcp written in?

Mainly Python. The stack also includes Python, MCP, CLI.

How hard is human-intervention-mcp to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is human-intervention-mcp for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.