Back to MCP directory
publicPublicdnsLocal runtime

Branch Thinking MCP Server

基于分支思维的MCP服务器工具,支持多线程思考导航和智能洞察生成

article

README

🚀 分支思考

分支思考是一个MCP服务器,它实现了基于分支的思维导航,能有效帮助用户组织和管理复杂的思路。其核心价值在于提供了一套系统的方法,让用户可以轻松处理多个思路分支,并在不同思路间灵活切换,还能自动生成见解,大大提升思考和决策的效率。

🚀 快速开始

分支思考基于sequential-thinking工具实现,你可以通过以下链接查看该工具: https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking

✨ 主要特性

  • 分支管理:能够创建不同的思路分支,并在这些分支之间自由导航,方便用户在不同的思考方向之间切换。
  • 交叉引用:通过类型化关系,将不同分支中的相关思想进行链接,帮助用户发现思想之间的潜在联系。
  • 见解生成:可以从思想的关键点自动生成见解,为用户提供新的思考视角和方向。
  • 优先级跟踪:根据信心和连接情况,跟踪各个分支的优先级,让用户能够聚焦于重要的思路。

📦 安装指南

步骤一:放置项目

将此项目放在您的自定义MCP工具目录中。

步骤二:安装依赖并构建项目

npm install
npm run build 

步骤三:配置文件

在您的claude_desktop_config.json中添加以下内容:

"branch-thinking": {
  "command": "node",
  "args": [
    "/your-custom-mcp-dir-here/branch-thinking/dist/index.js"
  ]
}

💻 使用示例

基础用法

  • list:显示所有分支及其当前状态。
# 显示所有分支及其当前状态
list
  • focus [branchId]:切换到特定分支。
# 切换到ID为123的分支
focus 123
  • history [branchId?]:显示分支中的思想历史记录。
# 显示ID为123的分支中的思想历史记录
history 123

📚 详细文档

提示

Claude通常不会主动使用工具,除非明确提示。

如果您希望在未被提示时使用此工具,请将以下内容添加到您的Claude配置文件或系统提示中:

如果我要求您“逐步思考”、“思考后再回应”或“使用链式思维”,这意味着要使用分支思考工具。如果您认为您的回答会受益于多个步骤,不妨自行使用分支思考工具。

信用

我不能假装大部分代码是我写的。大部分代码是由Claude生成的。这个概念是我的,以及测试、修复和实现工作也是如此。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client