ai-cli-mcp
Enables running multiple AI CLI tools (Claude, Codex, Gemini, Forge, OpenCode) as background processes with automatic permission handling, allowing LLMs to execute async multitasking and combine different AI models.
Install
npx -y ai-cli-mcp
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"ai-cli-mcp": {
"command": "npx",
"args": [
"-y",
"ai-cli-mcp"
],
"env": {
"CODEX_CLI_NAME": "<CODEX_CLI_NAME>",
"FORGE_CLI_NAME": "<FORGE_CLI_NAME>",
"CLAUDE_CLI_NAME": "<CLAUDE_CLI_NAME>",
"GEMINI_CLI_NAME": "<GEMINI_CLI_NAME>",
"MCP_CLAUDE_DEBUG": "<MCP_CLAUDE_DEBUG>",
"OPENCODE_CLI_NAME": "<OPENCODE_CLI_NAME>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.