Skip to main content
Glama
ssdeanx

Thought Space - MCP Advanced Branch-Thinking Tool

by ssdeanx

🧠 神经架构师(NA)| MCP 分支思维工具

MCP 兼容 版本MIT 许可证 TypeScript 欢迎 PR 构建状态 覆盖范围

通过分支管理、语义分析、认知增强等方式,实现跨多个AI平台的结构化思考和分析的MCP工具。

📚 目录

  1. 概述

  2. 系统架构

  3. 平台支持

  4. MCP 集成

  5. 项目时间表

  6. 核心功能

  7. 安装和使用

  8. 命令参考

  9. 绩效指标

  10. 贡献

  11. 执照

Related MCP server: Branch Thinking

🤖 支持的平台

平台

地位

一体化

克劳德

原生支持

VSCode 副驾驶

通过 MCP 扩展

光标

直接集成

袋鼠

🚧

正在开发中

命令行

CLI 工具

克劳德·科德

原生支持

🎯 概述

Neural Architect 通过以下方式增强 AI 交互:

  • 🌳 多分支思维管理

  • 🔍 跨平台语义分析

  • ⚖️ 通用偏见检测

  • 📊 标准化分析

  • 🔄 自适应学习

  • 🔌 针对特定平台的优化

系统要求

成分

要求

笔记

Node.js

≥18.0.0

MCP 协议必需

TypeScript

≥5.3.0

为了类型安全

记忆

≥512MB

建议:1GB

贮存

≥100MB

用于缓存和分析

网络

低延迟

建议<50ms

关键指标

类别

当前的

目标

地位

响应时间

<100毫秒

<50毫秒

🚧

思维处理

1000/秒

2000/秒

🚧

向量维度

384

512

准确性

95%

98%

🚧

平台覆盖范围

5/6

6/6

🚧

🎯 MCP 集成状态

当前实施

地位

特征

描述

MCP 协议

与 MCP 服务器/客户端架构完全兼容

标准传输

标准I/O通讯通道

工具注册

自动与 Claude 进行注册

思维处理

结构化思维处理

🚧

实时更新

思维处理过程中的实时反馈

多模型支持

与其他法学硕士课程的兼容性

即将推出的 MCP 功能

  • 🔄 流式响应支持

  • 🔌 针对特定型号适配器的插件系统

  • 🔗 工具间通信

  • 📊 模型情境感知

🎯 项目时间表(甘特图)

gantt
    title Neural Architect Development Timeline
    dateFormat  YYYY-MM-DD
    axisFormat  %b-%d
    todayMarker on

    section Completed
    v0.1.0 Initial Release      :done, v1, 2025-01-15, 2025-01-30
    Core MCP Protocol          :done, mcp, 2025-02-01, 2025-02-05
    Semantic Processing        :done, sem, 2025-02-05, 2025-02-10
    Analytics Engine           :done, ana, 2025-02-10, 2025-02-15
    v0.2.0 Release             :done, v2, 2025-02-15, 2025-02-19

    section Current Sprint
    Advanced Visualization     :active, vis, 2025-03-10, 2025-03-16
    Real-time Updates          :active, rt, 2025-03-12, 2025-03-28
    Roo Integration            :roi, 2025-03-14, 2025-03-31
    Performance Optimization   :opt, 2025-03-15, 2025-03-30
    Plugin System              :plug, 2025-03-17, 2025-04-05

    section Q2 2025
    Streaming Response         :stream, 2025-04-01, 2025-04-15
    Enhanced Error Handling    :err, 2025-04-16, 2025-04-30
    Multi-modal Processing     :multi, 2025-05-01, 2025-05-15
    Knowledge Graph            :graph, 2025-05-16, 2025-05-31
    Pattern Recognition        :pat, 2025-06-01, 2025-06-30

    section Q3 2025
    Cross-tool Communication   :cross, 2025-07-01, 2025-07-31
    Context-aware Processing   :context, 2025-08-01, 2025-08-31
    Custom Embeddings          :embed, 2025-09-01, 2025-09-30

    section Q4 2025
    API Gateway                :api, 2025-10-01, 2025-10-31
    Real-time Collaboration    :collab, 2025-11-01, 2025-11-30
    v1.0 Release               :milestone, v3, 2025-12-15, 2025-12-31

    section Platform Support
    Claude Support             :done, claude, 2025-01-15, 2025-12-31
    VSCode Support             :done, vscode, 2025-02-01, 2025-12-31
    Cursor Support             :done, cursor, 2025-02-01, 2025-12-31
    CLI Support                :done, cli, 2025-02-15, 2025-12-31
    Roo Support                :active, roo, 2025-02-19, 2025-12-31

