ape
Integrates with GitHub as the shipping provider, enabling APE to push run branches, open or reuse pull requests, wait for required checks, and squash-merge with optional auto-merge.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@apeStart a phase run to add optimistic locking to invoices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
APE — Aidan’s Phase Engine
APE runs coding tasks through planning, tests, implementation, review, and shipping. It saves progress outside the chat, so a task can continue in another session.
APE coordinates the host's native agents. Its runtime decides the next stage and checks the evidence before accepting a worker's result. This helps catch unsupported claims; it does not guarantee that a test, review, or code change is correct.
Current status
Version 2.24.14 is a release candidate awaiting a new live certification campaign and tagged publication. The 2.24.12 campaign stopped before an APE run started because Codex exposed an incompatible native agent schema. The earlier 2.24.11 mechanical run does not certify this candidate. See the current release status for the exact limits.
Codex CLI is the primary host. The Claude Code package is included, but Claude live operation is unverified. Codex IDE integrations and ChatGPT web, mobile, and cloud runtimes are not supported. Codex is the sole required live release-certification host; a Claude subscription or API account is not required to use APE with Codex or publish its release.
Installing APE does not start a run. You choose when it can work and ship.
Related MCP server: claude-swarm
Install
Node.js 22.12.0 or newer is required.
Codex CLI
Use the pinned Codex CLI 0.147.0. Install the plugin and enable the native V2 worker tools in the Codex home you use for APE:
codex plugin marketplace add AAWWCC/ape
codex plugin add ape@ape
codex features enable multi_agent_v2The feature command updates that Codex home's config.toml. Restart Codex, then
use codex features list in the same launch environment to verify that
multi_agent_v2 is true. The older multi_agent setting alone does not ensure
the worker interface APE requires. See host compatibility
for the equivalent configuration and launch option.
Claude Code
Run inside Claude Code:
/plugin marketplace add AAWWCC/ape
/plugin install ape@ape
/reload-pluginsBoth packages run locally through Node.js. APE stores project state under
.ape/runtime/; it does not send that state to an APE-operated service.
The coding host and configured tools still use their own services and permissions.
Compatibility
compatibility.json defines the supported host versions
and platforms. See host compatibility before changing a
CLI version. CI checks packages on Linux, macOS, and Windows.
Use
Start by setting up the project's test commands. Configuration changes are proposed for your approval:
/ape:config init
/ape:config doctorThen start a task, check its progress, or continue it later:
/ape:run Add optimistic locking to invoice updates
/ape:status
/ape:resumeUse APE for work that needs tests, review, or continuity across sessions. For a tiny edit or a quick question, an ordinary coding session may be simpler.
Skill | What it does |
| Start a build, investigation, or shipping run. |
| Show progress, pending work, and blocks. |
| Continue an interrupted run. |
| Inspect past runs and their results. |
| Set up commands, models, and shipping. |
| Request an audited abort, reset, or dispatch expiration. |
| Manage an optional project roadmap. |
Only read-only status may be selected automatically. Invoke the other skills
explicitly. See the skill reference for details.
Pipelines
Mode | Work |
| Plan, test, implement, review, and ship a change. |
| Investigate a problem without editing files. |
| Research a question without editing files. |
| Review and ship existing work without editing it. |
A phase run uses one of three lanes:
Mechanical: documentation, generated files, and other non-behavioral changes.
Fast: small behavioral changes without high-risk triggers.
Full: larger or sensitive changes, such as authentication, migrations, or public APIs.
Choose auto to let APE classify the lane. A run can move to a stricter lane,
but not a lighter one.
Behavioral changes normally start with failing tests, written by a separate
test worker. Use green-maintenance for tests that should already pass, such as
a regression net or deflake. Non-behavioral work does not need fabricated failing
tests. See pipeline rules for scope limits and stage order.
Gates and shipping
Before dispatching workers, APE checks the proposed scope, repository state, commands, required capabilities, and later pipeline stages. Missing paths need approval; they are not silently added.
Workers must return validated results called receipts. APE also checks file scope, tree identity, tests, reviews, and the configured gates before shipping.
GitHub is the only shipping provider. Each project needs its own explicit
repository target. By default, green work waits for an audited ship action.
With shipping.auto_merge: true, a run also needs explicit per-run shipping
approval before APE may push, open a PR, and merge.
APE waits for required checks and proof of the remote merge. A failed local cleanup does not undo a proven remote success. A blocked run does not authorize automatic reset, abort, or restoration.
See configuration and pipeline rules for the exact checks and recovery options.
Development
npm ci
npm run public:hooks
npm run typecheck
npm run test:agent
npm run bundle
npm run package:plugins
npm run package:check
npm run public:checknpm test uses six workers. npm run test:agent -- <paths...> uses three and is
the preferred profile when other agents may also be testing.
Keep runtime changes, tests, and generated packages easy to review separately. The Git hooks check commit identities; verify the remote before pushing. A rebuild does not update an installed plugin. Reinstallation, pushes, and publication are separate actions.
For the full checklists, see Contributing, release checks, prompt evaluations, and performance baselines.
Help and license
Security policy for private vulnerability reports
APE is licensed under MIT. See third-party notices for material with separate terms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Coordinate coding agents through MCP using existing AI plans, saved work, and independent checks.
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides comprehensive session management for Claude Code with automatic initialization/cleanup, quality checkpoints, and local conversation memory with semantic search for capturing learnings across coding sessions.62BSD 3-Clause
- AlicenseNot gradedqualityCmaintenanceOrchestrates parallel Claude Code worker swarms with protocol-based behavioral governance for multi-hour autonomous coding sessions.11110MIT
- FlicenseNot gradedqualityDmaintenanceCoordinates multiple Claude Code agents to work collaboratively on projects with role-based task management, shared state, and automated code review.82-
- AlicenseNot gradedqualityBmaintenanceOrchestrates Claude Code and OpenAI Codex to plan, implement, review, and verify code changes via pull requests with security controls.1MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AAWWCC/ape'
If you have feedback or need assistance with the MCP directory API, please join our Discord server