一个基于分支的思维导航实现的MCP服务器,支持以下功能:
这基于以下sequential-thinking工具:
https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking
list:显示所有分支及其当前状态focus [branchId]:切换到特定分支history [branchId?]:显示分支的思想历史将此项目放置在您的自定义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"
]
}
除非明确提示,否则Claude通常不会使用工具。
如果您希望在没有提示的情况下使用此工具,请在您的Claude个人设置(或系统提示)中添加如下内容:
如果我要求您“逐步思考”、“先思考再回应”或“使用思维链”,这意味着要使用branch-thinking工具。如果您认为您的回答可以从多个步骤中受益,请毫不犹豫地自行使用branch-thinking工具。
我不能假装大部分代码是我写的。大部分代码是由Claude生成的。概念是我的,测试、修复和实现也是我的。