Unified AI System MCP Gateway
io.github.happy520aiPublished by GitHub account happy520aiv0.8.0Updated Oct 24, 2026
Self-hosted MCP gateway for Codex, Cursor, and Cline with provider-free prompt enhancement.
The publisher's own server: Core
Overview
A self-hosted MCP gateway that gives an assistant prompt enhancement, fake-provider chat, local knowledge search, workflow runs and governance inspection.
- What you can do
- Check gateway health, readiness and provider safety state before acting, and inspect workflow and workforce subsystems and their agent descriptors. Enhance natural-language requests into structured prompts locally, optionally via an LLM backend, and send one chat request that is restricted to a fake provider. Search a local knowledge base by keyword and inspect its readiness. Run a three-step local workflow that publishes a tenant-partitioned artifact without overwriting existing paths. Inspect Agent Governance status and list or describe only the agents visible to the authenticated tenant.
- When to use it
- Useful for trying out an MCP host such as Codex, Cursor or Cline against a credential-free, fake-provider gateway, for local prompt structuring, and for inspecting governance and workflow state without granting real provider access.
- Requirements
- Runs as a local stdio process, typically via the published container image with Docker, or from source with pnpm and Node.js. No API key is required. Connecting to an existing gateway needs AI_GATEWAY_MCP_URL and AI_GATEWAY_MCP_AUTH_TOKEN. The source-build HTTP transport listens on loopback and needs MCP_HTTP_AUTH_TOKEN plus the host and origin variables to bind beyond loopback.
Installation
In SourceWeft
- Open Unified AI System MCP Gateway in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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:
Source: packages/mcp-server/README.md at commit 2f23911
Tools
0Version history
2- v0.8.0LatestSep 25, 2026
- v0.7.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Unified integrations
Core
to.unifiedOfficial publisher
Remote Unified.to MCP server that gives an assistant one API surface for 500+ B2B SaaS integrations across 28+ categories.
Unified B2B ATS Jobs Scraper & MCP (Greenhouse, Workday, Lever, Ashby) | RevClamp TalentPulse
com.revclamp
Scrapes and normalizes job postings from five ATS platforms (Greenhouse, Workday, Ashby, Lever, SmartRecruiters) into one schema for an assistant.

Unified Jobs MCP Server
Published by GitHub account rezearcher
Remote MCP server that gives an assistant a deduplicated job feed across ATS boards, LinkedIn guest search and Hacker News hiring threads.

Unified Ad Intelligence
Published by GitHub account atul0016
Local MCP server that gives an assistant cross-platform ad spend, attribution, true ROAS, budget and anomaly intelligence.

Apple Tools (Unified)
Published by GitHub account JonathanRReed
Unified macOS MCP server giving an assistant one entrypoint to Mail, Calendar, Reminders, Messages, Contacts, Notes, Shortcuts, Files, System and Maps.