ZM

zengwenliang416/mcp-server-sequential-thinking

Developer tools
42 stars 0 forks 品質 55 トレンド 55

A powerful MCP server implementing sequential thinking protocol that provides a structured approach to problem-solving.

概要

A powerful MCP server implementing sequential thinking protocol that provides a structured approach to problem-solving.

README

Sequential Thinking MCP Server

📖 Overview

A powerful MCP server implementing sequential thinking protocol that provides a structured approach to problem-solving. This server helps break down complex problems into manageable steps while maintaining flexibility for revisions and alternative reasoning paths.

✨ Features

  • 🔍 Structured Analysis - Break down complex problems into manageable steps
  • 🔄 Iterative Refinement - Revise and refine thoughts as understanding deepens
  • 🌲 Alternative Pathways - Branch into alternative paths of reasoning
  • 📊 Dynamic Adjustment - Adjust the total number of thoughts as needed
  • ✅ Solution Validation - Generate and verify solution hypotheses

🛠️ Tool Interface

sequential_thinking

Facilitates a detailed, step-by-step thinking process for problem-solving and analysis.

Input Parameters

Parameter Type Required Description
thought string Yes The current thinking step
nextThoughtNeeded boolean Yes Whether another thought step is needed
thoughtNumber integer Yes Current thought number
totalThoughts integer Yes Estimated total thoughts needed
isRevision boolean No Whether this revises previous thinking
revisesThought integer No Which thought is being reconsidered
branchFromThought integer No Branching point thought number
branchId string No Branch identifier
needsMoreThoughts boolean No If more thoughts are needed

🎯 Use Cases

The Sequential Thinking tool is ideal for:

  • 📝 Complex problems requiring step-by-step breakdown
  • 🎨 Planning and design projects needing iterative refinement
  • 🔄 Analysis workflows that may require course correction
  • 🌐 Situations where the full scope isn’t initially clear
  • 📚 Tasks that need to maintain context over multiple steps
  • 🔍 Filtering out irrelevant information from complex scenarios

⚙️ Integration Methods

Using with Claude Desktop

Using with Cursor IDE

🚀 Building From Source

📄 Publishing Guide

🔐 CI/CD Configuration

❗ Troubleshooting

If you encounter integration issues:

  1. 🔧 Use the local build method with absolute path to the JS file
  2. 📝 Verify file permissions: chmod +x dist/index.js
  3. 🐳 Try Docker as an alternative
  4. 📚 Consult Cursor’s documentation for latest MCP integration methods

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🔗 Source Code

Based on modelcontextprotocol/servers and maintained at zengwenliang416/mcp-server-sequential-thinking.

View this README on GitHub

インストール

npx -y @zengwenliang/mcp-server-sequential-thinking

設定

{ "mcpServers": { "sequential-thinking": { "command": "npx", "args": [ "-y", "@zengwenliang/mcp-server-sequential-thinking" ] } } }