📌 关键路径依赖

  • 高级可视化 → 实时更新

  • 插件系统 → 跨工具通信

  • 知识图谱 → 上下文感知处理

  • 模式识别 → 自定义嵌入

  • API 网关 → v1.0 发布

🎯 里程碑日期

  • v0.1.0:2025 年 1 月 15 日
    初步实现核心功能和基本的 Claude 集成。

  • v0.2.0:2025 年 2 月 15 日
    发布具有偏见检测系统和强化学习(RL)集成以及增强分析功能的版本。

  • 🎯 v0.3.0:2025 年 3 月 31 日
    专注于改进语义处理和基础分析能力。

  • 🎯 v0.4.0:2025 年 6 月 30 日
    介绍高级可视化和初步的多模式处理功能。

  • 🎯 v0.5.0:2025 年 9 月 30 日
    整合知识图谱能力,进一步进行性能优化。

  • 🎯 v1.0.0:2025 年 12 月 15 日
    全面发布,API网关,实时协作,全平台支持。

注:时间表可能会根据开发进度和平台要求进行调整。


🎯 项目时间表和目标

本部分概述了项目的进度,概述了已完成的里程碑,详细介绍了当前的冲刺任务,并描述了即将开展的开发阶段。目标是保持透明度并确保所有平台集成的一致性。

✅ 已完成的里程碑

最后更新时间:2025 年 3 月 15 日 15:30 EST

日期

里程碑

细节

平台支持

2025年2月15日

v0.2.0 版本

通过 RL 集成实现的偏差检测系统;分析管道已优化。

所有平台

2025年2月10日

分析引擎

通过漂移检测和初始反馈集成建立的实时指标。

克劳德,光标

2025年2月5日

语义处理

推出向量嵌入和相似性搜索以增强语义分析。

所有平台

2025年2月1日

核心 MCP 协议

集成基本 MCP 协议,用于结构化思维处理和通信。

Claude,VSCode

2025年1月15日

v0.1.0 版本

初步实施重点关注核心功能和 Claude 集成。

只有克劳德


🚧 当前冲刺阶段(2025 年第一季度)

目标完成日期:2025年3月31日

在当前的冲刺阶段,团队专注于通过关键功能增强和平台集成来提升用户体验和系统性能:

地位

优先事项

目标

目标

平台

更多详细信息

🔄 90%

P0

高级可视化

2月25日

全部

开发动态和交互式的可视化界面,以深入了解思想分支。

🔄 75%

P0

实时更新

3月5日

克劳德,光标

实现连续数据流和交互式处理的实时反馈机制。

🔄 60%

P1

Roo 集成

3月15日

袋鼠

调整平台特定功能以便与 Roo 无缝集成。

🔄 40%

P1

性能优化

3月20日

全部

增强系统性能以减少延迟并提高整体吞吐量。

🔄 25%

P2

插件系统

3月31日

全部

为特定模型的适配器构建模块化插件系统,以促进未来的快速集成。


🗓️ 即将到来的里程碑

本节详细介绍了未来开发阶段的战略路线图。每个里程碑都定义了目标时间表、置信度和平台适用性,以确保所有领域都取得重点进展。

2025 年第二季度(4 月 - 6 月)

目标

信心

平台

描述

四月

流式响应支持

90%

全部

启用流式响应以支持实时数据处理和交互式输出。

四月

增强错误处理

85%

全部

集成先进的错误检测和恢复过程以确保系统弹性。

可能

多模态处理

75%

克劳德,光标

扩展处理图像、音频和视频以及文本的能力,以获得更丰富的分析范围。

可能

知识图谱集成

70%

全部

建立全面的知识图谱以链接数据并提供更深入的背景洞察。

六月

高级模式识别

65%

全部

开发复杂的算法来检测和分析复杂的思维模式和趋势。

