
Agent Never Give Up
io.github.askman-dev由 GitHub 帳號 askman-dev 發布v0.1.0更新於 Oct 24, 2026
An escape guide for coding agents, providing structured thinking tools to help agents unstick.
概覽
為程式開發智能體提供結構化的「脫困」協定:依情境回傳後設認知提示,協助重新錨定目標並改用新策略。
- 可以做什麼
- 針對特定卡點呼叫情境工具,例如循環推理、反覆修復失敗、需求缺失、目標遺失、任務範圍蔓延、剩餘工作被遺忘、同一策略反覆失敗。
- 探索更多情境並取得任一情境提示(核心或擴充),包括分析過久、驗收標準不明、抽象層級不當、限制彼此衝突、環境限制造成阻塞。
- 回傳結構化 Markdown 協定,重新錨定目標、彙整失敗並提出新策略,支援靜態與取樣兩種模式。
- 適用情境
- 當你在 Cursor、Claude Desktop、Cline 或 Windsurf 中執行程式開發智能體,希望它在陷入迴圈、反覆修復失敗或分析癱瘓時能自行恢復,而不是把問題交回給你時,值得加入。
- 執行需求
- README 描述的是在用戶端設定中加入的雲端 HTTP MCP 端點,無需本機安裝、帳號或金鑰。但清單列出的是透過 stdio 執行的本機 npm 套件,安裝前請確認實際採用哪一種形式。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Never Give Up,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Agent Never Give Up MCP
This is a MCP server that acts as a "escape guide" for AI coding agents.
It provides structured thinking protocols to help agents unstuck themselves without human help.
The diagram below illustrates when an agent should call this server and what it receives in return:
Features
- Remote MCP server at
/mcpendpoint (Streamable HTTP specification compliant) - Two-tier scenario organization:
- Core scenarios (auto-registered as direct MCP tools):
logic-is-too-complex– for circular reasoning or over-complicated logicbug-fix-always-failed– for repeated failed bug fix attemptsmissing-requirements– for unclear or missing requirementslost-main-objective– for when current actions feel disconnected from the original goalscope-creep-during-task– for when changes expand beyond the original task scopelong-goal-partially-done– for multi-step tasks where remaining work is forgottenstrategy-not-working– for when the same approach fails repeatedly
- Extended scenarios (discovered via
list_scenarios, accessed viaget_prompt):analysis-too-long– for excessive analysis timeunclear-acceptance-criteria– for undefined acceptance criteriawrong-level-of-detail– for working at wrong abstraction levelconstraints-cant-all-be-met– for conflicting requirements or constraintsblocked-by-environment-limits– for environmental blockers vs logic problems
- Core scenarios (auto-registered as direct MCP tools):
- Discovery tools:
list_scenarios– list all scenarios with their tier (core/extended)get_prompt– access any scenario (core or extended)
- Dual mode support: Each tool supports
staticandsamplingmodes - Community-contributed prompts via markdown files
- Public and auth-less (v0)
- Cloudflare Workers deployment
Configuration
Since agent-never-give-up is a cloud-hosted MCP server, no local installation is required. Simply add the server configuration to your preferred AI tool.
Install in Cursor
- Open Cursor Settings > MCP.
- Click + Add new global MCP server.
- Use the following configuration (or edit your
~/.cursor/mcp.jsonfile directly):
Install in Claude Desktop
To configure the server for Claude Desktop, edit the configuration file located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following entry to the mcpServers object:
Install in Cline
- Open Cline and click the MCP Servers icon (☰).
- Select the Remote Servers tab (if available) or click Configure MCP Servers.
- Edit the
cline_mcp_settings.jsonfile to include:
Install in Windsurf
- Open Windsurf.
- Go to File > Settings > Configure MCP Servers (or edit
~/.codeium/windsurf/mcp_config.json). - Add the server configuration:
Development
To contribute to this project or run a local instance:
The local server will be available at http://localhost:8787/mcp.
Contributing Prompts
Prompts are organized in two tiers within the prompts/ directory:
Prompt File Format
Each tool.md file follows a simple markdown format with YAML frontmatter and a single protocol body:
Key principles:
- The
descriptionexplains when to use the tool (the trigger condition) - The body is a single protocol with numbered sections
- Each section has 2–6 concrete steps
- Focus on how to think, not domain-specific details
- No system prompt / user prompt template sections—just one actionable protocol
See prompts/AGENTS.md for detailed guidance on writing effective prompts.
Adding a New Scenario
Scenarios are auto-discovered from the prompts/ tree and the generated files in src/prompts/generated-scenarios.ts and src/types/generated-scenarios.ts. You do not need to manually edit TypeScript files—just add the prompt and regenerate.
Core scenarios (auto-registered as tools):
- Create a new directory:
prompts/core/{scenario_name}/(must match/^[a-z0-9]+(-[a-z0-9]+)*$/). - Add a
tool.mdfile following the format above. - Run
npm run generate:scenariosto regenerate types and discovery data.
Extended scenarios (accessible via get_prompt):
- Create a new directory:
prompts/extended/{scenario_name}/(same naming rules as above). - Add a
tool.mdfile following the format above. - Run
npm run generate:scenariosto regenerate types and discovery data.
Deploy
After deployment, your MCP endpoint will be:
https://agent-never-give-up-mcp.<account>.workers.dev/mcp
License
MIT
來源:README.md,提交 be62b53
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。