
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


