Ai Cli MCP
未认领MCP server to run Claude, Codex, and Gemini CLI agents in the background from any MCP client.
安装
claude mcp add ai-cli '{"name":"ai-cli","command":"npx","args":["-y","ai-cli-mcp@latest"]}'更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
8 个工具中显示 8 个
文档中列出的工具 (8)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
doctor
Checks supported AI CLI binary availability and path resolution from MCP clients. Like ai-cli doctor, it returns a checks block and does not verify login state or terms acceptance.
get_result
Gets the current output and status of an AI agent process by PID.
kill_process
Terminates a running AI agent process by PID.
list_processes
Lists all running and completed AI agent processes with their status, PID, and basic info.
models
Lists supported model names, aliases, and dynamic backend discovery hints from MCP clients. This returns the same structured payload as ai-cli models.
peek
Starts a one-shot short observation window for running child agents and returns structured events observed during that specific call. By default this includes only natural-language message events; pass includetoolcalls or --include-tool-calls to also include normalized tool-call events. It is not a
run
Executes a prompt using Claude CLI, Codex CLI, Gemini CLI, Forge CLI, or OpenCode. The appropriate CLI is automatically selected based on the model name.
wait
Waits for multiple AI agent processes to complete and returns their combined results. Blocks until all specified PIDs finish or a timeout occurs.