agent-never-give-up — Claude Code MCP server: setup
This MCP server gives coding agents structured prompts for getting unstuck when reasoning loops, bug fixes keep failing, or requirements are unclear.
claude mcp add agent-never-give-up -- npx -y agent-never-give-up-mcpWhat agent-never-give-up does
The server offers scenarios for common agent stalls: repeated failed fixes, tangled reasoning, losing sight of the original goal, or letting a task grow beyond its scope. Each protocol helps the agent restate the goal, review what has failed, and choose a different approach.
Core scenarios are available as direct MCP tools. Extended ones are found with list_scenarios, then retrieved with get_prompt. Both static and sampling modes are supported. Extended scenarios take an extra discovery step; core tools can be called directly.
In Claude Code, add the server with claude mcp add and run it through npx. Listed platforms also include Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.
What it helps with
- break out of circular reasoning
- review repeated failed bug fixes
- clarify missing requirements
- recover the original task goal
- spot changes that exceed the task scope
Example prompts for the agent
- My reasoning keeps going in circles. Help me find a different approach.
- Several attempts to fix this bug have failed. Review them and suggest a new strategy.
- Check whether these changes still match the original task scope.
How to install agent-never-give-up
Platform CLI
claude mcp add agent-never-give-up -- npx -y agent-never-give-up-mcpPlatform CLI
codex mcp add agent-never-give-up -- npx -y agent-never-give-up-mcpConfig file
{
"mcpServers": {
"agent-never-give-up": {
"command": "npx",
"args": [
"-y",
"agent-never-give-up-mcp"
]
}
}
}Config file
{
"servers": {
"agent-never-give-up": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-never-give-up-mcp"
]
}
}
}Platform CLI
gemini mcp add agent-never-give-up npx -y agent-never-give-up-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about agent-never-give-up
How do I install agent-never-give-up in Claude Code?
Run claude mcp add agent-never-give-up -- npx -y agent-never-give-up-mcp. This adds the server as an MCP tool.
What does agent-never-give-up do?
It provides scenarios for agent work that has stalled, such as failed bug fixes or unclear requirements. The prompts guide the agent to revisit its goal and try a different strategy.
How do I access an extended scenario?
Use list_scenarios to find one, then call get_prompt to retrieve its prompt. Core scenarios are available as direct MCP tools.