Recursive Thinking MCP Server
Chain-of-Thought Recursive Thinking MCP Server
v2.2.0 - Expert Roles, Custom Checklists, and Strict Validation!
Token-efficient MCP server that makes AI agents think deeper through structured reasoning chains, self-critique, and automatic rethinking loops.
π― What's New in v2.2.0
Feature | Description | Benefit |
Expert Roles | AI assumes specific personas (e.g., Security Architect) | Rigorous perspective-based thinking |
Custom Checklists | Validate solutions against specific requirements | Tailored quality enforcement |
Strict Mode | Prevents finalization unless all criteria are met | High-bar production quality |
Chain of Thought | AI explains WHY it chose each solution | Transparent reasoning, better decisions |
Self-Evaluation | AI rates its own solutions (1-10 scale) | Honest assessment of solution quality |
Rethink Loop | Automatic rethinking if rating <7 or issues found | Continuous improvement |
β¨ Features
π§ Chain of Thought: AI must explain reasoning behind every decision
π Expert Roles: Inject specialized expertise into the thinking process
π Custom Checklists: Force AI to validate against your specific requirements
βοΈ Strict Mode: Ensure the AI never settles for "good enough"
π Self-Evaluation: AI rates solutions with score (1-10), good/bad flag, and rationale
π Continuous Rethinking: Automatically rethinks if solution scored <7 or has weaknesses
π― Phase-Based Workflow: Structured 5-phase thinking process
π° Token Optimized: Smart compression, phase-focused prompts (~70% reduction)
π How It Works
The 5 Phases
βββββββββββββββ
β 1. EXPLORE β βββ Propose solution with reasoning & expert perspective
ββββββββ¬βββββββ
βΌ
βββββββββββββββ
β 2. JUSTIFY β βββ Critically examine reasoning & assumptions
ββββββββ¬βββββββ
βΌ
βββββββββββββββ
β 3. EVALUATEβ βββ Rate solution (1-10) against checklist
ββββββββ¬βββββββ
βΌ
βββββ΄ββββ
β Score β
β β₯7? β ββNOββ βββββββββββββββ
βββββ¬ββββ β 4. RETHINK β βββ Improve based on weaknesses
βYES ββββββββ¬βββββββ
βΌ β
βββββββββββββββ β
β 5. FINALIZEβ ββββββββββββ
βββββββββββββββπ Usage
Starting a Thinking Session with Advanced Config
await mcp.callTool('recursive_thinking', {
action: 'start',
task: 'Design a highly available database schema for a global payment system',
config: {
role: 'Database Reliability Engineer',
checklist: [
'Must handle 10k transactions/sec',
'ACID compliance mandatory',
'Multi-region failover strategy',
'Data encryption at rest and in transit'
],
strictMode: true,
minRating: 8
}
});βοΈ Configuration Options
Parameter | Type | Default | Description |
| string | - | Expert persona to assume (e.g., 'Senior DevOps') |
| string[] | [] | Specific requirements to validate against |
| boolean | false | If true, fails instead of finalizing if criteria aren't met |
| number | 5 | Maximum recursion depth |
| number | 0.85 | Stop when confidence meets threshold |
| number | 7 | Minimum acceptable score (1-10) |
| boolean | true | Enable continuous refinement loop |
π¦ Installation
npx -y recursive-thinking-mcpπ License
MIT
π Links
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rover-001/recursive-thinking-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server