ThumbGate
MCP Memory Gateway captures explicit structured feedback from AI coding agents, validates it against a rubric engine, and auto-promotes repeated failures into…
Что умеет
- Capture Feedback: Capture an up/down signal plus one line of why. Vague feedback is logged, then returned with a clarification prompt instead of memory promotion.
- Feedback Summary: Get summary of recent feedback
- Feedback Stats: Get feedback stats and recommendations
Какие данные видит
Нужен ли аккаунт
Не нужен: сервер работает без входа
MCP Memory Gateway captures explicit structured feedback from AI coding agents, validates it against a rubric engine, and auto-promotes repeated failures into prevention rules enforced via PreToolUse hooks. Pre-action gates physically block tool calls matching known failure patterns before execution — turning past mistakes into hard constraints rather than suggestions. Supports semantic recall via LanceDB vectors, DPO/KTO export for downstream fine-tuning, and a file watcher bridge for external signal ingestion. Compatible with Claude Code, Codex, Gemini, Amp, Cursor, and OpenCode. Install with npx mcp-memory-gateway init or claude mcp add rlhf -- npx -y mcp-memory-gateway serve. MIT licensed, open source.
Как подключить
Как подключить ThumbGate к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://mcp-memory-gateway-v2--rlhf-loop.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить ThumbGate к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://mcp-memory-gateway-v2--rlhf-loop.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить ThumbGate к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://mcp-memory-gateway-v2--rlhf-loop.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (29)
Технические названия из tools/list. Нужны только разработчикам.
| capture_feedback | Capture an up/down signal plus one line of why. Vague feedback is logged, then returned with a clarification prompt instead of memory promotion. |
| feedback_summary | Get summary of recent feedback |
| feedback_stats | Get feedback stats and recommendations |
| diagnose_failure | Diagnose a failed or suspect workflow step using MCP schema, workflow, gate, and approval constraints. |
| list_intents | List available intent plans and whether each requires human approval in the active profile |
| plan_intent | Generate an intent execution plan with policy checkpoints |
| start_handoff | Start a sequential delegation handoff from a delegation-eligible intent plan |
| complete_handoff | Complete a sequential delegation handoff and record verification outcomes |
| describe_reliability_entity | Get the definition and state of a business entity (Customer, Revenue, Funnel). Aliased to describe_semantic_entity. |
| get_reliability_rules | Retrieve active prevention rules and success patterns. Aliased to prevention_rules. |
| capture_memory_feedback | Capture success/failure feedback to harden future workflows. Aliased to capture_feedback. |
| bootstrap_internal_agent | Normalize a GitHub/Slack/Linear trigger into startup context, construct a recall pack, prepare a git worktree sandbox, and emit an execution plus reviewer-lane plan. |
| prevention_rules | Generate prevention rules from repeated mistake patterns |
| export_dpo_pairs | Export DPO preference pairs from local memory log |
| export_databricks_bundle | Export RLHF logs and proof artifacts as a Databricks-ready analytics bundle |
| construct_context_pack | Construct a bounded context pack from contextfs |
| evaluate_context_pack | Record evaluation outcome for a context pack |
| context_provenance | Get recent context/provenance events |
| generate_skill | Auto-generate Claude skills from repeated feedback patterns. Clusters failure patterns by tags and produces SKILL.md files with DO/INSTEAD rules. |
| recall | Recall relevant past feedback, memories, and prevention rules for the current task. Call this at the start of any task to inject past learnings into the conversation. |
| satisfy_gate | Satisfy a gate condition (e.g., after checking PR threads). Evidence is stored with a 5-minute TTL. |
| gate_stats | Get gate enforcement statistics -- blocked count, warned count, top gates |
| dashboard | Get full RLHF dashboard -- approval rate, gate stats, prevention impact, system health |
| commerce_recall | Recall past feedback filtered by commerce categories (product_recommendation, brand_compliance, sizing, pricing, regulatory). Returns quality scores alongside memories for agentic commerce agents. |
| get_business_metrics | Retrieve high-level business metrics (Revenue, Conversion, Customers) from the Semantic Layer. |
| describe_semantic_entity | Get the canonical definition and state of a business entity (Customer, Revenue, Funnel). |
| estimate_uncertainty | Estimate Bayesian uncertainty for a set of tags based on past feedback. |
| session_handoff | Write a session handoff primer that auto-captures git state (branch, last 5 commits, modified files), last completed task, next step, and blockers. The next session reads this automatically for seamless context continuity. |
| session_primer | Read the most recent session handoff primer to restore context from the previous session. Call at session start. |