mcpserver.lol
registry/llm-cli-gateway
Connection check local install

llm-cli-gateway

One MCP endpoint for Claude Code, Codex, Gemini, Grok and Mistral CLIs, with durable async jobs.

Tools 75
GitHub stars
Installs / wk 415
Licence
Transport stdio
Last checked never

Tools & capabilities

75 tools

Read from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.

approval_list from source
List recent MCP-managed approval decisions recorded by the gateway (approvalStrategy: mcp_managed).
claude_request from source
Run a Claude Code CLI request synchronously (when async jobs are enabled, auto-defers to a pollable job past the sync deadline; otherwise runs to completion). Requires exactly one…
claude_request_async from source
Start a Claude Code CLI request as a durable background job. Poll with llm_job_status, collect with llm_job_result.
cli_upgrade from source
Plan (dryRun, default true) or execute an upgrade for one provider CLI using its native update mechanism.
cli_versions from source
Report installed provider CLI versions, availability, and login status for all registered CLI providers (${CLI_PROVIDER_LABEL}) or one.
codex_fork_session from source
UNAVAILABLE from the gateway:
codex_request from source
Run an OpenAI Codex CLI request synchronously (when async jobs are enabled, auto-defers to a pollable job past the sync deadline; otherwise runs to completion). Requires exactly on…
codex_request_async from source
Start an OpenAI Codex CLI request as a durable background job. Poll with llm_job_status, collect with llm_job_result.
config_ack_stale from source
Acknowledge the current stale Personal Agent Config release for at most 24 hours.
config_init from source
Initialize or clone the local Personal Agent Config baseline. This never activates a release by itself.
config_publish from source
Push the clean local Personal Agent Config baseline to its configured Git upstream without force-pushing.
config_recover_kit_attempt from source
Fence and release one exact unadmitted durable Kit attempt after the previous gateway process has been stopped. Copy the execution and attempt identity from local session_get outpu…
config_rollback from source
Atomically activate an already verified retained Personal Agent Config release.
config_status from source
Show Personal Agent Config state without exposing baseline paths or local machine binding values.
config_sync from source
Synchronize, verify, compile, and atomically activate a Personal Agent Config release. It never pushes.
cursor_request from source
Run a Cursor Agent request synchronously (auto-defers to a pollable job past the sync deadline when async jobs are enabled; otherwise runs to completion). Default
cursor_request_async from source
Start a Cursor Agent CLI request as a durable background job. Poll with llm_job_status, collect with llm_job_result.
devin_request from source
Run a Cognition Devin CLI request synchronously (auto-defers to a pollable job past the sync deadline when async jobs are enabled; otherwise runs to completion). Headless print mod…
devin_request_async from source
Start a Cognition Devin CLI request as a durable background job. Poll with llm_job_status, collect with llm_job_result.
explain_effective_config from source
Explain the selected Personal Agent Config release and context provenance without returning local paths or instruction text.
gemini_request from source
Run a Google Antigravity CLI (
gemini_request_async from source
Start a Google Antigravity CLI (
grok_api from source
grok_api_request from source
Run an xAI Grok API request synchronously through the Responses API. Requires exactly one of prompt or promptParts. Registered only when [providers.xai] is configured and its API-k…
grok_config from source
grok_docs from source
grok_help from source
grok_mcp_servers from source
grok_request from source
Run an xAI Grok CLI request synchronously (when async jobs are enabled, auto-defers to a pollable job past the sync deadline; otherwise runs to completion). Requires exactly one of…
grok_request_async from source
Start an xAI Grok CLI request as a durable background job. Poll with llm_job_status, collect with llm_job_result.
kit_busy from source
kit_context_conflict from source
kit_context_too_large from source
kit_invalid_baseline from source
kit_overlay_outside_scope from source
kit_provider_unsupported from source
kit_release_missing from source
kit_request_instructions_too_large from source
kit_stale from source
kit_sync_dirty from source
kit_sync_diverged from source
list_models from source
List models, aliases, and defaults for one provider (${CLI_PROVIDER_LABEL}, or an enabled API provider name), or omit cli to list all providers. API providers are returned under an…
llm_job_cancel from source
Cancel a running gateway async or deferred-sync job by jobId.
llm_job_result from source
Retrieve captured stdout/stderr for a gateway async or deferred-sync job by jobId. Use rawOutput:true with independent stream offsets for resumable pages.
llm_job_status from source
Check lifecycle status and bounded privacy-safe normalized progress for a gateway async or deferred-sync job by jobId.
llm_job_watch from source
Wait briefly for privacy-safe normalized progress on an owned async job. When the MCP request carries a progress token, notifications are emitted only while this watch request rema…
llm_process_health from source
Report gateway process health: async-job manager state, the resolved durable persistence configuration, and flight-recorder health on that configured engine.
llm_request_list from source
List recent persisted requests (sync and async) newest-first WITHOUT a correlation id, to find one. Returns metadata only; pass a returned correlationId to llm_request_result for t…
llm_request_result from source
Read back any persisted request (sync or async) from the flight recorder by correlationId, including prompt and response. Local callers can also include the linked complete job rec…
missing_oauth_client from source
missing_public_url from source
missing_workspace from source
mistral_request from source
Run a Mistral Vibe CLI request synchronously (when async jobs are enabled, auto-defers to a pollable job past the sync deadline; otherwise runs to completion). Requires exactly one…
mistral_request_async from source
Start a Mistral Vibe CLI request as a durable background job. Poll with llm_job_status, collect with llm_job_result.
provider_admin_list from source
List provider CLI admin operations (auth status, model list, mcp list, plugin list, doctor, etc.) available on the installed CLIs, projected from runtime discovery. Read-only.
provider_admin_mutate from source
Execute a MUTATING provider CLI admin operation (mcp add/remove, login/logout, plugin install/remove, session delete/archive, ...). Disabled unless [admin] allow_mutating_cli_admin…
provider_admin_run from source
Execute a READ-ONLY provider CLI admin operation (from provider_admin_list) and return redacted output. Rejects mutating operations.
provider_subcommand_contract from source
Return the detailed read-only contract for exactly one declared provider CLI subcommand.
provider_subcommand_drift from source
Probe declared provider subcommand --help surfaces and return compact drift rows without raw help output.
provider_subcommands_list from source
Return a compact, filterable read-only catalog of declared provider CLI subcommands without flags or raw help.
provider_tool_capabilities from source
Report provider tool/feature capabilities and discovered local skill/tool integrations for ${CLI_PROVIDER_LABEL}|grok_api, or an enabled API provider name.
provider_version_guard from source
Compare installed provider CLI versions against their contracted targets, and optionally check whether a newer version is published. Reports which providers drifted and which can b…
route_request from source
Least-cost routing: pick the cheapest eligible (provider, model) candidate that meets the caller
route_request_async from source
Async least-cost routing: select the cheapest eligible (provider, model) candidate synchronously, enqueue it for background execution, and return a pollable job handle plus the
session_clear_all from source
Delete all gateway session records, optionally scoped to one provider.
session_create from source
Create a gateway session record for a provider. NOTE: this is gateway bookkeeping (a plain UUID), not a provider-native session; Codex resume needs a real Codex UUID.
session_delete from source
Delete a gateway session record by ID (also removes any gateway-owned worktree attached to it).
session_get from source
Get one gateway session record by session ID, including recent request history when available.
session_list from source
List gateway session records and the active session per provider, optionally filtered by provider.
session_set_active from source
Set or clear the active session for a provider; the active session is used when a request omits sessionId.
upstream_contracts from source
Return the gateway
workspace_create from source
Create a remote HTTP/OAuth workspace alias by creating a new local folder or git repo under a configured allowed root. Not for stdio/local provider path access. Requires LLM_GATEWA…
workspace_get from source
Inspect a registered remote HTTP/OAuth workspace alias. Does not list files. Not needed for stdio/local provider calls; do not use workspace_* tools to fix local path access.
workspace_list from source
List registered workspace aliases for remote HTTP/OAuth provider calls. Does not browse files. Stdio/local callers should not use workspace_* tools to fix provider path access; pas…
workspace_register_existing_repo from source
Register an existing local Git repo as a remote HTTP/OAuth workspace alias. Not for stdio/local provider path access. Requires LLM_GATEWAY_WORKSPACE_ADMIN=1 and OAuth scope workspa…