
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server with a Web UI for pausing an AI agent at key moments, reviewing intended actions, providing course-corrections or screenshots, and resuming without ending the conversation.
AI Intervention Agent is cataloged as an MCP server attributed to xiadengma. An MCP server with a Web UI for pausing an AI agent at key moments, reviewing intended actions, providing course-corrections or screenshots, and resuming without ending the conversation. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for AI Intervention Agent are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It exposes the interactive_feedback tool through an MCP stdio server.
A countdown with auto re-submit helps keep sessions alive, and the countdown auto-extends while the user types so it never fires mid-input.
Yes, an optional VS Code extension embeds the interaction panel into VS Code's sidebar so users do not need to switch to a browser.
README.md · 881db9b2e127 · Fetched 2026-11-13 08:11:17 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Real-time user intervention for MCP agents: pause, course-correct, resume.
Quick start · Screenshots · Key features · VS Code extension · Configuration · Documentation
AI Intervention Agent gives you a Web UI to pause the agent at key moments, review what it's about to do, type a course-correction, attach screenshots, and resume it. Everything goes through the MCP interactive_feedback tool, without ending the conversation.
Works with Cursor, VS Code, Claude Code, Augment, Windsurf, Trae, and more.
Point your AI tool at the MCP server via uvx (installs and runs the latest version automatically):
{
"mcpServers": {
"ai-intervention-agent": {
"command": "uvx",
"args": ["ai-intervention-agent"],
"timeout": 600,
"autoApprove": ["interactive_feedback"]
}
}
}
Then add the prompt snippet below to your agent rules / system prompt, so the agent asks you through interactive_feedback instead of finishing tasks silently.
- Only ask me through the MCP `ai-intervention-agent` tool; do not ask directly in chat or ask for end-of-task confirmation in chat.
- If a tool call fails, keep asking again through `ai-intervention-agent` instead of making assumptions, until the tool call succeeds.
ai-intervention-agent usage details:
- If requirements are unclear, use `ai-intervention-agent` to ask for clarification with predefined options.
- If there are multiple approaches, use `ai-intervention-agent` to ask instead of deciding unilaterally.
- If a plan/strategy needs to change, use `ai-intervention-agent` to ask instead of deciding unilaterally.
- Before finishing a request, always ask for feedback via `ai-intervention-agent`.
- Do not end the conversation/request unless the user explicitly allows it via `ai-intervention-agent`.
Install the package (needs Python 3.11 or newer; remember to pip install --upgrade ai-intervention-agent periodically):
pip install ai-intervention-agent
Then configure your AI tool to launch the installed entry point:
{
"mcpServers": {
"ai-intervention-agent": {
"command": "ai-intervention-agent",
"args": [],
"timeout": 600,
"autoApprove": ["interactive_feedback"]
}
}
}
If your IDE/CLI has an AI agent (Cursor, Claude Code, VS Code, Windsurf, Trae, Augment, ...), paste this prompt in chat and let it write the config:
Please configure my IDE / AI tool to use the `ai-intervention-agent` MCP server:
1. Locate the correct MCP config file for my current IDE
(e.g. `.cursor/mcp.json` or `~/.cursor/mcp.json` for Cursor,
`~/.claude.json` for Claude Code,
`.vscode/mcp.json` for VS Code).
2. Add this entry under `mcpServers`:
- command: `uvx`
- args: `["ai-intervention-agent"]`
- timeout: 600
- autoApprove: `["interactive_feedback"]`
Keep every other server and setting in the file exactly as it is.
If an `ai-intervention-agent` entry already exists, show me the
difference and ask before replacing it.
3. Open the link below and append the rules from its
"Prompt snippet (copy/paste)" block to my agent rules / system prompt,
so the agent always asks me through `interactive_feedback`
instead of ending tasks silently:
https://raw.githubusercontent.com/xiadengma/ai-intervention-agent/main/README.md
If you cannot open that link, ask me to paste the block.
4. Verify by listing MCP servers and confirming `ai-intervention-agent` is loaded
(tell me if I need to restart or reload the tool).
5. Finish by telling me which files you changed and what the check showed.
[!NOTE]
interactive_feedbackis a long-running tool, and some clients enforce a hard request timeout. To keep sessions alive, the Web UI ships a countdown with auto re-submit (feedback.frontend_countdown, default240seconds, range0or[10, 3600]). The default stays under the common 300-second hard timeout.
Feedback page · auto switches between dark/light · multi-task tabs with independent countdowns
Empty state · waiting for the next interactive request
Settings · notifications · Bark · sound · feedback countdown · auto switches between dark/light
interactive_feedback/ in the feedback box to insert an installed Agent Skill or custom command (Cursor / Claude Code / Codex layouts, auto-detected or set with [feedback] skill_dirs) in the message and the Web UI shows the file; only images inside your workspace folders and the temp directory are read (adjust with [feedback] local_image_dirs); click any image in the message to see it larger (Web UI and VS Code panel)header_label context chips, feedback_placeholder hints, and loop engineering metadata (loop_id, loop_phase, success_criteria)bind_interface is a LAN address mDNS publishes a <host>.local URL when supporteden / zh-CN / zh-TWAIIA runs as two cooperating Python processes bridging three surfaces:
an MCP stdio server exposing interactive_feedback (one per IDE window),
a Flask web server with an SSE event bus (started on demand as a
subprocess and shared by every window), and a persistent task queue
feeding the notification stack. The component diagram, the interaction
and failure-recovery sequence diagrams, the agent-side MCP parameter
table, and the runtime invariant catalogue live in
docs/architecture.md.
Embeds the interaction panel into VS Code's sidebar so you never switch to a browser.
ai-intervention-agent.serverUrl must match your Web UI URL (e.g. http://localhost:8080; change the port via web_ui.port in config.toml.default)ai-intervention-agent.logLevel and macOS native notifications (on by default, toggle in the sidebar panel's Settings page). The full settings list and the AppleScript executor security model are in packages/vscode/README.mdOn first run, config.toml is created from config.toml.default in your OS user config directory (the full TOML reference is in docs/configuration.md):
| OS | User config directory |
|---|---|
| Linux | ~/.config/ai-intervention-agent/ |
| macOS | ~/Library/Application Support/ai-intervention-agent/ |
| Windows | %APPDATA%/ai-intervention-agent/ |
For uvx, Docker, systemd, or SSH-remote runtimes where editing the file is awkward, the most-used web_ui settings can be overridden by env var at startup (invalid values log a WARNING and fall back safely; full surface in docs/configuration.md#environment-variable-overrides):
export AI_INTERVENTION_AGENT_WEB_UI_HOST=0.0.0.0 # listen address, default 127.0.0.1 (this computer only); 0.0.0.0 = all interfaces
export AI_INTERVENTION_AGENT_WEB_UI_PORT=8181 # default 8080, range [1, 65535]
export AI_INTERVENTION_AGENT_WEB_UI_LANGUAGE=en # auto / en / zh-CN / zh-TW
uvx ai-intervention-agent
CLI inspection: --version, --help, and --print-config. The last one dumps the effective merged config as jq-friendly JSON, with secret-like fields redacted, and answers "is my port from env or from config.toml?" in one pipeline.
On iPhone, the smoothest setup wraps the Web UI in a Shortcuts automation and points Bark notification taps at it. The step-by-step guide is in docs/configuration.md#recommended-iphone-setup-shortcuts--bark.
docs/README.md · docs/README.zh-CN.mddocs/architecture.mddocs/mcp_tools.md · docs/mcp_tools.zh-CN.mddocs/api/index.md · docs/api.zh-CN/index.mddocs/troubleshooting.md · docs/troubleshooting.zh-CN.mdCHANGELOG.md · VS Code extension (the Open VSX listing): packages/vscode/CHANGELOG.mdCONTRIBUTING.md · CODE_OF_CONDUCT.md · scripts index: scripts/README.md · i18n guide: docs/i18n.mdSUPPORT.md · SECURITY.mddocs/release-recovery.md · docs/release-recovery.zh-CN.md| Project | Stars (approx.) | Focus |
|---|---|---|
| mcp-feedback-enhanced (Minidoracat) | ~3.8k | Largest sibling; Web UI + Tauri desktop app, auto-command execution, SSH Remote / WSL detection. |
| cunzhi (imhuso) | ~1.4k | Chinese-language project focused on preventing premature task completion. |
| Relay (andeya) | new | Multi-IDE relay, multi-tab session merging, native desktop window, Cursor usage monitoring. |
| interactive-feedback-mcp (Node.js) | new | Node.js port with WebSocket UI and Speech-to-Text via OpenAI Whisper. |
| interactive-feedback-mcp (junanchn) | ~30 | Win32-native always-on-top window, auto-reply rules. |
| interactive-feedback-mcp (poliva) | ~310 | Direct ancestor fork (see Acknowledgements); minimal Python MCP, single feedback dialog. |
| interactive-feedback-mcp (Pursue-LLL) | ~30 | Independent smaller-scale fork emphasising minimal dependencies. |
Where AIIA sits on the spectrum: AIIA targets the operationally deep end. The Web UI and the VS Code extension share one backend, and observability comes from a /api/system/metrics Prometheus endpoint plus a reference Grafana dashboard. The Web UI ships in three languages and the docs in two, the project follows an invariant test discipline (15,500+ tests + 1,300+ subtests across 40 audit cycles), and releases run through a 4-job pipeline. If you want the smallest drop-in, use poliva's fork; for a desktop app, mcp-feedback-enhanced; for voice input or a multi-tab UI, Relay or the Node.js fork.
Feature gaps (contributions welcome): Speech-to-Text input, always-on-top native window, Cursor usage monitoring, multi-tab session merging UI.
Star counts are approximate snapshots (last reviewed 2026-10); check each upstream for current numbers. Submit a PR if you'd like another related project listed.
The MCP interactive_feedback tool surface comes from two earlier projects: Fábio Ferreira's original noopstudios/interactive-feedback-mcp (2024) and Pau Oliva's poliva/interactive-feedback-mcp (2025). Their copyright notices are kept in LICENSE, as the MIT license requires. The v1.5.x line is a substantial rewrite (Web UI, VS Code extension, i18n, notification stack, CI/CD pipeline), owned and maintained by @xiadengma, the publisher on PyPI and Open VSX.
MIT License
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for AI Intervention Agent from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/ai-intervention-agent)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.