### [顺序思维服务器](https://s.ddm.chat/link/707) **Published:** 2026-07-23T02:00:22 **Author:** 颠倒梦 **Excerpt:** 一个提供动态和反思性问题解决工具的服务,通过结构化思维过程帮助分解复杂问题。 # 顺序思维MCP服务器 MCP服务器实现,通过结构化思维过程提供动态和反思性问题解决的工具。 ## 特性 - 将复杂问题分解为可管理的步骤 - 随着理解的加深,修改和完善想法 - 分支到其他推理路径 - 动态调整想法总数 - 生成并验证解决方案假设 ## 工具 ### 顺序思考 为解决问题和分析提供详细的、循序渐进的思维过程。 **输入:** - `thought` (string):当前思考步骤 - `nextThoughtNeeded` (boolean):是否需要另一个思考步骤 - `thoughtNumber` (整数):当前思想数 - `totalThoughts` (整数):估计所需的总想法 - `isRevision` (boolean,可选):这是否改变了之前的想法 - `revisesThought` (整数,可选):正在重新考虑哪个想法 - `branchFromThought` (整数,可选):分支点思想数 - `branchId` (字符串,可选):分支标识符 - `needsMoreThoughts` (boolean,可选):如果需要更多想法 ## 用法 顺序思维工具旨在: - 将复杂问题分解为步骤 - 规划和设计,有修改空间 - 可能需要修正航向的分析 - 最初可能不清楚全部范围的问题 - 需要在多个步骤中保持上下文的任务 - 需要过滤掉无关信息的情况 ## 配置 ### 使用Claude Desktop 将此添加到您的 `claude_desktop_config.json`: #### npx ```json { "mcpServers": { "sequential-thinking": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-sequential-thinking" ] } } } ``` #### 码头工人 ```json { "mcpServers": { "sequentialthinking": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/sequentialthinking" ] } } } ``` 要禁用思想信息集env-var的日志记录,请执行以下操作: `DISABLE_THOUGHT_LOGGING` 到 `true`. 评论 ### 使用VS代码 要快速安装,请单击下面的安装按钮之一。.. [](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40modelcontextprotocol%2Fserver-sequential-thinking%22%5D%7D)[](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40modelcontextprotocol%2Fserver-sequential-thinking%22%5D%7D&quality=insiders) [](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22mcp%2Fsequentialthinking%22%5D%7D)[](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22mcp%2Fsequentialthinking%22%5D%7D&quality=insiders) 对于手动安装,您可以使用以下方法之一配置MCP服务器: **方法1:用户配置(推荐)** 将配置添加到用户级MCP配置文件中。打开命令选项板(`Ctrl + Shift + P`)然后跑 `MCP: Open User Configuration`。这将打开您的用户 `mcp.json` 您可以在其中添加服务器配置的文件。 **方法2:工作空间配置** 或者,您可以将配置添加到名为的文件中 `.vscode/mcp.json` 在您的工作空间中。这将允许您与他人共享配置。 > 有关VS Code中MCP配置的更多详细信息,请参阅 [官方VS Code MCP文档](https://code.visualstudio.com/docs/copilot/mcp). 对于NPX安装: ```json { "servers": { "sequential-thinking": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-sequential-thinking" ] } } } ``` 对于Docker安装: ```json { "servers": { "sequential-thinking": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/sequentialthinking" ] } } } ``` ## 建筑 Docker: ```bash docker build -t mcp/sequentialthinking -f src/sequentialthinking/Dockerfile . ``` ## 许可证 此MCP服务器根据MIT许可证获得许可。这意味着您可以根据MIT许可证的条款和条件自由使用、修改和分发软件。有关更多详细信息,请参阅项目存储库中的LICENSE文件。 ---