Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Extended reasoning with structured processes, persistence, and workflow guidance
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"thoughtbox": {
"command": "npx",
"args": [
"-y",
"@kastalien-research/thoughtbox"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add thoughtbox -- npx -y @kastalien-research/thoughtboxวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"thoughtbox": {
"command": "npx",
"args": [
"-y",
"@kastalien-research/thoughtbox"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"thoughtbox": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kastalien-research/thoughtbox"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Kastalien-Research ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.3) เข้า registry 12 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Zoo MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
An MCP server that provides access to the Zoo API for various CAD operations and tools.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.*
Thoughtbox exposes exactly two MCP tools using the Code Mode pattern:
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.
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:
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.
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:
| Pattern | Description | Use Case |
|---|---|---|
| Forward | Sequential 1→2→3→N progression | Exploration, discovery, open-ended analysis |
| Backward | Start at goal (N), work back to start (1) | Planning, system design, working from known goals |
| Branching | Fork into parallel explorations (A, B, C...) | Comparing alternatives, A/B scenarios |
| Revision | Update earlier thoughts with new information | Error 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.
The Observatory is a built-in web UI at http://localhost:1729 for watching reasoning unfold live.
The full observability stack includes OpenTelemetry tracing, Prometheus metrics, and Grafana dashboards.
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.
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
listChangednotifications — 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.
Thoughtbox runs as a Docker-based MCP server. It requires Docker and Docker Compose.
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.
Since Thoughtbox uses HTTP transport, configure your MCP client to connect via URL.
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" } } }
Add to your MCP settings or .vscode/mcp.json:
{
"servers": { "thoughtbox": { "url": "http://localhost:1731/mcp" } } }
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"
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"
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"
| Variable | Description | Default |
|---|---|---|
DISABLE_THOUGHT_LOGGING | Suppress thought logging to stderr | false |
THOUGHTBOX_DATA_DIR | Base directory for persistent storage | ~/.thoughtbox |
THOUGHTBOX_PROJECT | Project scope for session isolation | _default |
THOUGHTBOX_TRANSPORT | Transport type (stdio or http) | http |
THOUGHTBOX_STORAGE | Storage backend (fs, memory, or supabase) | fs |
THOUGHTBOX_OBSERVATORY_ENABLED | Enable Observatory web UI | false |
THOUGHTBOX_OBSERVATORY_PORT | Observatory UI port | 1729 |
THOUGHTBOX_OBSERVATORY_CORS | CORS origins for Observatory (comma-separated) | (none) |
THOUGHTBOX_AGENT_ID | Pre-assigned Hub agent ID | (none) |
THOUGHTBOX_AGENT_NAME | Pre-assigned Hub agent name | (none) |
SUPABASE_URL | Supabase project URL (required for supabase storage) | (none) |
SUPABASE_SERVICE_ROLE_KEY | Supabase service role key (required for supabase storage) | (none) |
PORT | HTTP server port | 1731 |
HOST | HTTP server bind address | 0.0.0.0 |
NODE_ENV | Node environment | (none) |
PROMETHEUS_URL | Prometheus endpoint (Docker) | http://prometheus:9090 |
GRAFANA_URL | Grafana endpoint (Docker) | http://grafana:3000 |
For local development (requires Node.js 22+):
pnpm install
pnpm build pnpm dev # Development with hot reload
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 up --build starts the full stack:
| Service | Port | Description |
|---|---|---|
| thoughtbox | 1731 (MCP), 1729 (Observatory) | Core MCP server + Observatory UI |
| mcp-sidecar | 4000 | Observability proxy with OpenTelemetry |
| otel-collector | 4318 (HTTP), 8889 (metrics) | OpenTelemetry Collector |
| prometheus | 9090 | Metrics storage + alerting |
| grafana | 3001 | Dashboards and visualization |
Persistent data is stored in named volumes: thoughtbox-data, prometheus-data, grafana-data.
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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo