Unified AI System MCP Gateway
io.github.happy520ai由 GitHub 账号 happy520ai 发布v0.8.0更新于 Oct 24, 2026
Self-hosted MCP gateway for Codex, Cursor, and Cline with provider-free prompt enhancement.
发布方自己的服务:Core
概览
自托管的 MCP 网关,让助手进行提示词增强、假提供方聊天、本地知识检索、工作流运行与治理状态查看。
- 可以做什么
- 检查网关健康、就绪状态与提供方安全状态,并查看工作流与劳动力子系统及其代理描述。在本地把自然语言请求结构化为提示词,可选经 LLM 后端,并发送仅限假提供方的聊天请求。按关键词搜索本地知识库并检查其就绪状态。运行三步本地工作流,以租户分区方式发布产物且不覆盖已有路径。查看 Agent Governance 状态,仅列出或描述已认证租户可见的代理。
- 适用场景
- 适合在 Codex、Cursor、Cline 等 MCP 客户端上试用无需凭据、使用假提供方的网关,用于本地提示词结构化,以及在不授予真实提供方访问的情况下查看治理与工作流状态。
- 运行要求
- 以本地 stdio 进程运行,通常通过 Docker 使用已发布的容器镜像,或用 pnpm 与 Node.js 从源码运行。无需 API 密钥。连接已有网关需要 AI_GATEWAY_MCP_URL 与 AI_GATEWAY_MCP_AUTH_TOKEN。源码构建的 HTTP 传输默认监听回环地址,绑定到回环之外需要 MCP_HTTP_AUTH_TOKEN 及主机与来源相关变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Unified AI System MCP Gateway,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Unified AI System MCP Server
Connect Codex and other MCP hosts to the credential-free Unified AI System preview over stdio or MCP Streamable HTTP.
The server starts an isolated local gateway automatically, pins it to the deterministic fake provider, exposes authenticated permission-scoped tools, and removes the gateway when the MCP session ends. It does not enable or authorize real provider calls.
Tools
Agent Governance inspection tools are read-only. workflow_run writes one
controlled local artifact. Agent creation remains available through the REST,
shared-SDK, and human Agent Console surfaces because the MCP tool protocol cannot
yet prove idempotent, cancellation-safe generation after a transport timeout.
No MCP tool exposes Agent creation/execution/revocation, approval/rejection, or
policy creation/activation. Governance
tools never accept tenantId or ownerUserId: the Gateway binds both from its
authenticated identity, and cross-tenant descriptions fail as not found.
workflow_run never overwrites an existing path and is routed through Agent Governance when
the connected Gateway enables that control plane. The chat tool checks the gateway safety
state before every request and fails closed unless realProviderEnabled is
exactly false and the response proves executionMode: "fake".
The source build exposes sixteen tools, including the four Agent Governance
lifecycle tools and the provider-free gateway_prompt_enhance preview. Published
images expose the tool set shipped by their pinned tag.
Run From Source
From the repository root:
The project-level .codex/config.toml registers
that command automatically in trusted Codex projects. Restart Codex after
cloning or changing MCP configuration, then use /mcp to inspect the server.
Streamable HTTP
Start the source-build HTTP transport:
The MCP endpoint is http://127.0.0.1:3210/mcp. It listens on loopback by
default, validates Host and Origin, starts the same fake-provider gateway,
and exposes the same sixteen source-build tools as stdio. Point any MCP Streamable HTTP client
at that URL.
For a local token-protected endpoint, set MCP_HTTP_AUTH_TOKEN and send it as
Authorization: Bearer <token>. Binding beyond loopback fails closed unless
all of these variables are present:
Example for a private deployment behind a TLS reverse proxy:
The built-in Bearer token is a bounded self-hosting control, not an OAuth
authorization server. Terminate TLS at a trusted reverse proxy and use a
dedicated identity layer before exposing the endpoint to untrusted networks.
The published v0.5.0 container remains stdio-only; the HTTP command above is
source-build functionality until a later release publishes it.
Add To Codex With Docker
No clone or API key is required:
The dedicated image starts the MCP server by default; no command override is
required, and it invokes Node directly so package-manager output cannot pollute
the JSON-RPC stream. Its OCI identity and stdio transport are declared in the
repository root server.json for the official MCP
Registry.
The equivalent config.toml entry is:
For clients that accept the standard JSON mcpServers shape, use the
generic MCP client configuration guide.
Try It In Codex
Restart Codex after adding the server, then run /mcp verbose to inspect the
connected tools. A useful first task is:
Use
gateway_prompt_enhanceto turn "build a small API for my team" into a coding prompt. Show the preserved original request, detected language, enhanced prompt, and proof that no provider was called.
Then prove the fake-chat safety boundary:
Use the Unified AI System MCP tools to check gateway health and readiness, then send
MCP_READYthrough gateway chat only if the gateway proves fake-only mode. Report the provider, model, execution mode, and response.
The 60-second Codex MCP quickstart includes two more safe tasks, expected evidence, diagnostics, and the removal command.
Connect To An Existing Safe Gateway
Set AI_GATEWAY_MCP_URL and a dedicated gateway access token to use an already
running instance:
The managed gateway uses a private least-privilege token whose lifetime is bounded by the isolated child process; it is never emitted in MCP results. External gateway startup rejects missing or weak tokens, URL credentials, non-loopback plaintext HTTP, invalid authentication, or any gateway that may call a real provider. Provider credentials and real-provider execution remain outside this preview surface.
For Agent Governance, give the dedicated Gateway identity only
dashboard:read and workflow:run unless a broader operator workflow is
explicitly required. agent_governance_status additionally requires the
Gateway's platform-tenant identity; ordinary tenants can still use tenant-scoped
list, generate, and describe. Do not grant workflow:approve or user:admin to
an MCP model merely to use these tools.
Verify
The tests launch both transports through the official MCP v2 client. They pin
the modern 2026-07-28 stateless era on stdio and Streamable HTTP, retain
legacy 2025-11-25 plus 2025-06-18 initialize compatibility, list all
source-build tools, prove local prompt enhancement and fake-provider safety,
exercise HTTP/CORS access controls, close the clients, and confirm that each
managed gateway stopped. The container-safe raw smoke also uses
server/discover plus a per-request _meta envelope rather than inferring
modern support from the SDK version:
来源:packages/mcp-server/README.md,提交 2f23911
工具
0版本历史
2- v0.8.0最新Sep 25, 2026
- v0.7.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Unified 集成
Core
to.unified官方发布者
Unified.to 远程 MCP 服务器,通过统一 API 让助手接入 28+ 个类别、500+ 个 B2B SaaS 集成。
Unified B2B ATS Jobs Scraper & MCP (Greenhouse, Workday, Lever, Ashby) | RevClamp TalentPulse
com.revclamp
从五个 ATS 平台(Greenhouse、Workday、Ashby、Lever、SmartRecruiters)抓取并统一规范化职位信息,供助手查询。

Unified Jobs MCP Server
由 GitHub 账号 rezearcher 发布
远程 MCP 服务器,为助手提供跨 ATS 招聘板、LinkedIn 访客搜索和 Hacker News 招聘帖的去重职位信息流。

Unified Ad Intelligence
由 GitHub 账号 atul0016 发布
本地 MCP 服务器,让助手获得跨平台广告花费、归因、真实 ROAS、预算与异常情报。

Apple Tools (Unified)
由 GitHub 账号 JonathanRReed 发布
面向 macOS 的统一 MCP 服务器,为助手提供访问邮件、日历、提醒事项、信息、通讯录、备忘录、快捷指令、文件、系统与地图的单一入口。