Enhanced Sequential Thinking Server
Contribute to lnehc/mcp-sequential-thinking development by creating an account on GitHub.
lnehc
README
Enhanced Sequential Thinking MCP Server
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.
<a href="https://glama.ai/mcp/servers/m83dfy8feg"><img width="380" height="200" src="https://glama.ai/mcp/servers/m83dfy8feg/badge" alt="Sequential Thinking Server MCP server" /></a>
Features
- š§ 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
Prerequisites
- Python 3.11 or higher
- UV package manager (Install Guide)
Project Structure
mcp-sequential-thinking/
āāā mcp_sequential_thinking/
ā āāā server.py
ā āāā __init__.py
āāā README.md
āāā pyproject.toml
Quick Start
-
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
Claude Desktop Integration
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"
]
}
}
}
API
The server exposes two main tools:
1. sequential_thinking
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
2. get_thinking_summary
This tool generates a summary of the entire thinking process.
Troubleshooting
Common issues:
- Server Connection Issues
- Verify paths in claude_desktop_config.json
- Check Claude Desktop logs:
%APPDATA%\Claude\logs - Test manual server start
License
MIT License
Acknowledgments
- Model Context Protocol framework
- Claude Desktop team
Recommended Servers
E2B
Using MCP to run code via e2b.
React MCP
react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts
Mult Fetch MCP Server
A versatile MCP-compliant web content fetching tool that supports multiple modes (browser/node), formats (HTML/JSON/Markdown/Text), and intelligent proxy detection, with bilingual interface (English/Chinese).
AIO-MCP Server
š All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from
Search1API MCP Server
A Model Context Protocol (MCP) server that provides search and crawl functionality using Search1API.
Fetch MCP Server
Provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
Supabase MCP Server (used by Deploya.dev)
Enables Cursor and Windsurf to safely interact with Supabase databases by providing tools for database management, SQL query execution, and Supabase Management API access with built-in safety controls.
OpenRouter MCP Server
Provides integration with OpenRouter.ai, allowing access to various AI models through a unified interface.
Perplexity Deep Research
A server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.
Docx Document Processing Service
A powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preserves original styles when editing content.