Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

AI CLI MCP server

by mkxultra/ai-cli-mcpMIT licenceAudited 9 Oct 2026 · source ab447657ea9c

npm ai-cli-mcp 3.1.0stdio★ 27
✓SAFEGrade B · 89/100 · 9 Oct 2026 · ab44765
27GitHub stars

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100✓SAFE B
0 critical0 high1 medium10 low7 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 6 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 9 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmai-cli-mcp at 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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
LOWInventory / provenanceinv.hidden_file · .releaserc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.releaserc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · src/__tests__/antigravity-surfaces.test.ts:47
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
: 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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../package.json', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__tests__/version-print.test.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../package.json', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/app/mcp.ts:19
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const SERVER_VERSION = (require('../../package.json') as { version: string }).version;
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-13 Inventory / provenanceCWE-1104Layer L0
docs/assets/demo-jp.gif
Why
1364764 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · docs/assets/demo-jp.mp4
F-13 Inventory / provenanceCWE-1104Layer L0
docs/assets/demo-jp.mp4
Why
7899969 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · docs/assets/demo-resume-jp.gif
F-13 Inventory / provenanceCWE-1104Layer L0
docs/assets/demo-resume-jp.gif
Why
1309040 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · docs/assets/demo-resume-jp.mp4
F-13 Inventory / provenanceCWE-1104Layer L0
docs/assets/demo-resume-jp.mp4
Why
9294016 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · docs/assets/demo-resume.gif
F-13 Inventory / provenanceCWE-1104Layer L0
docs/assets/demo-resume.gif
Why
1186233 bytes not read
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.ja.md:84
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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

4 read0 write2 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.

ToolRiskWhat it does
cleanup_processesdestructiveRemove all completed and failed processes from the process list to free up memory.
kill_processdestructiveTerminate a running AI agent process by PID.
doctorreadCheck 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_resultreadGet 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_processesreadList all running and completed AI agent processes. Returns a simple list with PID, agent type, and status for each process.
waitreadWait 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

  1. ✓SAFE B 89 / 100

    First audit · ab447657ea9c

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/mkxultra/ai-cli-1/badge.svg)](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?
MCP server to run Claude, Codex, and Gemini CLI agents in the background from any MCP client.
What tools does AI CLI expose?
6 in total: 4 read-only, 0 that write, and 2 that can delete or overwrite (cleanup_processes, kill_process). Every one is listed on this page with its risk.
Is AI CLI safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does AI CLI need?
It reads ACM_LIVE_E2E_ASSERT_TOKEN, ACM_LIVE_E2E_TOKEN and AI_CLI_TEST_CWD_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does AI CLI run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as ai-cli-mcp at 3.1.0.
How current is this page?
The grade is for one exact copy of the source (ab447657ea9c), read on 2026-10-09. The repository is watched and re-audited when it changes.

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.