MCP server providing unified access to Claude Code, Codex, Gemini, Grok and Mistral CLIs with session management, retry logic, and async job orchestration.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}