MCP server · Audited from source
AI CLI MCP server
by mkxultra/ai-cli-mcpMIT licenceAudited 9 Oct 2026 · source ab447657ea9c
Is it safe? Yes — SAFE, grade B (89/100). It exposes 6 tools: 4 read, 0 write and 2 destructive. The audit recorded 18 findings (0 critical, 0 high, 1 medium, 10 low). Maintainer's description: MCP server to run Claude, Codex, and Gemini CLI agents in the background from any MCP client.
Cite
Cite this page
ModelsAtlas. “AI CLI MCP server (mkxultra/ai-cli-mcp)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/mkxultra/ai-cli-1
Trust audit
Audit 0.4.1 · full source read 9 Oct 2026
18 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkNone observedNothing seen in the source
- ShellDeclared4 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 6 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 9 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
mkxultraUser accountAccount type recorded when we read the repository. - PackagePublished on npm
ai-cli-mcpat version 3.1.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push8 days agoActivity of the repository when we read it.
- Source commit readab447657ea9cThe audit covers exactly this commit, read on 9 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory6 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (18)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
cleanup_processes, kill_process
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · src/__tests__/antigravity-surfaces.test.ts:47
const cli = async (args: string[]) => JSON.parse((await exec(process.execPath, [resolve('dist/bin/ai-cli.js'), ...args], { env })).stdout);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/__tests__/grok-surfaces.test.ts:47
const cli = async (args: string[]) => JSON.parse((await exec(process.execPath, [resolve('dist/bin/ai-cli.js'), ...args], { env })).stdout);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/__tests__/model-discovery-surfaces.test.ts:35
: JSON.parse((await exec(process.execPath, [resolve('dist/bin/ai-cli.js'), 'models'], { env })).stdout);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/__tests__/pi-surfaces.test.ts:53
const cli = async (args: string[]) => JSON.parse((await exec(process.execPath, [resolve('dist/bin/ai-cli.js'), ...args], { env })).stdout);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · src/__tests__/server.test.ts:50
vi.mock('../../package.json', () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/version-print.test.ts:9
readFileSync(new URL('../../package.json', import.meta.url), 'utf-8')- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/wait.test.ts:50
vi.mock('../../package.json', () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/app/mcp.ts:19
const SERVER_VERSION = (require('../../package.json') as { version: string }).version;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, cross-spawn, zod, @eslint/js, @semantic-release/changelog, @semantic-release/git, @types/node, @vitest/coverage-v8
- Why
- 13 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · docs/assets/demo-jp.gif
docs/assets/demo-jp.gif
- Why
- 1364764 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · docs/assets/demo-jp.mp4
docs/assets/demo-jp.mp4
- Why
- 7899969 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · docs/assets/demo-resume-jp.gif
docs/assets/demo-resume-jp.gif
- Why
- 1309040 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · docs/assets/demo-resume-jp.mp4
docs/assets/demo-resume-jp.mp4
- Why
- 9294016 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · docs/assets/demo-resume.gif
docs/assets/demo-resume.gif
- Why
- 1186233 bytes not read
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.ja.md:84
curl -fsSL https://antigravity.google/cli/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.md:80
curl -fsSL https://antigravity.google/cli/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
6 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
cleanup_processes | destructive | Remove all completed and failed processes from the process list to free up memory. |
kill_process | destructive | Terminate a running AI agent process by PID. |
doctor | read | Check supported AI CLI binary availability and path resolution, including Grok (GROK_CLI_NAME override) and Pi (PI_CLI_NAME override). Does not verify login state or terms acceptance. |
get_result | read | Get the current output and status of an AI agent process by PID. Defaults to a compact result shape; set verbose to true for full metadata and detailed parsed output. |
list_processes | read | List all running and completed AI agent processes. Returns a simple list with PID, agent type, and status for each process. |
wait | read | Wait for multiple AI agent processes to complete and return their results. Defaults to compact result items; set verbose to true for full metadata and detailed parsed output. |
Install
Package version 3.1.0 · audited commit ab44765
claude mcp add ai-cli-mcp -- npx -y [email protected]
The command pins the package version recorded in the source (3.1.0); the audit covers commit ab447657ea9c. Transport: stdio. Reads these environment variables: ACM_LIVE_E2E_ASSERT_TOKEN, ACM_LIVE_E2E_TOKEN, AI_CLI_TEST_CWD_KEY. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
ab447657ea9c
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/mkxultra/ai-cli-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about AI CLI MCP server
What is the AI CLI MCP server?
What tools does AI CLI expose?
Is AI CLI safe to connect to an agent?
What credentials does AI CLI need?
How does AI CLI run?
How current is this page?
Sources
- mkxultra/ai-cli-mcp on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit ab447657ea9cObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the AI CLI MCP server?
- What tools does AI CLI expose?
- Is AI CLI safe to connect to an agent?