
Agent Never Give Up MCP
- 5 repo stars
- Updated November 29, 2025
- askman-dev/agent-never-give-up-mcp
io.github.askman-dev/agent-never-give-up is a MCP server that offers structured thinking tools to help coding agents get unstuck during review and fix cycles.
About
Agent Never Give Up is an MCP server aimed at coding agents that stall on ambiguous errors, repeated failed patches, or analysis paralysis. Instead of another generic “try again” prompt, it advertises structured thinking tools—an escape guide—exposed through stdio so hosts like Claude Code, Cursor, or Codex can call them mid-session. developers shipping under tight deadlines benefit when an agent starts cycling on tests, migrations, or integration bugs and needs a forced change of strategy: hypothesis lists, narrowed scope, or explicit stop-and-replan steps. Distributed via npm as version 0.1.0, it installs as a peer MCP server rather than a markdown skill, which makes it easy to toggle per project. Pair it with your normal test-and-review workflow; it does not replace reading logs or running repro commands. Treat outputs as facilitation—you still own verification before merge.
- npm package `agent-never-give-up-mcp` (0.1.0) with stdio transport
- Described as an escape guide with structured thinking tools for stuck coding agents
- Published on the MCP registry schema (2025-10-17) from askman-dev GitHub
- Lightweight add-on for Claude Code–class hosts when default retry loops fail
- Complements debugging skills by offering MCP-invokable unstick routines
Agent Never Give Up MCP by the numbers
- Data as of Aug 10, 2026 (Skillselion catalog sync)
claude mcp add agent-never-give-up-mcp -- npx -y agent-never-give-up-mcpAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| repo stars | ★ 5 |
|---|---|
| Package | agent-never-give-up-mcp |
| Transport | STDIO |
| Auth | None |
| Last updated | November 29, 2025 |
| Repository | askman-dev/agent-never-give-up-mcp ↗ |
What it does
Give your coding agent structured “unstick” thinking tools when loops, vague errors, or dead ends slow shipping.
Who is it for?
Best when you use Claude Code or Cursor and hit agent retry loops on bugs, refactors, or flaky tests near release.
Skip if: Skip if you need deep runtime debuggers, profilers, or production incident runbooks without any agent in the loop.
What you get
After registering the MCP server, your agent can invoke structured unstick tools to reset strategy and move toward a shippable fix.
- Registered unstick MCP server beside your main coding tools
- Callable structured thinking routines when agents stall
- Clearer handoff from stuck exploration back to reviewable patches
By the numbers
- Version 0.1.0 (npm identifier: agent-never-give-up-mcp)
- stdio transport
- Registry schema dated 2025-10-17
README.md
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:
graph TD
%% 1. The Normal Loop
UserLoop["<b>User Query & Agent Loop</b><br/>(Claude Code / Windsurf / Cursor)<br/>Agent executing tasks..."]
%% 2. The Problem (Triggers)
subgraph Triggers ["Agent Gets Stuck (Trigger State)"]
direction TB
S1["Circular Reasoning"]
S2["Bug Fix Fails"]
S3["Missing Info"]
S4["Analysis Paralysis"]
S5["Unclear 'Done' State"]
end
%% Flow: Loop -> Stuck
UserLoop -.->|"⚠️ Detects Issue<br/>(Inner Loop Stall)"| Triggers
%% 3. The Solution (MCP Call)
subgraph MCP ["Agent Never Give Up MCP"]
direction TB
T1(logic-is-too-complex)
T2(bug-fix-always-failed)
T3(missing-requirements)
T4(analysis-too-long)
T5(unclear-acceptance-criteria)
end
%% Mapping Triggers to Tools
S1 -->|Call| T1
S2 -->|Call| T2
S3 -->|Call| T3
S4 -->|Call| T4
S5 -->|Call| T5
%% 4. The Response
MCP -->|Returns| R1["<b>Metacognitive Protocol</b><br/>Structured markdown to:<br/>1. Re-anchor goal<br/>2. Summarize failures<br/>3. Propose NEW strategy"]
%% 5. The Outcome
R1 --> Result["<b>Autonomous Recovery</b><br/>Agent unblocks itself &<br/>resumes execution<br/>(No Human Hand-off)"]
%% Cycle back to loop
Result -.->|"Resumes Loop"| UserLoop
%% Styling
classDef loop fill:#e1f5fe,stroke:#01579b,stroke-width:2px;
classDef trigger fill:#ffebee,stroke:#b71c1c,stroke-width:2px;
classDef tool fill:#fff3e0,stroke:#e65100,stroke-width:2px;
classDef response fill:#e8f5e9,stroke:#1b5e20,stroke-width:2px;
class UserLoop loop;
class S1,S2,S3,S4,S5 trigger;
class T1,T2,T3,T4,T5 tool;
class R1,Result response;
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):
{
"mcpServers": {
"agent-never-give-up": {
"type": "http",
"url": "https://agent-never-give-up-mcp.askman.dev/mcp",
"note": "A 'Swiss Army knife' toolset to help agents recover from getting stuck"
}
}
}
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:
{
"mcpServers": {
"agent-never-give-up": {
"type": "http",
"url": "https://agent-never-give-up-mcp.askman.dev/mcp"
}
}
}
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:
{
"mcpServers": {
"agent-never-give-up": {
"type": "http",
"url": "https://agent-never-give-up-mcp.askman.dev/mcp",
"note": "A comprehensive suite of tools designed to keep agents persistent and unstuck"
}
}
}
Install in Windsurf
- Open Windsurf.
- Go to File > Settings > Configure MCP Servers (or edit
~/.codeium/windsurf/mcp_config.json). - Add the server configuration:
{
"mcpServers": {
"agent-never-give-up": {
"type": "http",
"url": "https://agent-never-give-up-mcp.askman.dev/mcp"
}
}
}
Development
To contribute to this project or run a local instance:
# Install dependencies
npm install
The local server will be available at http://localhost:8787/mcp.
Contributing Prompts
Prompts are organized in two tiers within the prompts/ directory:
prompts/
├── core/ # Core scenarios (auto-registered as tools)
│ ├── logic-is-too-complex/
│ │ └── tool.md
│ ├── bug-fix-always-failed/
│ │ └── tool.md
│ └── missing-requirements/
│ └── tool.md
└── extended/ # Extended scenarios (via list_scenarios + get_prompt)
├── analysis-too-long/
│ └── tool.md
└── unclear-acceptance-criteria/
└── tool.md
Prompt File Format
Each tool.md file follows a simple markdown format with YAML frontmatter and a single protocol body:
---
name: scenario_name
title: "Scenario Title"
description: "When / why the agent should call this tool, from the agent's perspective"
---
When you notice [the trigger condition], follow this exact protocol step by step.
## 1. First step title
1. Action item one.
2. Action item two.
3. Action item three.
Keep it concrete.
## 2. Second step title
...
## 3. Third step title
...
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
# Deploy to Cloudflare Workers
npm run deploy
After deployment, your MCP endpoint will be:
https://agent-never-give-up-mcp.<account>.workers.dev/mcp
License
MIT
Recommended MCP Servers
How it compares
Agent-focused unstick MCP utility, not a test runner, linter, or full debugging methodology skill.
FAQ
Who is io.github.askman-dev/agent-never-give-up for?
Developers and agent-heavy workflows where the coding assistant loops on errors and needs structured de-escalation tools.
When should I use io.github.askman-dev/agent-never-give-up?
Use it during Ship review when attempts are repeating, progress has stalled, and you want MCP-backed thinking structure before merging.
How do I add io.github.askman-dev/agent-never-give-up to my agent?
Install the npm package `agent-never-give-up-mcp`, register it as a stdio MCP server in Claude Code or your host config, restart, and call its tools when sessions stall.