Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Run Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP with background jobs
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ai-cli": {
"command": "npx",
"args": [
"-y",
"ai-cli-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add ai-cli -- npx -y ai-cli-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ai-cli": {
"command": "npx",
"args": [
"-y",
"ai-cli-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ai-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-cli-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 mkXultra 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.24.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, LexPact UK Contracts
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
🇯🇵 日本語のREADMEはこちら
📦 Package Migration Notice: This package was formerly
@mkxultra/claude-code-mcpand has been renamed toai-cli-mcpto reflect its expanded support for multiple AI CLI tools.
An MCP (Model Context Protocol) server that allows running AI CLI tools (Claude, Codex, Gemini, OpenCode, Grok, and Pi) in background processes with automatic permission handling.
Did you notice that Cursor sometimes struggles with complex, multi-step edits or operations? This server, with its powerful unified run tool, enables multiple AI agents to handle your coding tasks more effectively.
This MCP server provides tools that can be used by LLMs to interact with AI CLI tools. When integrated with MCP clients, it allows LLMs to:
--dangerously-skip-permissions)--dangerously-bypass-approvals-and-sandbox)agy --print, stream-json, and --dangerously-skip-permissions)streaming-messages-json, automatic tool approval, and automatic updates disabledopencode run --format json --dir )grok, grok-4.6, grok-4.5), OpenCode (opencode plus oc- ), and Pi (pi plus pi- )You can instruct your main agent to run multiple tasks in parallel like this:
Launch agents for the following 3 tasks using acm mcp run:
1. Refactor
src/backendcode usingsonnet
2. Create unit tests for
src/frontendusinggpt-5.3-codex
3. Update docs in
docs/usinggemini-3.1-pro-high
While they run, please update the TODO list. Once done, use the
waittool to wait for all completions and report the results together.
You can reuse heavy context (like large codebases) using session IDs to save costs while running multiple tasks.
1. First, use
acm mcp runwithopusto read all files insrc/and understand the project structure.
2. Use the
waittool to wait for completion and retrieve thesession_idfrom the result.
3. Using that
session_id, run the following two tasks in parallel withacm mcp run:
- Create refactoring proposals for
src/utilsusingsonnet
- Add architecture documentation to
README.mdusinggpt-5.3-codex
4. Finally,
waitagain to combine both results.
The only prerequisite is that the AI CLI tools you want to use are locally installed and correctly configured.
claude doctor passes, and execution with --dangerously-skip-permissions is approved (you must run it manually once to login and accept terms).agy and sign in once; tested with 1.2.5. See the migration instructions below.~/.grok/bin/grok, then PATH; GROK_CLI_NAME overrides either with a command name or absolute path.opencode run --format json, and explicit provider/model selection follows the oc- wrapper syntax exposed by ai-cli models.pi --list-models to see the provider/model pairs available to your account. PI_CLI_NAME overrides the binary name or path.The Gemini backend uses Google's Antigravity CLI (agy, tested with 1.2.5). On macOS/Linux:
curl -fsSL https://antigravity.google/cli/install.sh | bash
~/.local/bin/agy # Sign in once interactively agy models ai-cli run --cwd /path/to/project --model gemini-ultra --prompt "Review this project"
On Windows, follow the official PowerShell instructions. Discovery checks ~/.local/bin/agy on macOS/Linux or %LOCALAPPDATA%/agy/bin/agy.exe on Windows, then PATH. Set ANTIGRAVITY_CLI_NAME to override this path.
The backend key remains gemini in doctor, models, and process results. The built-in gemini-ultra selects gemini-3.8-flash-high. Update custom aliases targeting old Gemini CLI names with ai-cli alias add; agy models lists the names available to your account. A supplied reasoning_effort must match the model suffix (for example, gemini-3.8-flash-medium with medium). Other Antigravity model families are not routed through this backend.
peek reads incremental assistant text and optional tool start/completion events. get_result/ai-cli result return the final response and expose Antigravity's conversation_id as session_id; pass it to the next run to resume with --conversation. Old Gemini CLI output parsing and session resumption are not supported.
This integration sets Antigravity's run limit to two hours (2h) by default. Set ANTIGRAVITY_PRINT_TIMEOUT=1h (or another positive duration) in the environment of ai-cli or the MCP server to override it. Antigravity's 0 means an immediate timeout. ACM wait(timeout: 0) only removes the waiting deadline and does not change this separate run limit.
There are now two primary ways to use this package:
ai-cli-mcp: MCP server entrypointai-cli: human-facing CLI for background AI runsnpxThe recommended way to use the MCP server is via npx.
"ai-cli-mcp": {
"command": "npx", "args": [ "-y", "ai-cli-mcp@latest" ] },
claude mcp add ai-cli '{"name":"ai-cli","command":"npx","args":["-y","ai-cli-mcp@latest"]}'
If you want to use the production CLI directly from your shell, install the package globally:
npm install -g ai-cli-mcp
This exposes both commands:
ai-cliai-cli-mcpExamples:
ai-cli doctor
ai-cli models ai-cli run --cwd "$PWD" --model sonnet --prompt "summarize this repository" ai-cli run --cwd "$PWD" --model opencode --prompt "summarize this repository with OpenCode defaults" ai-cli run --cwd "$PWD" --model oc-openai/gpt-5.4 --session-id ses_123 --prompt "continue this session with an explicit OpenCode model" ai-cli run --cwd "$PWD" --model pi-openai-codex/gpt-6-astra --reasoning-effort high --prompt "review this repository with Pi" ai-cli ps ai-cli result 12345 ai-cli result 12345 --verbose ai-cli peek 12345 --time 10 ai-cli wait 12345 --timeout 300 ai-cli wait 12345 --timeout 0 ai-cli wait 12345 --verbose ai-cli kill 12345 ai-cli cleanup ai-cli-mcp
npxBecause the published package name is still ai-cli-mcp, the shortest npx form for the CLI is:
npx -y --package ai-cli-mcp@latest ai-cli run --cwd "$PWD" --model sonnet --prompt "hello"
npx -y --package ai-cli-mcp@latest ai-cli run --cwd "$PWD" --model oc-openai/gpt-5.4 --prompt "hello from OpenCode"
Forge CLI support has been removed. models and doctor no longer include Forge, and model: "forge" is rejected. In your user configuration, remove aliases targeting forge or change their targets to supported models. FORGE_CLI_NAME is no longer used.
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.
npm install -g @anthropic-ai/claude-code
claude --dangerously-skip-permissions
Follow the prompts to accept. Once this is done, the MCP server will be able to use the flag non-interactively.
For Codex, ensure you're logged in and have accepted any necessary terms:
codex login
Start Antigravity once interactively to sign in:
agy
macOS might ask for folder permissions the first time any of these tools run. If the first run fails, subsequent runs should work.
ai-cli currently supports:
runpsresultpeekwaitkillcleanupdoctormodelsalias list / alias add / alias rmmcpExample flow:
ai-cli doctor
ai-cli models ai-cli run --cwd "$PWD" --model gpt-5.4 --prompt "use the default Codex model" ai-cli run --cwd "$PWD" --model codex-ultra --prompt "fix failing tests" ai-cli run --cwd "$PWD" --model opencode --session-id ses_existing --prompt "continue this OpenCode session" ai-cli run --cwd "$PWD" --model oc-openai/gpt-5.4 --prompt "run with an explicit OpenCode backend model" ai-cli run --cwd "$PWD" --model pi --prompt "run with Pi's configured default model" ai-cli run --cwd "$PWD" --model pi-openai-codex/gpt-6-astra --reasoning-effort xhigh --prompt "run Pi with an explicit model" ai-cli ps ai-cli peek 12345 --time 10 ai-cli peek 12345 12346 --time 10 ai-cli wait 12345 ai-cli wait 12345 --verbose ai-cli result 12345 ai-cli result 12345 --verbose ai-cli cleanup
run accepts --cwd as the primary working-directory flag and also accepts the older aliases --workFolder / --work-folder for compatibility.
OpenCode model selection accepts either:
opencode for the CLI's configured default modeloc- for an explicit OpenCode provider/model, for example oc-openai/gpt-5.4ai-cli models runs opencode models and returns opencode plus discovered names such as oc-openai/gpt-6-astra in the opencode array. Each name can be passed directly to run. Discovery status and errors are available in dynamicModelBackends.opencode.discovery.
Codex model selection uses gpt-5.4 as the default advertised model. Select gpt-6.1-sol for the latest Sol model, gpt-6-sol for the previous Sol model, or gpt-6-luna for Luna. All three
只显示了开头部分;其余内容请在仓库中阅读