three.ws Brain
io.github.nirholas由 GitHub 帳號 nirholas 發布v0.1.4更新於 Oct 24, 2026
List LLM providers and run chat completions through the three.ws multi-provider router.
發布方自己的服務:BrainDog
概覽
本機 stdio MCP 伺服器,讓助理透過 three.ws 多供應商路由列出 LLM 供應商並執行對話補全。
- 可以做什麼
- 列出可用的 LLM 供應商,包含識別碼、網路、等級、最大輸出、即時可用性以及是否需要金鑰
- 透過指定供應商執行對話補全,回傳回覆內容、實際路由、token 用量與耗時
- 免費開放權重模型不需金鑰,付費一線旗艦模型需 three.ws API 金鑰
- 所選模型短暫無法使用時,自動回退到鏡像或免費等級
- 適用情境
- 適合希望助理透過單一端點存取多家模型廠商、而不必逐一串接各家 SDK 的情境,也方便在 Claude、GPT、o3、Grok、Qwen、DeepSeek 與開放權重模型之間比較或路由請求。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 20 或更新版本。需能連線 three.ws,或以 THREE_WS_BASE 指定自訂位址。選用的 THREE_WS_API_KEY(Bearer 權杖)可解鎖付費旗艦模型;選用的 THREE_WS_TIMEOUT_MS 設定單次請求逾時,預設 120000 毫秒。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 three.ws Brain,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@three-ws/brain-mcp
Any model, one interface — discover LLM providers and run chat completions through the three.ws multi-provider router, from any AI agent.
[npm] [license] [node] [MCP Registry] [three.ws]
A Model Context Protocol server that gives any AI assistant the three.ws multi-provider LLM router over stdio. Discover which models are available — Claude, the GPT-5.6 family, o3, Grok, Qwen, DeepSeek, NVIDIA Nemotron, IBM Granite, and more — and run a chat completion through whichever one fits, without wiring each vendor SDK yourself.
The router fronts every provider behind one endpoint and transparently falls back across mirrors and free tiers if the chosen model is briefly down. The free open-weight tiers (GPT-OSS 120B, NVIDIA NIM models) work with no key; the paid first-party flagships unlock with a three.ws API key.
Install
Or run with npx (no install):
Quick start
Claude Code, one line:
To unlock the paid flagships, pass your three.ws API key:
Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):
Inspect the surface with the MCP Inspector:
Tools
Both tools read live data — the provider set and completions vary between calls, so neither is idempotent. chat does not mutate any platform state, so it is annotated read-only.
Input parameters
list_providers — no parameters.
chat — messages (required: 1–100 turns of { role: "user" | "assistant", content }, content ≤ 16,000 chars), provider (provider key from list_providers, default gpt-oss-120b), system (optional system prompt, ≤ 8,000 chars), maxTokens (optional, 64–16384, default 4096, clamped to the model's ceiling).
Example
Both responses below are shape illustrations — the live provider set and generations will differ.
routed_via is null when the requested provider answered directly; otherwise it names the mirror or free-tier route the router fell back to (so you always get an answer even if the first choice is briefly down).
Model availability is dynamic. Always call
list_providersfirst rather than hardcoding a key. The current Claude ids areclaude-fable-5,claude-opus-5,claude-sonnet-5,claude-opus-4-7,claude-sonnet-4-6, andclaude-haiku-4-5, but the live list is the source of truth.
Authentication
Create an API key at three.ws/dashboard/developers. Without it, paid models return a sign-in error and list_providers flags them with requiresAuth: true.
Requirements
- Node.js >= 20.
- Network access to
https://three.ws(or your ownTHREE_WS_BASE).
Environment variables
Errors
A failed tool call returns an MCP error result (isError: true) whose text is a single JSON object — { "ok": false, "error": "<code>", "message": "…" }, plus status and detail on upstream rejections:
If the requested provider fails mid-flight the router transparently falls back to a mirror or free tier and the reply's routed_via names the route taken — you only see an error when every route is exhausted.
Links
- Homepage: https://three.ws
- Changelog: https://three.ws/changelog
- Issues: https://github.com/nirholas/three.ws/issues
- License: Apache-2.0, see LICENSE
Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub
來源:packages/brain-mcp/README.md,提交 c8f2cde
工具
0版本歷史
2- v0.1.4最新Oct 10, 2026
- v0.1.3Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Brain 整合

BrainDog
dog.brain官方發布者
BrainDog 是一個託管記錄庫,集中保存專案、決策與金錢,接入的 AI 代理在開工前讀取、結束後寫入。

Codebase Brain
由 GitHub 帳號 Nomannazir 發布
為本機或公開 git 程式碼庫建立索引,讓助理能檢索程式碼、追溯 git 歷史、分析變更影響並找出過時文件,結果都附上檔案路徑與行號引用。

Personal Brain
由 GitHub 帳號 zhang-liz 發布
為 AI 助理提供職場人脈記憶,資料以圖的形式存放在 FalkorDB,可查詢聯絡人、依主題找人並記錄你見過的人。

Second Brain
由 GitHub 帳號 ara-5 發布
面向AI代理程式的共享Graph-RAG記憶:markdown vault、wikilink召回、任務、訊息傳遞。AI 翻譯

Make0 Brain
由 GitHub 帳號 make0-official 發布
本機離線的記憶伺服器,讓 Claude Code、Cursor、Codex 等 MCP 代理共用同一份具版本紀錄的長期事實庫。