Cover image
Try Now
2025-04-14

🧠MCP顺序思维服务器的改编以指导工具使用情况。该服务器提供了建议在每个阶段最有效的MCP工具的建议。

3 years

Works with Finder

1

Github Watches

21

Github Forks

92

Github Stars

mcp-sequentialthinking-tools

An adaptation of the MCP Sequential Thinking Server designed to guide tool usage in problem-solving. This server helps break down complex problems into manageable steps and provides recommendations for which MCP tools would be most effective at each stage.

A Model Context Protocol (MCP) server that combines sequential thinking with intelligent tool suggestions. For each step in the problem-solving process, it provides confidence-scored recommendations for which tools to use, along with rationale for why each tool would be appropriate.

Features

  • 🤔 Dynamic and reflective problem-solving through sequential thoughts
  • 🔄 Flexible thinking process that adapts and evolves
  • 🌳 Support for branching and revision of thoughts
  • 🛠️ Intelligent tool recommendations for each step
  • 📊 Confidence scoring for tool suggestions
  • 🔍 Detailed rationale for tool recommendations
  • 📝 Step tracking with expected outcomes
  • 🔄 Progress monitoring with previous and remaining steps
  • 🎯 Alternative tool suggestions for each step

How It Works

This server analyses each step of your thought process and recommends appropriate MCP tools to help accomplish the task. Each recommendation includes:

  • A confidence score (0-1) indicating how well the tool matches the current need
  • A clear rationale explaining why the tool would be helpful
  • A priority level to suggest tool execution order
  • Alternative tools that could also be used

The server works with any MCP tools available in your environment. It provides recommendations based on the current step's requirements, but the actual tool execution is handled by the consumer (like Claude).

Example Usage

Here's an example of how the server guides tool usage:

{
	"thought": "Initial research step to understand what universal reactivity means in Svelte 5",
	"current_step": {
		"step_description": "Gather initial information about Svelte 5's universal reactivity",
		"expected_outcome": "Clear understanding of universal reactivity concept",
		"recommended_tools": [
			{
				"tool_name": "search_docs",
				"confidence": 0.9,
				"rationale": "Search Svelte documentation for official information",
				"priority": 1
			},
			{
				"tool_name": "tavily_search",
				"confidence": 0.8,
				"rationale": "Get additional context from reliable sources",
				"priority": 2
			}
		],
		"next_step_conditions": [
			"Verify information accuracy",
			"Look for implementation details"
		]
	},
	"thought_number": 1,
	"total_thoughts": 5,
	"next_thought_needed": true
}

The server tracks your progress and supports:

  • Creating branches to explore different approaches
  • Revising previous thoughts with new information
  • Maintaining context across multiple steps
  • Suggesting next steps based on current findings

Configuration

This server requires configuration through your MCP client. Here are examples for different environments:

Cline Configuration

Add this to your Cline MCP settings:

{
	"mcpServers": {
		"mcp-sequentialthinking-tools": {
			"command": "npx",
			"args": ["-y", "mcp-sequentialthinking-tools"]
		}
	}
}

Claude Desktop with WSL Configuration

For WSL environments, add this to your Claude Desktop configuration:

{
	"mcpServers": {
		"mcp-sequentialthinking-tools": {
			"command": "wsl.exe",
			"args": [
				"bash",
				"-c",
				"source ~/.nvm/nvm.sh && /home/username/.nvm/versions/node/v20.12.1/bin/npx mcp-sequentialthinking-tools"
			]
		}
	}
}

API

The server implements a single MCP tool with configurable parameters:

sequentialthinking_tools

A tool for dynamic and reflective problem-solving through thoughts, with intelligent tool recommendations.

Parameters:

  • thought (string, required): Your current thinking step
  • next_thought_needed (boolean, required): Whether another thought step is needed
  • thought_number (integer, required): Current thought number
  • total_thoughts (integer, required): Estimated total thoughts needed
  • is_revision (boolean, optional): Whether this revises previous thinking
  • revises_thought (integer, optional): Which thought is being reconsidered
  • branch_from_thought (integer, optional): Branching point thought number
  • branch_id (string, optional): Branch identifier
  • needs_more_thoughts (boolean, optional): If more thoughts are needed
  • current_step (object, optional): Current step recommendation with:
    • step_description: What needs to be done
    • recommended_tools: Array of tool recommendations with confidence scores
    • expected_outcome: What to expect from this step
    • next_step_conditions: Conditions for next step
  • previous_steps (array, optional): Steps already recommended
  • remaining_steps (array, optional): High-level descriptions of upcoming steps

Development

Setup

  1. Clone the repository
  2. Install dependencies:
pnpm install
  1. Build the project:
pnpm build
  1. Run in development mode:
pnpm dev

Publishing

The project uses changesets for version management. To publish:

  1. Create a changeset:
pnpm changeset
  1. Version the package:
pnpm changeset version
  1. Publish to npm:
pnpm release

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see the LICENSE file for details.

Acknowledgments

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

    Reviews

    3 (1)
    Avatar
    user_kF3O7XDH
    2025-04-17

    As a dedicated user of mcp-sequentialthinking-tools, I am thoroughly impressed by its efficiency and versatility. This tool by spences10 is a game-changer for anyone needing a structured approach to problem-solving and task management. It’s user-friendly, seamlessly integrating into my workflow. Highly recommended for anyone looking to boost productivity! Check it out at https://github.com/spences10/mcp-sequentialthinking-tools.