This project implements an advanced Sequential Thinking server using the Model Context Protocol (MCP). It provides a structured and flexible approach to problem-solving and decision-making through a series of thought steps, incorporating stages, scoring, and tagging.
- 🧠 Structured Problem Solving: Break down complex problems into defined stages
- 📊 Progress Tracking: Monitor thought sequences, branches, and revisions
- 🏷️ Thought Categorization: Tag and score thoughts for better organization
- 📈 Dynamic Adaptation: Adjust the thinking process as new insights emerge
- 📝 Summary Generation: Get an overview of the entire thinking process
- Python 3.11 or higher
- UV package manager (Install Guide)
mcp-sequential-thinking/
├── mcp_sequential_thinking/
│ ├── server.py
│ └── __init__.py
├── README.md
└── pyproject.toml
-
Set Up Project
# Create and activate virtual environment uv venv .venv\Scripts\activate # Windows source .venv/bin/activate # Unix # Install package and dependencies uv pip install -e .
-
Run the Server
cd mcp_sequential_thinking uv run server.py
Add to your Claude Desktop configuration (%APPDATA%\Claude\claude_desktop_config.json
on Windows):
{
"mcpServers": {
"sequential-thinking": {
"command": "uv",
"args": [
"--directory",
"C:\\path\\to\\your\\mcp-sequential-thinking\\mcp_sequential_thinking",
"run",
"server.py"
]
}
}
}
The server exposes two main tools:
This tool processes individual thoughts in the sequential thinking process.
Parameters:
thought
(str): The content of the current thoughtthought_number
(int): The sequence number of the current thoughttotal_thoughts
(int): The total number of thoughts expectednext_thought_needed
(bool): Whether another thought is neededstage
(str): The current stage of thinking (Problem Definition, Analysis, Ideation, Evaluation, Conclusion)is_revision
(bool, optional): Whether this revises previous thinkingrevises_thought
(int, optional): Which thought is being reconsideredbranch_from_thought
(int, optional): Branching point thought numberbranch_id
(str, optional): Branch identifierneeds_more_thoughts
(bool, optional): If more thoughts are neededscore
(float, optional): Score for the thought (0.0 to 1.0)tags
(List[str], optional): List of tags for categorizing the thought
This tool generates a summary of the entire thinking process.
Common issues:
- Server Connection Issues
- Verify paths in claude_desktop_config.json
- Check Claude Desktop logs:
%APPDATA%\Claude\logs
- Test manual server start
MIT License
- Model Context Protocol framework
- Claude Desktop team