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

特徴

  • ブランチ管理: 異なる思考ラインを作成し、その間を移動する

  • 相互参照: 型付けされた関係を使用して、ブランチ間で関連する考えをリンクします。

  • インサイト: 思考の重要なポイントから自動的にインサイトを生成します

  • 優先度追跡: 信頼度と接続に基づいてブランチの優先度を追跡します

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 プロファイル設定 (またはシステム プロンプト) に次のような内容を追加します。

「段階的に考えてください」「返答する前に考えてください」「思考の連鎖を使ってください」とお願いする場合、それは分岐思考ツールを使うことを意味します。返答に複数のステップが必要だと思ったら、ぜひご自身でも分岐思考ツールを使ってみてください。

クレジット

このコードの大部分を私が書いたとは言い切れません。ほとんどはクロードが生成したものです。コンセプトは私自身のもので、テスト、修正、実装もすべて私のものです。

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