An escape guide for coding agents, providing structured thinking tools to help agents unstick.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
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:
/mcp endpoint (Streamable HTTP specification compliant)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 repeatedlylist_scenarios, accessed via get_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 problemslist_scenarios β list all scenarios with their tier (core/extended)get_prompt β access any scenario (core or extended)static and sampling modesSince 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.
~/.cursor/mcp.json file directly):To configure the server for Claude Desktop, edit the configuration file located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the following entry to the mcpServers object:
cline_mcp_settings.json file to include:~/.codeium/windsurf/mcp_config.json).To contribute to this project or run a local instance:
The local server will be available at http://localhost:8787/mcp.
Prompts are organized in two tiers within the prompts/ directory:
Each tool.md file follows a simple markdown format with YAML frontmatter and a single protocol body:
Key principles:
description explains when to use the tool (the trigger condition)See prompts/AGENTS.md for detailed guidance on writing effective prompts.
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):
prompts/core/{scenario_name}/ (must match /^[a-z0-9]+(-[a-z0-9]+)*$/).tool.md file following the format above.npm run generate:scenarios to regenerate types and discovery data.Extended scenarios (accessible via get_prompt):
prompts/extended/{scenario_name}/ (same naming rules as above).tool.md file following the format above.npm run generate:scenarios to regenerate types and discovery data.After deployment, your MCP endpoint will be:
https://agent-never-give-up-mcp.<account>.workers.dev/mcp
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agent-never-give-up)<a href="https://allmcps.com/mcp/agent-never-give-up"><img src="https://allmcps.com/api/badge/agent-never-give-up?style=directory" alt="Agent Never Give Up on AllMCPs" /></a>