2025 年第三季度(7 月至 9 月)

目标

信心

平台

描述

七月

跨工具通信

60%

全部

促进不同人工智能工具之间的无缝互操作性和数据交换。

八月

情境感知处理

55%

全部

增强系统动态适应用户环境以获得个性化见解的能力。

九月

自定义嵌入支持

50%

全部

引入可定制的嵌入配置来针对特定用例定制语义分析。

2025 年第四季度(10 月 - 12 月)

目标

信心

平台

描述

十月

高级 API 网关

45%

全部

开发强大的 API 网关来通过安全集成处理大量请求。

十一月

实时协作

40%

全部

构建协作功能,使多个用户能够实时互动并分享见解。

十二月

v1.0 版本

80%

全部

最终综合版本包括完整的功能集、API 集成和多平台支持。


本文档的维护旨在确保整个项目生命周期的透明度和清晰度。如需了解更多详情或更新,请参阅内部项目仪表板或联系项目负责人。

🎯 长期愿景(2025)

  • 🧠 先进的认知架构

  • 🔄 自我完善系统

  • 🤝 跨平台同步

  • 📊 高级可视化套件

  • 🔐 企业安全功能

  • 🌐 全球思想网络

⚠️ 已知挑战

  1. 跨平台一致性

  2. 实时性能

  3. 扩展语义搜索

  4. 内存优化

  5. API标准化

📈 进度指标

  • 代码覆盖率:87%

  • 性能指数:92/100

  • 平台支持:5/6

  • API稳定性:85%

  • 用户满意度:4.2/5

注意:所有日期和估计可能会根据开发进度和平台要求而发生变化。


最后更新时间:2025 年 3 月 15 日 15:30 EST
下次更新:2025年3月22日

⚡ 核心功能

🧠 认知处理

graph LR
    A[Input] --> B[Semantic Processing]
    B --> C[Vector Embedding]
    C --> D[Pattern Recognition]
    D --> E[Knowledge Graph]
    E --> F[Output]

语义引擎

  • 🔮 384 维思维向量

  • 🔍 上下文相似性搜索O(log n)

  • 🌐 多跳推理路径

  • 🎯 关系检测准确率达 95%

分析套件

  • 📊 实时分支指标

  • 📈 时间演化追踪

  • 🎯 语义覆盖映射

  • 🔄 漂移检测算法

偏差检测

  • 🎯 5 种认知偏差模式

  • 📉 严重程度量化

  • 🛠️ 自动缓解

  • 📊 持续监控

学习系统

  • 🧠 动态置信度评分

  • 🔄 强化反馈

  • 📈 性能优化

  • 🎯 自动参数调整

🚀 快速入门

特定平台的安装

# For Claude Desktop
{
  "branch-thinking": {
    "command": "node",
    "args": ["/path/to/tools/branch-thinking/dist/index.js"]
  }
}

# For VSCode
ext install mcp-branch-thinking

# For Cursor
cursor plugin install @mcp/branch-thinking

# For Command Line
npm install -g @mcp/branch-thinking-cli

# For Development
npm install @modelcontextprotocol/server-branch-thinking

使用示例

# Cursor
/think analyze this problem

# VSCode Copilot
#! branch-thinking: analyze

# Claude
Use branch-thinking to analyze...

# Command Line
na analyze "problem statement"

# Roo
@branch-thinking analyze

# Claude Code
/branch analyze

🛠️ 工具命令

基本命令

list                    # Show all thought branches
focus <branchId>        # Switch to specific branch
history [branchId]      # View branch history

高级功能

semantic-search <query> # Search across thoughts
analyze-branch <id>     # Generate branch analytics
detect-bias <id>        # Check for cognitive biases

🛠️ 命令参考

分析命令

na semantic-search "query" [--threshold=0.7] [--max=10]
na multi-hop "start" "end" [--depth=3]
na analyze-clusters [--method=dbscan] [--epsilon=0.5]

监控命令

na analyze branch-name [--metrics=all]
na track node-id [--window=5]
na detect-bias branch-name [--types=all]

🛠️ MCP 配置

{
  "name": "@modelcontextprotocol/server-branch-thinking",
  "version": "0.2.0",
  "type": "module",
  "bin": {
    "mcp-server-branch-thinking": "dist/index.js"
  },
  "capabilities": {
    "streaming": false,
    "batchProcessing": true,
    "contextAware": true
  }
}

