superpower-codex-mcp
Coordinates Codex and Antigravity CLI for a structured software development workflow with workspace authorization, Git-based verification, and acceptance criteria.
README
superpower-codex-mcp
A TypeScript MCP server that coordinates Codex and Antigravity CLI with a Superpowers-style software development workflow.
Codex handles planning, review, debugging, and verification. Antigravity CLI handles coding execution. The server adds workspace authorization, Git-based change verification, acceptance criteria, compact task reports, and persisted diagnostics.
Requirements
- Node.js 20 or newer
- Codex CLI installed and authenticated
- Antigravity CLI (
agy) installed and authenticated - Git
Install
git clone https://github.com/Pushplayhero/superpower-codex-mcp.git
cd superpower-codex-mcp
npm.cmd install
npm.cmd run build
npm.cmd test
On macOS or Linux, use npm instead of npm.cmd.
Codex Desktop configuration
Add the server to your Codex MCP configuration. Replace the paths with your local clone and the workspaces the server may access.
[mcp_servers.superpower-codex]
command = "node"
args = ["C:\\path\\to\\superpower-codex-mcp\\dist\\src\\index.js"]
[mcp_servers.superpower-codex.env]
SUPERPOWER_CODEX_ALLOWED_ROOTS = "C:\\path\\to\\projects"
Restart Codex Desktop after changing MCP configuration.
Antigravity configuration
In a project that should use this MCP server, add .agents/mcp_config.json:
{
"mcpServers": {
"superpower-codex": {
"command": "node",
"args": [
"C:\\path\\to\\superpower-codex-mcp\\dist\\src\\index.js"
],
"env": {
"SUPERPOWER_CODEX_ALLOWED_ROOTS": "C:\\path\\to\\projects"
}
}
}
}
The default Antigravity executable is:
%LOCALAPPDATA%\agy\bin\agy.exe
Set SUPERPOWER_ANTIGRAVITY_COMMAND when it is installed elsewhere:
$env:SUPERPOWER_ANTIGRAVITY_COMMAND = "C:\custom\path\agy.exe"
Available tools
| Tool | Purpose |
|---|---|
validate_workspace |
Validate workspace authorization and local capabilities without invoking a model. |
summarize_repo_context |
Read repository instructions such as AGENTS.md and GEMINI.md. |
plan_with_codex |
Ask Codex to create and save an implementation plan. |
review_with_codex |
Ask Codex to review a diff or selected files. |
debug_with_codex |
Ask Codex to investigate failures systematically. |
verify_with_codex |
Run explicitly allowed verification commands and ask Codex to assess the evidence. |
review_code_quality |
Run a local TypeScript structural scan without consuming model tokens. |
run_antigravity_coding_task |
Execute a coding task through Antigravity CLI. |
run_gemini_coding_task |
Deprecated compatibility name; it now uses the same Antigravity-only handler. |
run_development_workflow |
Coordinate plan, implement, review, fix, and verify stages. |
Recommended workflow
- Call
validate_workspace. - Call
summarize_repo_context. - Use
plan_with_codexfor broad or risky changes. - Execute the approved task with
run_antigravity_coding_task. - Use
review_code_qualityas a token-free pre-filter. - Call
review_with_codex. - Send review corrections back to Antigravity when required.
- Call
verify_with_codexbefore declaring completion.
For an automated version of this sequence, use run_development_workflow.
Coding task example
{
"workspacePath": "C:\\path\\to\\project",
"prompt": "Implement the approved task using test-driven development.",
"allowExecution": true,
"timeoutSeconds": 1800,
"model": "Gemini 3.5 Flash (Medium)",
"mode": "execute",
"planApproved": true,
"requireCommit": true,
"requireCleanWorkspace": true,
"acceptanceCriteria": [
{
"id": "AC-1",
"description": "The new behavior is covered by a regression test."
}
],
"allowedFiles": [
"src/example.ts",
"tests/example.test.ts"
],
"responseDetail": "summary"
}
Supported model names:
gemini-3.5-flashGemini 3.5 Flash (Medium)Gemini 3.1 Pro (High)
Unsupported legacy Gemini model names are rejected. The server does not automatically retry with a stronger model.
Workspace safety
By default, only the MCP process working directory and its descendants are allowed. Additional roots must be explicitly configured:
$env:SUPERPOWER_CODEX_ALLOWED_ROOTS = "C:\projects;D:\work"
Use ; as the delimiter on Windows and : on macOS or Linux.
Additional safeguards:
- Coding execution requires
allowExecution: true. - Verification commands require
allowCommandExecution: true. - Verification commands run without a shell; pipes, redirects, and command separators are rejected.
- Strict execution compares reported files and commits with Git metadata.
allowedFilesaccepts only repository-relative paths.- Antigravity does not recursively call the coding-task MCP tool.
Development
npm.cmd install
npm.cmd run typecheck
npm.cmd test
npm.cmd run build
The verified baseline is 126 passing tests across 9 test files.
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。