MCP server providing unified access to Claude Code, Codex, Gemini, Grok and Mistral CLIs with session management, retry logic, and async job orchestration.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add llm-cli-gateway -- npx -y llm-cli-gateway~/.codex/config.toml
[mcp_servers.llm-cli-gateway]
command = "npx"
args = ["-y", "llm-cli-gateway"]
# codex mcp add llm-cli-gateway -- npx -y llm-cli-gateway~/.cursor/mcp.json
{
"mcpServers": {
"llm-cli-gateway": {
"command": "npx",
"args": [
"-y",
"llm-cli-gateway"
]
}
}
}.vscode/mcp.json
{
"servers": {
"llm-cli-gateway": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"llm-cli-gateway"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"llm-cli-gateway": {
"command": "npx",
"args": [
"-y",
"llm-cli-gateway"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"llm-cli-gateway": {
"command": "npx",
"args": [
"-y",
"llm-cli-gateway"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"llm-cli-gateway": {
"command": "npx",
"args": [
"-y",
"llm-cli-gateway"
]
}
}
}