📈 最近更新

[0.2.0]

  • ✨ 增强 MCP 协议支持

  • 🧠 偏见检测系统

  • 🔄强化学习

  • 📊 高级分析

  • 🎯 改进类型安全性

[0.1.0]

  • 🎉 初始 MCP 实现

  • 📝 基本思维处理

  • 🔗 交叉引用系统

🤝 贡献

欢迎贡献!请参阅贡献指南

📚 使用技巧

  1. 直接调用

    Use branch-thinking to analyze...
  2. 自动触发添加到Claude的系统提示:

    Use branch-thinking when asked to "think step by step" or "analyze thoroughly"
  3. 最佳实践

    • 从主分支开始

    • 为替代方案创建子分支

    • 使用交叉引用进行连接

    • 监测偏差分数

🏗️ 系统架构

graph TB
    subgraph Frontend["Frontend Layer"]
        direction TB
        UI["User Interface"]
        VIS["Visualization Engine"]
        INT["Platform Integrations"]
    end

    subgraph MCP["MCP Protocol Layer"]
        direction TB
        Server["MCP Server"]
        Transport["Stdio Transport"]
        Protocol["Protocol Handler"]
        Stream["Stream Processor"]
    end

    subgraph Core["Core Processing"]
        direction TB
        BM["Branch Manager"]
        SP["Semantic Processor"]
        BD["Bias Detector"]
        AE["Analytics Engine"]
        RL["Reinforcement Learning"]
        KG["Knowledge Graph"]
    end

    subgraph Data["Data Layer"]
        direction TB
        TB["Thought Branches"]
        TN["Thought Nodes"]
        SV["Semantic Vectors"]
        CR["Cross References"]
        IN["Insights"]
        Cache["Cache System"]
    end

    subgraph Analytics["Analytics Engine"]
        direction TB
        TM["Temporal Metrics"]
        SM["Semantic Metrics"]
        PM["Performance Metrics"]
        BS["Bias Scores"]
        ML["Machine Learning"]
    end

    subgraph Integration["Platform Integration"]
        direction TB
        Claude["Claude API"]
        VSCode["VSCode Extension"]
        Cursor["Cursor Plugin"]
        CLI["Command Line"]
        Roo["Roo Integration"]
    end

    %% Main Data Flow
    Frontend --> MCP
    MCP --> Core
    Core --> Data
    Core --> Analytics
    Integration --> MCP

    %% Detailed Connections
    UI --> VIS
    VIS --> INT
    Server --> Transport
    Transport --> Protocol
    Protocol --> Stream
    BM --> SP
    SP --> BD
    BD --> AE
    AE --> RL
    RL --> KG
    TB --> TN
    TN --> SV
    CR --> IN
    TM --> ML
    SM --> ML
    PM --> ML

    %% Status Styling
    classDef implemented fill:#90EE90,stroke:#333,stroke-width:2px,color:#000;
    classDef inProgress fill:#FFB6C1,stroke:#333,stroke-width:2px,color:#000;
    classDef planned fill:#87CEEB,stroke:#333,stroke-width:2px,color:#000;

    %% Implementation Status
    class UI,Server,Transport,Protocol,BM,SP,BD,AE,TB,TN,SV,CR,Claude,VSCode,Cursor,CLI implemented;
    class VIS,INT,Stream,RL,KG,Cache,TM,SM,PM,Roo inProgress;
    class ML,BS planned;

🔄 系统组件

✅已实施

  • MCP 层:标准 I/O 传输的完整协议支持

  • 核心处理:分支管理、语义分析、偏差检测

  • 数据结构:思维分支、节点和交叉引用

  • 平台支持:Claude、VSCode、Cursor、CLI 集成

🚧 开发中

  • 可视化:先进的力导向和分层布局

  • 流处理:实时思维处理和更新

  • 知识图谱:增强关系映射

  • 缓存系统:性能优化层

  • Roo 集成:特定平台的适配

⏳ 计划中

  • 机器学习:高级模式识别

  • 偏见评分:全面的偏见检测和缓解

  • 跨工具沟通:通用思想共享

