Skip to main content
Glama
m-siles

Branch Thinking MCP Server

by m-siles

分支思维

实现基于分支的思维导航的 MCP 服务器,支持:

  • 多种思想分支

  • 分支导航(列表、焦点、历史记录)

  • 相关思想之间的交叉引用

  • 从关键点产生洞察

  • 分支优先级跟踪

这是基于此处提供的sequential-thinking工具: https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking

特征

  • 分支管理:创建和导航不同的思路

  • 交叉引用:通过类型关系将不同分支间的相关想法联系起来

  • Insights :自动从思考的关键点生成洞察

  • 优先级跟踪:根据信心和连接跟踪分支优先级

Related MCP server: UltraThink

命令

  • 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 生成的。概念、测试、修复和实现都是我自己的。

Available Tools

1 tool
branch-thinkingC

A tool for managing multiple branches of thought with insights and cross-references.

Each thought can:

  • Belong to a specific branch

  • Generate insights

  • Create cross-references to other branches

  • Include confidence scores and key points

The system tracks:

  • Branch priorities and states

  • Relationships between thoughts

  • Accumulated insights

  • Cross-branch connections

Commands:

  • list: Show all branches and their status

  • focus [branchId]: Switch focus to a specific branch

  • history [branchId?]: Show the history of thoughts in a branch (uses active branch if none specified)

ParametersJSON Schema
NameRequiredDescriptionDefault
branchIdNoOptional: ID of the branch (generated if not provided)
commandNoOptional: Navigation command
confidenceNoOptional: Confidence score (0-1)
contentNoThe thought content
crossRefsNoOptional: Cross-references to other branches
keyPointsNoOptional: Key points identified in the thought
parentBranchIdNoOptional: ID of the parent branch
relatedInsightsNoOptional: IDs of related insights
typeNoType of thought (e.g., 'analysis', 'hypothesis', 'observation')

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It describes system tracking (priorities, states, relationships) and thought capabilities (insights, cross-references), but it fails to disclose critical behavioral traits such as whether operations are read-only or destructive, authentication needs, rate limits, or how data is persisted. This leaves significant gaps for an agent to understand the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded with a purpose statement, followed by bullet points and commands. Each sentence earns its place by detailing capabilities and usage, though it could be slightly more streamlined by integrating the commands into the flow rather than as a separate section.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (9 parameters, nested objects, no output schema) and lack of annotations, the description is incomplete. It covers basic functionality but misses critical context like return values, error handling, or operational constraints, making it inadequate for an agent to fully understand how to invoke and interpret results from this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 9 parameters thoroughly. The description adds no specific parameter semantics beyond what the schema provides, such as explaining how 'confidence' scores affect operations or the meaning of 'crossRefs' in practice. Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool is for 'managing multiple branches of thought with insights and cross-references,' which gives a general purpose but lacks a specific verb and resource. It doesn't distinguish from siblings (none provided), but the purpose remains somewhat vague without concrete examples of what 'managing' entails beyond the listed commands.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through the 'Commands' section (list, focus, history), suggesting when to use these specific actions, but it lacks explicit guidance on when to use this tool overall versus alternatives (none provided) or any exclusions. The context is implied rather than clearly stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedbranch-thinking

TDQS

B3/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'branch-thinking' has a clear and distinct purpose for managing thought branches, making disambiguation perfect.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'branch-thinking' follows a clear noun-based pattern, and there are no other tools to cause inconsistency.

Tool Count2/5

A single tool is too few for the apparent scope of managing multiple branches of thought with features like listing, focusing, and showing history. This server likely needs additional tools (e.g., for creating branches, adding thoughts, or deleting branches) to be well-scoped, making the count inappropriate.

Completeness2/5

The tool surface is severely incomplete for the domain of thought management. While the tool handles listing, focusing, and history, there are significant gaps such as creating or deleting branches, adding or modifying thoughts, and managing insights or cross-references directly, which will cause agent failures in comprehensive workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A Python-based MCP server that facilitates structured problem-solving through sequential thinking, branching, and confidence scoring. It allows users to track assumptions and manage multiple concurrent reasoning sessions to break down complex tasks.
    1
    20
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    An MCP server that structures AI reasoning as directed acyclic graphs of semantic thoughts, enabling explicit dependencies, assumption tracking, and cascade invalidation for transparent decision-making.
    7 npm
    5
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A thinking assistant MCP server that helps you reason through problems using structured frameworks like first principles and sequential thinking, starting wherever you are — clear, messy, or fragmentary.
    10 npm
    MIT