thinking-protocol-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@thinking-protocol-mcp start a thinking session to debug the login timeout issue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Thinking Protocol MCP Server
A Model Context Protocol (MCP) server that implements a structured 6-stage thinking framework for systematic problem-solving and decision-making.
🎯 Overview
This MCP server provides tools to guide AI agents through a rigorous thinking process with 6 mandatory stages:
OBSERVE - Capture objective inputs only
ANALYZE - Derive meaning and context
ROOT - Identify true underlying cause
ACT - Define actionable decisions
VALIDATE - Verify outcome and correctness
IMPROVE - Prevent recurrence and strengthen system
Related MCP server: Taskmaster MCP Server
🚀 Installation
Option 1: Via NPM (Recommended - After Publishing)
npm install -g thinking-protocol-mcpOption 2: From GitHub
git clone https://github.com/RimGit-N/thinking-protocol-mcp.git
cd thinking-protocol-mcp
npm installOption 3: Via NPX (No Installation Required)
npx -y thinking-protocol-mcp🔧 Configuration
Add to your MCP configuration file (e.g., mcp_config.json or Claude Desktop config):
Using NPX (Recommended)
{
"mcpServers": {
"thinking-protocol": {
"command": "npx",
"args": [
"-y",
"thinking-protocol-mcp"
]
}
}
}Using Global Installation
{
"mcpServers": {
"thinking-protocol": {
"command": "thinking-protocol-mcp",
"args": []
}
}
}Using Local Clone
{
"mcpServers": {
"thinking-protocol": {
"command": "node",
"args": [
"/absolute/path/to/thinking-protocol-mcp/index.js"
]
}
}
}Complete Example with Multiple MCP Servers
If you're using multiple MCP servers together:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"-y",
"chrome-devtools-mcp"
]
},
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
},
"thinking-protocol": {
"command": "npx",
"args": [
"-y",
"thinking-protocol-mcp"
]
}
}
}Note: Make sure there's a comma (,) between each server entry, except after the last one.
🛠️ Available Tools
1. thinking_start_session
Start a new thinking protocol session.
Input:
{
"task_description": "Description of the problem to solve"
}Output:
{
"success": true,
"session_id": "session_1234567890_abc123",
"next_stage": "observe",
"protocol": { ... }
}2. thinking_execute_stage
Execute a specific stage of the protocol.
Input:
{
"session_id": "session_1234567890_abc123",
"stage": "observe",
"data": {
"facts": "Factual data...",
"signals": "Important indicators...",
"state": "Current system state..."
}
}Stage Requirements:
Stage | Required Keys |
observe |
|
analyze |
|
root |
|
act |
|
validate |
|
improve |
|
3. thinking_get_status
Get current status of a thinking session.
Input:
{
"session_id": "session_1234567890_abc123"
}4. thinking_get_protocol
Get the complete protocol configuration.
Input:
{}5. thinking_validate_session
Validate if all stages are completed correctly.
Input:
{
"session_id": "session_1234567890_abc123"
}📋 Usage Example
// 1. Start session
const session = await thinking_start_session({
task_description: "Optimize database query performance"
});
// 2. Execute OBSERVE stage
await thinking_execute_stage({
session_id: session.session_id,
stage: "observe",
data: {
facts: "Query takes 5 seconds, 10M rows, no indexes",
signals: "CPU usage spikes to 100% during query",
state: "Production database, peak hours"
}
});
// 3. Execute ANALYZE stage
await thinking_execute_stage({
session_id: session.session_id,
stage: "analyze",
data: {
patterns: "Full table scans on large dataset",
assumptions: "No proper indexing strategy",
context: "Legacy system, no recent optimization"
}
});
// ... continue with remaining stages
// 6. Validate session
const validation = await thinking_validate_session({
session_id: session.session_id
});🔒 Execution Rules
Mode: STRICT - All stages must be completed
Ordered: TRUE - Stages must be executed in sequence
Allow Skip: FALSE - Cannot skip any stage
Require All Keys: TRUE - All required keys must be filled
🎓 When to Use
Mandatory for:
✅ Complex problem-solving
✅ Root cause analysis
✅ Architectural decisions
✅ Security analysis
✅ Performance optimization
Optional for:
⚪ Simple, straightforward tasks
⚪ Routine operations
📄 License
MIT
👤 Author
Rimuru
Available Tools
5 toolsthinking_execute_stageB
Execute a specific stage of the thinking protocol. Stages must be executed in order: observe → analyze → root → act → validate → improve
Inputs: data (required), stage (required), session_id (required).
thinking_get_protocolB
Get the complete thinking protocol configuration including all stages and their required keys
Inputs: no named parameters.
thinking_get_statusB
Get current status of a thinking session including completed stages and next required stage
Inputs: session_id (required).
thinking_start_sessionB
Start a new thinking protocol session for complex problem-solving. Returns a session ID to track progress through the 6 stages.
Inputs: task_description (required).
thinking_validate_sessionC
Validate if all stages have been completed correctly with all required keys filled
Inputs: session_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct lifecycle operation: session creation, stage execution, status retrieval, protocol config retrieval, and validation. There is no meaningful overlap between any pair, so an agent can unambiguously select the correct tool.
All five tools follow a uniform snake_case pattern with a 'thinking_' namespace prefix followed by a verb_noun (start_session, execute_stage, get_status, get_protocol, validate_session). The convention is fully predictable.
Five tools is a well-scoped size for a guided-protocol server, with each tool earning its place in the start→execute→status→validate flow. Nothing feels redundant or missing at the count level.
The core lifecycle (start, run stages, check status, fetch config, validate) is covered, but there is no way to abort/reset a session, list existing sessions, or retrieve detailed stage outputs/feedback. These are minor gaps an agent can largely work around via status and validation.
Maintenance
Related MCP Connectors
Build, validate, and deploy multi-agent AI solutions from any AI environment.
AI agent run monitoring with incident replay and SLA receipts.
Governed behavior for AI applications and coding agents: define, evaluate, release and inspect.
Preflight QA for AI-agent deliverables with structured verdicts and repair guidance.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables structured problem-solving through sequential thinking stages with persistent storage and analysis. Helps break down complex problems into manageable cognitive steps while tracking progress and generating summaries of the entire thought process.MIT
- AlicenseAqualityBmaintenanceProvides AI agents with simplified task management through a 4-step workflow (create session, define tasks, execute, complete) that works with any LLM without requiring complex thinking patterns.11MIT
- AlicenseBqualityDmaintenanceProvides 10 structured reasoning strategies (Chain of Thought, ReAct, Tree of Thoughts, etc.) for complex problem-solving with session persistence, branching, and tool integration capabilities.33 npm28MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to achieve production-ready solutions through iterative refinement and recursive thinking processes. It features token optimization via context compression and session-based tracking to improve problem-solving depth while minimizing cost.6MIT