MA

masony817/ask-human-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

153 stars 9 forks 质量 67 趋势 0MIT

masony817/ask-human-mcp 是从 https://github.com/masony817/ask-human-mcp. 导入的 MCP 服务器候选

概览

masony817/ask-human-mcp 是从 https://github.com/masony817/ask-human-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

阻止你的人工智能产生幻觉。当它困惑时给它一条逃生路线,而不是虚假的自信。

痛苦

AI脱口而出一个从未存在过的终点

代理人做出的假设根本不真实,且信心是虚假的

重复100次错误,你一天都在调试错误和问题上,而你其实可以直接提问

修复

一个MCP服务器,让特工举手而不是产生幻觉。感觉就像指导一个精明的实习生,他会先问问题再猜测。

特工→ ask_human() ⬇ 问题降落在ask_human.MD ⬇ 你把“待定”换成答案 ⬇ 代理继续编码

样本文件:

你下水:

砰。流程继续,希望问题能得到解决。

为什么它很好

  • PIP 安装 Ask-Human-MCP →完成
  • 零配置,跨平台支持
  • 监控文件,即时反馈
  • 多名特工,轻松
  • 锁定+限制,确保一切不起火
  • Markdown 的完整问答历史(调试时有良好的纸质记录)

30秒准备

.cursor/mcp.json:

重启光标和震动。

它是如何运作的

  1. AI卡→呼叫 ask_human(question, context)
  2. 问题已记录→出现在ask_human.md中,并以唯一ID出现

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ask-human mcp 🧑‍💻🤝🤖

stop your ai from hallucinating. gives it an escape route when confused instead of false confidence.

the pain

ai blurts out an endpoint that never existed

the agent makes assumptions that are simply not true and has false confidence

repeat x100 errors and your day is spent debugging false confidence and issues when you could simply ask a question

the fix

an mcp server that lets the agent raise its hand instead of hallucinating. feels like mentoring a sharp intern who actually asks before guessing.

agent → ask_human()
⬇
question lands in ask_human.md
⬇
you swap “PENDING” for the answer
⬇
agent keeps coding

sample file:

### Q8c4f1e2a
ts: 2025-01-15 14:30  
q: which auth endpoint do we use?  
ctx: building login form in auth.js  
answer: PENDING

you drop:

answer: POST /api/v2/auth/login

boom. flow continues and hopefully the issues are solved.

why it’s good

  • pip install ask-human-mcp → done
  • zero config, cross-platform
  • watches the file, instant feedback
  • multiple agents, no sweat
  • locks + limits so nothing catches fire
  • full q&a history in markdown (nice paper-trail for debugging)

30-sec setup

pip install ask-human-mcp
ask-human-mcp

.cursor/mcp.json:

{
  "mcpServers": {
    "ask-human": { "command": "ask-human-mcp" }
  }
}

restart cursor and vibe.

how it works

  1. ai gets stuck → calls ask_human(question, context)
  2. question logged → appears in ask_human.md with unique ID
  3. human answers → replace “PENDING” with your response
  4. ai continues → uses your answer to proceed

the ai receives your answer and keeps coding!

config options (if you want them)

command line

ask-human-mcp --help
ask-human-mcp --port 3000 --host 0.0.0.0  # http mode
ask-human-mcp --timeout 1800               # 30min timeout  
ask-human-mcp --file custom_qa.md          # custom q&a file
ask-human-mcp --max-pending 50             # max concurrent questions
ask-human-mcp --max-question-length 5000   # max question size
ask-human-mcp --rotation-size 10485760     # rotate file at 10mb

different clients

cursor (local):

{
  "mcpServers": {
    "ask-human": {
      "command": "ask-human-mcp",
      "args": ["--timeout", "900"]
    }
  }
}

cursor (http):

{
  "mcpServers": {
    "ask-human": {
      "url": "http://localhost:3000/sse"
    }
  }
}

claude desktop:

{
  "mcpServers": {
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ask-human": { "command": "ask-human-mcp" } } }