AI CLI MCP
🇯🇵 日本語のREADMEはこちら An MCP (Model Context Protocol) server that allows running AI CLI tools (Claude, Codex, Gemini, Forge, OpenCode, and Grok) in background processes with automatic permission handling. Its 9 documented tools cluster into read & search, claude, codex, gemini. It runs locally over stdio via the published package.
People who work with codex and gemini cli and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-09-17 · ★ 27 · #65 OF 945 MAINTAINED OTHER · VERIFIED 2026-09-18
MIT · TypeScript servers · how we verify → /methodology
01 · Install AI CLI MCP
before you install - you'll need
CLAUDE_CLI_NAME, CODEX_CLI_NAME, OPENCODE_CLI_NAME, ACM_LIVE_E2E are optional or environment-specific per the README.
Claude Code
claude mcp add mkxultra-ai-cli-mcp -- npx -y ai-cli-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"mkxultra-ai-cli-mcp": {
"command": "npx",
"args": [
"-y",
"ai-cli-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package ai-cli-mcp - unscoped; check the name against the project README before installing
registry namespace io.github.mkXultra is GitHub-verified and matches the repo owner
03 · What AI CLI MCP can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can list all running and completed AI agent processes with their status, PID, and basic info, and get the current output and status of an AI agent process by PID.
Capability map
Tools grouped from the project's README - what AI CLI MCP lets an agent do.
read & search
2 tools - e.g. Lists all running and completed AI agent processes with their status, PID, and basic info.; Gets the current output and status of an AI agent process by PID.
list_processes · get_result
Claude
1 tool - e.g. sonnet, sonnet[1m], opus, opusplan, fable, haiku
Claude
Codex
1 tool - e.g. gpt-6-astra, gpt-5.4, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4-mini, gpt-5.3-codex, gpt-5.3-codex-spark, gpt-5.2
Codex
Gemini
1 tool - e.g. gemini-3.8-flash-high, gemini-3.8-flash-medium, gemini-3.8-flash-low, Gemini 3.7/3.6 Flash variants, gemini-3.1-pro-high, gemini-3.1-pro-low
Gemini
Forge
1 tool - e.g. forge
Forge
Grok
1 tool - e.g. grok for its configured default, grok-4.6, grok-4.5, and other native grok- names
Grok
Open Code
1 tool - e.g. opencode for the configured default backend model, plus explicit wrappers like oc-openai/gpt-5.4
OpenCode
Kill
1 tool - e.g. Terminates a running AI agent process by PID.
kill_process
Limitations (from the README)
Before the MCP server can use Claude, you must first run the Claude CLI manually once with the --dangerously-skip-permissions flag, login and accept the terms. Follow the prompts to accept. Once this is done, the MCP server will be able to use the flag non-interactively.
Latest releases
v2.27.0 · 2026-09-17
2.27.0 (2026-09-17) · replace Gemini CLI backend with Antigravity
v2.26.0 · 2026-09-15
2.26.0 (2026-09-15) · add Grok Build CLI support
v2.25.0 · 2026-09-15
2.25.0 (2026-09-15) · support indefinite waits with timeout zero
04 · Who maintains AI CLI MCP
ai-cli-mcp is maintained by mkxultra. It's the only MCP server we track from this author; the repo dates to Jun 2025.
05 · Facts
- repository
- github.com/mkxultra/ai-cli-mcp
- category
- other - ranked #65 of 945 actively-maintained other servers as of 2026-09-18.
- release cadence
- 7 releases in the last 90 days (latest 2026-09-17)
- registry
- io.github.mkXultra/ai-cli-mcp (active, first published 2026-03-02 · 20 versions)
- packages
- npm:ai-cli-mcp
06 · AI CLI MCP FAQ
Is AI CLI MCP still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-17 and it shipped 7 releases in the last 90 days. We re-verify nightly.
What can AI CLI MCP do?
With this server connected, an agent can list all running and completed AI agent processes with their status, PID, and basic info, and get the current output and status of an AI agent process by PID.
How do I install AI CLI MCP?
Run `npx -y ai-cli-mcp`. The README documents 4 environment variables (CLAUDE_CLI_NAME, CODEX_CLI_NAME, OPENCODE_CLI_NAME…) to set first. CLAUDE_CLI_NAME, CODEX_CLI_NAME, OPENCODE_CLI_NAME, ACM_LIVE_E2E are optional or environment-specific per the README. You can also paste the ready-made client config above.
Does AI CLI MCP run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to AI CLI MCP
Alternatives to AI CLI MCP
Maintained other servers if AI CLI MCP isn't the fit.
- Heyputer MCP Server Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more ★ 43,552 · 2026-09-17
- Server Commands An MCP server to run arbitrary commands ★ 39,038 · 2026-09-11
- basebalance.cloud - x402 RPC & MCP gateway USDC-gated Base JSON-RPC: free 10 req/min, $0.50 per 10k. Failover, cache, /mcp, ledger. ★ 6,432 · 2026-08-26
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 5,069 · 2026-09-15
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,470 · 2026-09-18
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,681 · 2026-09-17
More MCP servers to compare · Mlab Sh · PDF Modifier · Clipboard MCP · Molpha MCP · MolTrust MCP Server
More TypeScript MCP servers · Scholar Sidekick · Agent Relay · DevPlan MCP Server · Mnemosyne OS · Mnemoverse Memory · see all