llm-cli-gateway - one MCP gateway for coding-agent CLIs, local or remote
Read https://llm-cli-gateway.dev/install.md and configure yourself to use llm-cli-gateway as an MCP server.
npx -y llm-cli-gateway
codex_request: flags missing test
gemini_request: suggests smaller patch
result: disagreement summarized for review
status: running
persisted: ~/.llm-cli-gateway/logs.db
no native Claude Code session
no Codex CLI resume
no local provider CLI config
file and test access must be rebuilt
codex_request uses real Codex sessions
gemini_request uses the installed Antigravity CLI (agy)
grok_request and mistral_request follow provider CLIs
A Model Context Protocol (MCP) gateway for running Claude Code, Codex, Gemini, Grok, and Mistral Vibe CLIs from one MCP endpoint, with durable async jobs, session continuity, cache-aware prompting, observability, and personal-appliance setup tooling.
Why developers try it: one MCP endpoint for cross-LLM validation, multi-agent coding workflows, and repeatable assistant-led setup across five provider CLIs.
Local by default over stdio. As of 2.9.0 it also runs remotely over HTTP behind a static bearer token or a built-in OAuth 2.0 server (PKCE on by default, an opt-in human-consent gate, and a trusted-principal-header seam for your own identity proxy), with every session, job, and stored request owned by a principal so one caller never sees another's work, remote calls refused unless a workspace is registered, and a dangerous configuration that fails closed rather than serving open.
Current signals: CI and security workflows pass on main, OpenSSF Scorecard is published, OpenSSF Best Practices is passing, releases use Sigstore signing, and the package is MIT licensed.
The gateway orchestrates local CLIs. It does not replace them.
| Signal | Status | Why it matters |
|---|---|---|
| Runtime | local stdio or remote HTTP | run on your machine, or expose it behind a bearer token or OAuth |
| Remote auth | bearer or built-in OAuth 2.0 | PKCE, opt-in consent gate, per-principal isolation, fail-closed posture |
| Async jobs | durable SQLite store | long calls can survive gateway restarts |
| Validation | cross-model tools | compare, red-team, second opinion, and consensus workflows |
| Release | npm provenance + Sigstore | published artifacts have supply-chain evidence |
| License | MIT | open source and installable without a hosted service |
--transport=http for remote clients)