Flag MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Flag MCPask me to choose between the implementation options before proceeding"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚩 Flag MCP
✨ What is "Flag"?
In visual novels and Galgames, a "flag" (フラグ) is the moment a choice triggers a new story branch. One decision changes everything.
Flag MCP brings that same power to AI-assisted coding. When your AI assistant hits a crossroads, it doesn't guess — it raises a flag and waits for you to choose the route.
🎮 You're the protagonist. The AI waits at every branching point.
💎 Every flag shapes the route. No more speculative rewrites.
🚀 Rich interaction. Text, screenshots, annotations — your full arsenal.
This transforms AI coding from "hope it works" into a narrative where you hold the controller.
Scope of Application:
Coding plans billed on a per-request basis.
Developers who wish to control AI behavior.
🔥 Before & After
❌ Without Flag MCP | ✅ With Flag MCP |
AI guesses → wrong code → painful rework | AI raises a flag → you choose → correct code |
Multiple rounds of "wait, what did you mean?" | One structured dialog, crystal clear |
Anxious: "What is the AI about to do?!" | Confident: every action confirmed by you |
Helpless passenger | You are the route-setter |
🎯 Core Features
🖥️ Dark Themed UI — A sleek native desktop dialog that fits your workflow
✅ Route Choices — Structured predefined options (checkbox-style)
💬 Free Text — When the predefined routes aren't enough, write your own script
📷 Rich Media Arsenal
Paste images from clipboard
Select local files
Screenshot + Built-in Annotator (rectangle, circle, arrow, pen, text, crop)
🖼️ Prompt Images — AI can show you images (local paths,
file://,http(s)://)🔒 Security First — Remote images validated, size-limited, async loaded
🎨 macOS Optimized — Proper icon handling and visual polish
📦 Installation
Prerequisites
Python
>= 3.11uv(recommended) orpip
Quick Install
git clone https://github.com/pauoliva/interactive-feedback-mcp.git
cd interactive-feedback-mcp
uv sync⚙️ Configuration
Add to your MCP client configuration:
Cursor (mcp.json) / Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"interactive-feedback": {
"command": "uv",
"args": [
"--directory",
"/path/to/interactive-feedback-mcp",
"run",
"server.py"
],
"timeout": 900000,
"autoApprove": ["interactive_feedback"]
}
}
}⚠️ Note: Timeout is in milliseconds for Cursor (
900000= 15 min). Some clients use seconds — adjust accordingly.
🚩 The interactive_feedback Tool
Arguments
Parameter | Type | Description |
|
| The question/prompt to display |
|
| Optional. Route choices for quick decisions |
|
| Optional. Images to show (local/remote URLs) |
Returns
Text feedback from user
Optional image attachments (as MCP image content blocks)
🧙 Pro Tips
Recommended Agent Rules
Add this to your AI assistant's custom instructions:
If requirements are unclear, call interactive_feedback before implementing.
Present predefined options whenever possible — give the user clear route choices.
Before finishing a task, call interactive_feedback once more for final confirmation.Environment Variables
Variable | Default | Description |
|
| Max UI process lifetime |
| — | Custom app icon path |
|
| Remote image fetch timeout |
|
| Max remote image size (10MB) |
🛡️ Security & Reliability
✅ Remote images validated by content-type (
image/*)✅ Large payloads rejected via size cap
✅ Async fetch keeps UI responsive
✅ Local files read only when explicitly referenced
📄 License
MIT License — fork it, flag it, ship it.
🚩 Plant your flag. Write your own route.
Made with 💜 for developers who refuse to be NPCs in their own codebase.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/the-nine-nation/Flag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server