🔄 数据流

  1. 通过平台集成接收的用户输入

  2. MCP 层处理协议转换

  3. 核心处理执行分析

  4. 数据层管理持久性

  5. 分析引擎提供见解

  6. 通过MCP层返回结果

⚡ 绩效指标

  • 响应时间:<100ms

  • 内存占用:<256MB

  • 缓存命中率:85%

  • API延迟:<50ms

  • 思维处理:1000/秒

注意:架构更新于 2024 年 2 月 19 日。组件反映当前的实施状态。

📊 详细指标

性能监控

  • CPU 使用率:<30%

  • 内存占用:<256MB

  • 网络输入/输出:<50MB/s

  • 磁盘 I/O:<10MB/s

  • 缓存命中率:85%

  • 响应时间:<100ms

  • 吞吐量:1000 个请求/秒

质量指标

  • 代码覆盖率:87%

  • 测试覆盖率:92%

  • 文档:88%

  • API稳定性:85%

  • 用户满意度:4.2/5

安全指标

  • 漏洞评分:A+

  • 依赖健康:98%

  • 更新频率:每周

  • 安全测试:100%

  • 合规性:SOC2

📄 许可证

麻省理工学院 © Deanmachines


[文档] • [示例] • [贡献] • [报告错误]

为模型上下文协议构建


最后更新时间:2025 年 3 月 15 日 15:30 EST 下次预定更新时间:2025 年 3 月 26 日

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

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions what the system tracks (priorities, relationships, insights) and lists commands, but doesn't explain critical behavioral aspects like whether operations are read-only or mutative, how data is persisted, error handling, or performance characteristics. The description adds some context about capabilities but leaves significant gaps in understanding how the tool behaves.

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

Conciseness3/5

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

The description is moderately structured with sections on capabilities, system tracking, and commands, but contains some redundancy (e.g., 'cross-references' mentioned multiple times) and could be more front-loaded. The command list is helpful but could be integrated more efficiently. Some sentences like 'Each thought can:' followed by a bullet list could be more concise.

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 tool's complexity (9 parameters, nested objects, no output schema, no annotations), the description is incomplete. It doesn't explain return values, error conditions, or how the various parameters interact. For a tool with this level of complexity and no structured metadata, the description should provide more comprehensive guidance about expected behaviors and outcomes.

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 doesn't add any meaningful parameter semantics beyond what's in the schema - it mentions thoughts can include confidence scores and key points, but these are already documented in the parameter descriptions. The baseline of 3 is appropriate when 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+resource combination. It mentions capabilities like generating insights and creating cross-references, but doesn't clearly distinguish from non-existent siblings or provide concrete examples of what 'managing' entails beyond listing commands.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, as there are no sibling tools mentioned. It lists commands but doesn't explain when each command is appropriate or what the tool's primary use cases are. No prerequisites, exclusions, or contextual recommendations are included.

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

TDQS

C2.8/5.0
Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'branch-thinking' has a single, clearly defined purpose for managing thought branches, so an agent cannot misselect among multiple options.

Naming Consistency5/5

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

Tool Count2/5

The server's purpose is advanced branch-thinking with features like managing branches, insights, cross-references, and tracking relationships. A single tool is too few for this scope, as it forces multiple operations (e.g., list, focus, history) into one tool, which could be better served by separate tools for clarity and functionality, making it feel thin and incomplete.

Completeness2/5

Inferring the domain from the description, the server aims to handle thought branches with operations like listing, focusing, and viewing history. However, with only one tool, there are significant gaps: no dedicated tools for creating, updating, or deleting branches or thoughts, and no tools for managing insights or cross-references directly, which will likely cause agent failures in complex workflows.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An AI personality collaboration tool based on Model Context Protocol (MCP) that enables users to summon and collaborate with multiple AI personas for intelligent analysis and problem-solving.
    3
    16
    4
    MIT
  • F
    license
    C
    quality
    F
    maintenance
    Provide systematic thinking, mental models, and debugging approaches to enhance problem-solving capabilities. Enable structured reasoning and decision-making support for complex problems. Facilitate integration with MCP-compatible clients for advanced cognitive workflows.
    11
    5

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ssdeanx/branch-thinking'

If you have feedback or need assistance with the MCP directory API, please join our Discord server