Unified AI System v0.3.2: a fail-closed, credential-free MCP gateway #822
happy520ai
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Pre-submission Checklist
What would you like to share?
I built an open, terminal-first AI gateway that runs as a credential-free local MCP server for Codex and other stdio hosts. The current release is
io.github.happy520ai/unified-ai-system@0.3.2in the official MCP Registry.The MCP surface exposes eight tools:
gateway_chat,gateway_health,gateway_readinessknowledge_readinessworkflow_actions,workflow_healthworkforce_agents,workforce_healthThe default path is deliberately deterministic. The MCP process starts an isolated local gateway backed by a fake provider, proves that real-provider mode is disabled before serving tools, rechecks that boundary before chat, and removes the managed process when the MCP session ends. Contributors can therefore reproduce a complete initialize -> tools/list -> tools/call path without an account or API key.
Try it with Codex
The same image works as a generic stdio server:
The implementation lesson that changed our release test
Our first dedicated container launched through
pnpm mcp. A package-manager lifecycle banner reached stdout before the server response and corrupted JSON-RPC framing, even though source-level tests were green.The released image now invokes the Node entrypoint directly. The verification harness talks to the image's actual default command, performs MCP initialize, initialized, tools/list, and tools/call, checks all eight tools, proves
executionMode: fakeandrealProviderCallsMade: false, and verifies both container and child-gateway teardown.The reusable pattern is small:
v0.3.2adds stable repository metadata and a project icon for MCP discovery, places the one-command Codex path first, and pins public examples to reproducible container tags. It remains a public engineering preview, not a production-readiness or autonomy claim.Relevant Links
I would value feedback on the boundary between read-only gateway inspection and future approval-gated mutation tools. Which gateway operation would be useful enough to expose through MCP, and what evidence or approval should it require?
All reactions