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 伺服器,讓助理透過單一入口存取郵件、行事曆、提醒事項、訊息、聯絡人、備忘錄、捷徑、檔案、系統與地圖。