
mcp-computeflux
io.github.computeflux2026isgodv1.0.0更新於 Oct 4, 2026
OpenAI-compatible multi-model inference via ComputeFlux (Polkadot testnet, TEE-verifiable). stdio.
概覽
讓助理透過 ComputeFlux 閘道,以一般 MCP 工具的形式列出並呼叫 OpenAI 相容的對話模型。
- 功能
- 透過 stdio 提供兩個工具:一個列出所設定端點提供的模型 id,另一個使用模型 id 與 OpenAI 風格的 messages 執行非串流對話補全,可選參數為 max_tokens 與 temperature。對話工具會回傳模型、結束原因、延遲、token 用量以及助理文字。它不綁定特定後端,base URL 可指向任何 OpenAI 相容 API,預設使用 ComputeFlux。
- 適用情境
- 適合希望 Cursor、Claude Desktop 或其他 MCP 用戶端不必另外整合 SDK,就能查詢可用模型並對 OpenAI 相容端點執行對話補全的情境。它適合簡單的非串流模型呼叫,而非串流或工具呼叫工作流程。
- 執行需求
- 以本機 stdio 程序執行,需要 Node.js 18 或更新版本;伺服器本身不需要 npm install。需要 COMPUTEFLUX_API_KEY 環境變數,可選用 COMPUTEFLUX_BASE_URL 覆寫預設端點。需要能連線至該端點的網路。僅支援桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 mcp-computeflux,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-computeflux
Zero-dependency MCP (Model Context Protocol) server. Give any MCP host — Cursor, Claude Desktop, Windsurf, any MCP client — one OpenAI-compatible endpoint, and call models on ComputeFlux as plain tools: list what's available, then run a chat completion.
Your MCP agents hit flash-tier models over one OpenAI-compatible endpoint.
- ~175 lines of Node 18+, no
npm installto run the server (only the optionalclient/e2e harness pulls SDK deps). - Backend-agnostic: point it at any OpenAI-compatible API — ComputeFlux is the default, not the only target.
- ComputeFlux is an OpenAI-compatible, TEE-verifiable multi-model inference gateway deployed on the Polkadot testnet.
Tools
Configuration (env)
Install
Published on the official MCP Registry (.mcpb bundle, no npm step):
io.github.computeflux2026isgod/mcp-computeflux — listed on the official MCP Registry (search by this name).
Any MCP client / agent that supports registry install (mcp add, Cursor, Claude Desktop,
Claude Code) can pull it by name. Direct git-clone quickstart:
mcpServers snippet:
Local e2e (optional)
client/ contains a tiny harness using the official MCP SDK — the exact path
Cursor / Claude Desktop use. It spawns the server over stdio, lists tools, and runs
one chat completion with a unique-token round-trip fidelity check.
Transport
Newline-delimited JSON-RPC 2.0 over stdio. Only protocol messages are written to stdout; logs go to stderr.
License
MIT
來源:README.md,提交 c4a0bcd
工具
0版本歷史
1- v1.0.0最新Oct 4, 2026


