llm-cli-gateway developer docs

Start with the install guide, then read the agent guide for when to use the gateway, authentication, workspaces, durable jobs, sessions, and troubleshooting.

Core references

Use cases

Use llm-cli-gateway when a supported MCP client needs to operate multiple local coding-agent CLIs, run cross-model review, recover long-running async jobs, keep provider-native sessions, or expose a remote HTTP MCP endpoint with bearer or OAuth authentication.

Security model

Remote HTTP calls are principal-scoped, require authentication unless the operator explicitly disables it globally or for a configured connector path, and require registered workspaces before provider tools can access files. Callers sharing one static bearer token deliberately share one principal; use OAuth or a trusted identity proxy for distinct identities.