Flag MCP
🚩 Flag MCP
✨ Что такое «Flag»?
В визуальных новеллах и галгемах «флаг» (フラグ) — это момент, когда выбор запускает новую сюжетную ветку. Одно решение меняет всё.
Flag MCP привносит ту же силу в программирование с помощью ИИ. Когда ваш ИИ-ассистент оказывается на распутье, он не гадает — он поднимает флаг и ждет, пока вы выберете маршрут.
🎮 Вы — главный герой. ИИ ждет в каждой точке ветвления.
💎 Каждый флаг формирует маршрут. Больше никаких спекулятивных переписываний кода.
🚀 Богатые возможности взаимодействия. Текст, скриншоты, аннотации — весь ваш арсенал.
Это превращает программирование с ИИ из «надеюсь, это сработает» в повествование, где вы держите контроллер в своих руках.
Область применения:
Планы программирования с оплатой за каждый запрос.
Разработчики, которые хотят контролировать поведение ИИ.
Related MCP server: Human-In-the-Loop MCP Server
🔥 До и после
❌ Без Flag MCP | ✅ С Flag MCP |
ИИ гадает → неверный код → болезненная переделка | ИИ поднимает флаг → вы выбираете → верный код |
Несколько раундов «подожди, что ты имел в виду?» | Один структурированный диалог, предельно ясно |
Тревога: «Что сейчас сделает ИИ?!» | Уверенность: каждое действие подтверждено вами |
Беспомощный пассажир | Вы — тот, кто прокладывает маршрут |
🎯 Основные функции
🖥️ Темный интерфейс — элегантное нативное диалоговое окно, которое вписывается в ваш рабочий процесс
✅ Выбор маршрута — структурированные предопределенные варианты (в стиле чекбоксов)
💬 Свободный текст — когда предопределенных маршрутов недостаточно, напишите свой собственный сценарий
📷 Арсенал мультимедиа
Вставка изображений из буфера обмена
Выбор локальных файлов
Скриншот + встроенный аннотатор (прямоугольник, круг, стрелка, перо, текст, обрезка)
🖼️ Изображения для подсказок — ИИ может показывать вам изображения (локальные пути,
file://,http(s)://)🔒 Безопасность прежде всего — удаленные изображения проверяются, ограничены по размеру, загружаются асинхронно
🎨 Оптимизировано для macOS — правильная обработка иконок и визуальная полировка
📦 Установка
Предварительные требования
Python
>= 3.11uv(рекомендуется) илиpip
Быстрая установка
git clone https://github.com/pauoliva/interactive-feedback-mcp.git
cd interactive-feedback-mcp
uv sync⚙️ Конфигурация
Добавьте в конфигурацию вашего MCP-клиента:
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"]
}
}
}⚠️ Примечание: Тайм-аут указан в миллисекундах для Cursor (
900000= 15 мин). Некоторые клиенты используют секунды — настройте соответствующим образом.
🚩 Инструмент interactive_feedback
Аргументы
Параметр | Тип | Описание |
|
| Вопрос/подсказка для отображения |
|
| Опционально. Выбор маршрута для быстрых решений |
|
| Опционально. Изображения для отображения (локальные/удаленные URL) |
Возвращаемые значения
Текстовая обратная связь от пользователя
Опциональные вложения изображений (как блоки контента изображений MCP)
🧙 Советы профессионалов
Рекомендуемые правила для агента
Добавьте это в пользовательские инструкции вашего ИИ-ассистента:
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.Переменные окружения
Переменная | По умолчанию | Описание |
|
| Максимальное время жизни процесса UI |
| — | Путь к пользовательской иконке приложения |
|
| Тайм-аут получения удаленного изображения |
|
| Максимальный размер удаленного изображения (10 МБ) |
🛡️ Безопасность и надежность
✅ Удаленные изображения проверяются по типу контента (
image/*)✅ Большие полезные нагрузки отклоняются через ограничение размера
✅ Асинхронная загрузка поддерживает отзывчивость интерфейса
✅ Локальные файлы считываются только при явном обращении
📄 Лицензия
Лицензия MIT — форкайте, помечайте, выпускайте.
🚩 Установите свой флаг. Напишите свой собственный маршрут.
Сделано с 💜 для разработчиков, которые отказываются быть NPC в своей собственной кодовой базе.
Available Tools
1 toolinteractive_feedbackA
Request interactive feedback from the user. Supports text and image attachments. 使用方式:
当你通过此工具询问用户时,务必说明需要用户确定的内容。
请在完成用户布置的工作后调用该工具时,提供"结束"的选项,如果用户选择,则本次请求结束. 使用技巧:
请给出可选项,让用户选择,选项中请包涵你最推荐的选项,并说明理由.
针对每个选项,请给出对应的描述,让用户了解每个选项的含义. 什么时候使用:
每当你全部工作完成时,请调用此工具,而非直接结束流程.
每当你遇到需要用户确定的点时(例如进行需求讨论,或者执行任务中遇到重要分岔路口时),务必调用此工具.
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | The specific question for the user | |
| predefined_options | No | Predefined options for the user to choose from (optional) | |
| message_images | No | Image paths to render in the prompt area (optional) |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the interaction pattern (blocking request for user input, option-based responses) but lacks technical behavioral traits such as timeout behavior, session persistence, or data handling. It covers 'how to use' but omits 'what happens under the hood' details expected for a user-input tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description uses clear structural headers (Usage method, Usage tips, When to use) but is verbose due to extensive bilingual content. The Chinese examples, while helpful for behavior modeling, make the description longer than necessary for agent consumption, and the language mixing reduces structural coherence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema, the description appropriately focuses on behavioral guidance rather than return values. It comprehensively covers invocation patterns and option structuring, though it would benefit from mentioning timeout handling or error conditions for full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, establishing a baseline of 3. The description adds semantic value beyond the schema by specifying in the Chinese text that predefined_options should include a recommended choice with rationale and an 'end' option, providing substantive usage guidance for parameter population that the raw schema lacks.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence clearly states the tool requests interactive feedback and supports text/image attachments. However, the extensive Chinese instructions, while useful, create a bilingual structure that slightly reduces immediate clarity for agents parsing primarily English content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The Chinese text under '什么时候使用' (when to use) provides explicit when/when-not guidance, specifically stating to invoke this tool when work is completed instead of directly ending the process, and when encountering decision points requiring user confirmation. It also explicitly references '使用方式' (usage method) and '使用技巧' (usage tips) for detailed alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v0.1.1- First observed
interactive_feedback
TDQS
Scored across 1 tool
With only one tool available, there is no ambiguity or risk of tool misselection. The single tool has a clear, distinct purpose that does not overlap with any other tools.
The single tool follows a clear snake_case naming convention. While 'interactive' is an adjective rather than a verb, there are no other tools to create inconsistency, so the naming pattern is uniform.
A single tool is insufficient for the apparent 'Flag' domain suggested by the server name. Even for a minimal utility server, one generic feedback tool represents a severely undersized tool surface that likely cannot fulfill the server's intended purpose.
The server named 'Flag MCP' implies a feature flag or flagging domain, yet provides only a generic user feedback tool with no flag creation, management, querying, or lifecycle operations. This represents a severely incomplete surface for the stated purpose.
Maintenance
Related MCP Connectors
Human-in-the-loop for AI coding agents — ask questions, get approvals via Slack.
Give any AI agent a way to ask a person — for approval, a decision, an answer or a review.
- MaketaOAuthpro.maketa
Build and edit app screen mockups and clickable prototypes from your AI assistant.
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to request user input through interactive popups in VS Code, supporting button selections, text inputs, and confirmation dialogs. This system allows for seamless human-in-the-loop interactions without interrupting the conversational flow.4-
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with humans through GUI dialogs for text input, choices, confirmations, and information display.6MIT
- AlicenseAqualityFmaintenanceEnables AI assistants like Claude to interact with humans through intuitive GUI dialogs, supporting text input, choices, confirmations, and information displays.6163MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to request user input through customizable desktop forms, returning structured data.1MIT