原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Thoughtbox

作者:Kastalien-Research版本 1.0.3i★ –i在你的电脑上运行
注册名称io.github.Kastalien-Research/thoughtbox

安装

概览

作者提供的说明(英文原文)

Extended reasoning with structured processes, persistence, and workflow guidance

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "thoughtbox": {
      "command": "npx",
      "args": [
        "-y",
        "@kastalien-research/thoughtbox"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add thoughtbox -- npx -y @kastalien-research/thoughtbox

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "thoughtbox": {
      "command": "npx",
      "args": [
        "-y",
        "@kastalien-research/thoughtbox"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "thoughtbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@kastalien-research/thoughtbox"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Kastalien-Research 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32655 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32655 个服务器的 1% 更新
  • 基础检查结果等于或优于此分类中其他 32655 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Thoughtbox 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.3)于12个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, SuperCollider

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

SuperCollider

作者:Tok

Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Thoughtbox

Multi-agent collaborative reasoning that's auditable. Thoughtbox is an MCP server for structured, multi-agent reasoning, with a companion web app for workspace and inspection flows. Every step is recorded as a structured thought in a persistent reasoning ledger that can be visualized, exported, and analyzed.

Runtime modes: Local development can use filesystem or in-memory storage. Deployed mode uses Supabase-backed storage, and the current production MCP server runs on Cloud Run.

*Observatory UI showing a reasoning session with 14 thoughts and a branch exploration (purple nodes 13-14) forking from thought 5.*

Code Mode

Thoughtbox exposes exactly two MCP tools using the Code Mode pattern:

  • `thoughtbox_search` — Write JavaScript to query the operation/prompt/resource catalog. The LLM has full programmatic filtering power over the catalog.
  • `thoughtbox_execute` — Write JavaScript using the tb SDK to chain operations. Access thoughts, sessions, knowledge, notebooks, hub, observability, and protocol tools through a unified namespace.

Workflow: search to discover available operations, then execute code against them. Use console.log() for debugging — output is captured in response logs.

This replaces per-operation tool registration with a two-tool surface that scales without context window bloat.

Multi-Agent Collaboration

The Hub is the coordination layer. Agents register with role-specific profiles, join shared workspaces, and work through a structured problem-solving workflow — all via thoughtbox_execute.

The workflow: register → create workspace → create problem → claim → work → propose solution → peer review → merge → consensus

Workspace primitives:

  • Problem — A unit of work with dependencies, sub-problems, and status tracking (open → in-progress → resolved → closed)
  • Proposal — A proposed solution with a source branch reference and review workflow
  • Consensus — A decision marker tied to a thought reference for traceability
  • Channel — A message stream scoped to a problem for discussion

Agent Profiles: MANAGER, ARCHITECT, DEBUGGER, SECURITY, RESEARCHER, REVIEWER — each provides domain-specific mental models and behavioral priming.

28 operations across identity, workspace management, problems, proposals, consensus, channels, and status reporting.

Auditable Reasoning

Every thought is a node in a graph — numbered, timestamped, linked to its predecessors, and persisted across sessions. This creates an auditable trail of how conclusions were reached.

Agents can think forward, plan backward, branch into parallel explorations, and revise earlier conclusions. Each pattern is a first-class operation:

PatternDescriptionUse Case
ForwardSequential 1→2→3→N progressionExploration, discovery, open-ended analysis
BackwardStart at goal (N), work back to start (1)Planning, system design, working from known goals
BranchingFork into parallel explorations (A, B, C...)Comparing alternatives, A/B scenarios
RevisionUpdate earlier thoughts with new informationError correction, refined understanding

Each thought carries a semantic thoughtType (reasoning, decision_frame, action_report, belief_snapshot, assumption_update, context_snapshot, progress) that classifies *what kind* of thought it is, orthogonal to the process pattern used.

See the [Patterns Cookbook](src/resources/docs/thoughtbox-patterns-cookbook.md) for comprehensive examples.

Real-Time Observability

The Observatory is a built-in web UI at http://localhost:1729 for watching reasoning unfold live.

  • Live Graph — thoughts appear as nodes in real-time via WebSocket
  • Branch Navigation — branches collapse into clickable stubs; drill in and back out
  • Detail Panel — click any node to view full thought content
  • Multi-Session — switch between active reasoning sessions
  • Deep Analysis — analyze sessions for reasoning patterns, cognitive load, and decision points

The full observability stack includes OpenTelemetry tracing, Prometheus metrics, and Grafana dashboards.

Knowledge & Reasoning Tools

Knowledge Graph — Persistent memory across sessions. Capture insights, concepts, workflows, and decisions as typed entities with typed relations (BUILDS_ON, CONTRADICTS, SUPERSEDES, etc.) and visibility controls (public, agent-private, team-private).

Notebooks — Interactive literate programming combining documentation with executable JavaScript/TypeScript in isolated environments.

Client Compatibility

Thoughtbox is currently optimized for Claude Code. We are actively working on supporting additional MCP clients. Due to variation in capability support across the MCP ecosystem — server features (prompts, resources, tools), client features (roots, sampling, elicitation), and behaviors like listChanged notifications — we implement custom adaptations for many clients.

If you're using a client other than Claude Code and encounter issues, please open an issue describing your client and the problem.

Installation

Thoughtbox runs as a Docker-based MCP server. It requires Docker and Docker Compose.

Quick Start
git clone https://github.com/Kastalien-Research/thoughtbox.git

cd thoughtbox docker compose up --build

This starts Thoughtbox and the full observability stack. The MCP server listens on port 1731 and the Observatory UI is available at http://localhost:1729.

MCP Client Configuration

Since Thoughtbox uses HTTP transport, configure your MCP client to connect via URL.

Claude Code

Add to your ~/.claude/settings.json or project .claude/settings.json:

{

"mcpServers": { "thoughtbox": { "url": "http://localhost:1731/mcp" } } }

To connect through the observability sidecar (adds OpenTelemetry tracing):

{

"mcpServers": { "thoughtbox": { "url": "http://localhost:4000/mcp" } } }

Cline / VS Code

Add to your MCP settings or .vscode/mcp.json:

{

"servers": { "thoughtbox": { "url": "http://localhost:1731/mcp" } } }

Usage Examples

Forward Thinking — Problem Analysis
Thought 1: "Users report slow checkout. Let's analyze..."

Thought 2: "Data shows 45s average, target is 10s..." Thought 3: "Root causes: 3 API calls, no caching..." Thought 4: "Options: Redis cache, query optimization, parallel calls..." Thought 5: "Recommendation: Implement Redis cache for product data"

Backward Thinking — System Design
Thought 8: [GOAL] "System handles 10k req/s with <100ms latency"

Thought 7: "Before that: monitoring and alerting operational" Thought 6: "Before that: resilience patterns implemented" Thought 5: "Before that: caching layer with invalidation" ... Thought 1: [START] "Current state: 1k req/s, 500ms latency"

Branching — Comparing Alternatives
Thought 4: "Need to choose database architecture..."

Branch A (thought 5): branchId="sql-path" "PostgreSQL: ACID compliance, mature tooling, relational integrity"

Branch B (thought 5): branchId="nosql-path" "MongoDB: Flexible schema, horizontal scaling, document model"

Thought 6: [SYNTHESIS] "Use PostgreSQL for transactions, MongoDB for analytics"

Environment Variables

VariableDescriptionDefault
DISABLE_THOUGHT_LOGGINGSuppress thought logging to stderrfalse
THOUGHTBOX_DATA_DIRBase directory for persistent storage~/.thoughtbox
THOUGHTBOX_PROJECTProject scope for session isolation_default
THOUGHTBOX_TRANSPORTTransport type (stdio or http)http
THOUGHTBOX_STORAGEStorage backend (fs, memory, or supabase)fs
THOUGHTBOX_OBSERVATORY_ENABLEDEnable Observatory web UIfalse
THOUGHTBOX_OBSERVATORY_PORTObservatory UI port1729
THOUGHTBOX_OBSERVATORY_CORSCORS origins for Observatory (comma-separated)(none)
THOUGHTBOX_AGENT_IDPre-assigned Hub agent ID(none)
THOUGHTBOX_AGENT_NAMEPre-assigned Hub agent name(none)
SUPABASE_URLSupabase project URL (required for supabase storage)(none)
SUPABASE_SERVICE_ROLE_KEYSupabase service role key (required for supabase storage)(none)
PORTHTTP server port1731
HOSTHTTP server bind address0.0.0.0
NODE_ENVNode environment(none)
PROMETHEUS_URLPrometheus endpoint (Docker)http://prometheus:9090
GRAFANA_URLGrafana endpoint (Docker)http://grafana:3000

Development

For local development (requires Node.js 22+):

pnpm install

pnpm build pnpm dev # Development with hot reload

Testing
npx vitest run              # Unit tests

pnpm test # Full suite (build + vitest) pnpm test:agentic # Agentic tests — full suite (build + run) pnpm test:agentic:tool # Agentic tests — tool-level only pnpm test:agentic:quick # Agentic tests — quick (no build) pnpm test:behavioral # Behavioral contract tests

Docker Compose

docker compose up --build starts the full stack:

ServicePortDescription
thoughtbox1731 (MCP), 1729 (Observatory)Core MCP server + Observatory UI
mcp-sidecar4000Observability proxy with OpenTelemetry
otel-collector4318 (HTTP), 8889 (metrics)OpenTelemetry Collector
prometheus9090Metrics storage + alerting
grafana3001Dashboards and visualization

Persistent data is stored in named volumes: thoughtbox-data, prometheus-data, grafana-data.

Architecture

src/

├── index.ts # Entry point (Streamable HTTP transport) ├── server-factory.ts # MCP server factory with tool registration ├── thought-handler.ts # Core thought recording logic ├── types.ts # Shared type definitions ├── database.types.ts # Supabase generated types ├── code-mode/ # Code Mode tool surface │ ├── search-tool.ts # thoughtbox_search — catalog query via JS │ ├── execute-tool.ts # thoughtbox_execute — operation chaining via tb SDK │ ├── search-index.ts # Frozen catalog of operations/prompts/resources │ └── sdk-types.ts # TypeScript definitions for the tb SDK ├── thought/ # Thought operations and tool definitions ├── sessions/ # Session management ├── persistence/ # Storage layer │ ├── storage.ts # InMemoryStorage with LinkedThoughtStore │ ├── filesystem-storage.ts # FileSystemStorage with atomic writes │ └── supabase-storage.ts # SupabaseStorage for deployed/cloud usage ├── observatory/ # Real-time visualization │ ├── ui/ # Self-contained HTML/CSS/JS │ └── ws-server.ts # WebSocket server for live updates ├── hub/ # Multi-agent collaboration │ ├── identity.ts # Agent registration │ ├── workspace.ts # Workspace management │ ├── problems.ts # Problem tracking with dependencies │ ├── proposals.ts # Solution proposals with reviews │ ├── consensus.ts # Decision recording │ ├── channels.ts # Problem-scoped messaging │ ├── hub-handler.ts # Hub operation dispatcher │ └── operations.ts # 28-operation catalog ├── channel/ # Hub event channels and SSE streaming ├── protocol/ # Ulysses and Theseus protocol tools ├── knowledge/ # Knowledge graph memory ├── auth/ # API key authentication ├── audit/ # Audit manifest generation

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx