AIDEMD
v0.22.0Open-source agentic SDLC framework for intent-driven, spec-driven development, with an MCP toolkit
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
aide_discover
Scan for .aide spec files in this project. Returns a tree map of where specs live, following progressive disclosure. Without a path: returns a lightweight project-wide map — file locations, type tags and each spec's one-line description; a plan or todo tag carries its status, e.g. [plan: approved]. An intent spec whose approval is proposed is tagged [intent: proposed]. Only the head of each file is read. Use this once to understand the project's spec architecture. With a path: the response opens with the ancestor chain — the cascading intent lineage from project root down to the target d…
| Parameter | Type | Description |
|---|---|---|
path | string | Subdirectory to drill into. When provided, the response opens with the ancestor chain — the cascading intent lineage from root to target, each ancestor showing its description and alignment status â… |
aide_read
Read an .aide spec file with full context. Returns the file content, its classified type (intent/research/plan/todo), related specs in the same directory, and links found in the content (relative paths, inline references, URLs). Use this after aide_discover to drill into a specific spec.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the .aide file to read |
aide_scaffold
Create a new AIDE working file from its blank template, under its canonical name. It never overwrites: a request for a file that already exists, filled or empty, is a no-op reported as a skip line — remove a file first with aide_cleanup to replace it. New files start with their starting value: an intent spec alignment: unreviewed and approval: proposed, a plan or todo list status: proposed. Proposed specs are how a planned structure is put on disk for the user to look at before approving it. Handles the naming rules, so never pick a name yourself: in a module folder, intent specs are .aide b…
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory where the .aide file(s) will be created. For the project root intent spec pass ".aide" or "."; it lands at .aide/intent.aide |
type * | string | Type of file to create: intent, research, both, todo, plan, or session (always .aide/session.aide) |
aide_cleanup
Remove a module's pipeline ephemerals (plan.aide, todo.aide, brief.aide) once that module's cycle has closed, leaving the code and the intent specs as the durable record. It never removes, rewrites or reads anything else: intent specs, research specs, code, and .aide/session.aide are all out of reach. Each file it would remove must record a closed status: completed (re-checked — every checkbox really checked) or abandoned. A file from before statuses existed, with no status but every checkbox checked, also passes. It refuses anything still proposed or approved, a completed file with an open…
| Parameter | Type | Description |
|---|---|---|
path * | string | The module directory whose ephemerals to remove, relative to the project root |
dryRun | boolean | Optional. Removes nothing and only reports what a real call would remove. Agents closing a module omit it. |
aide_move
Move or rename a planned module folder: a folder that holds nothing but intent specs, its child folders included, whether they are proposed, approved or record no approval. Use it when the user wants a planned structure arranged differently. It never moves a built module or work begun on one. Two calls. Without confirm it only previews: every file, every value it would reset, every scope it would rewrite, the scopes it leaves alone and the session record lines that name the old path. Nothing changes. Show the preview to the user; once they approve, call again with the same from and to and the…
| Parameter | Type | Description |
|---|---|---|
from * | string | The module folder to move, relative to the project root |
to * | string | Where it goes, its new name included, relative to the project root |
confirm | string | The confirm code a preview returned. Omit it to preview; pass it only after the user approved that preview |
aide_discard
Remove a planned module folder the user turned down: a folder that holds nothing but proposed intent specs, its child folders included. It cancels a planned module, never work begun on one. To remove a module's closed plan, brief and todo files use aide_cleanup, which never removes a spec. Two calls. Without confirm it lists every intent spec it would remove and removes nothing. Show the list to the user; once they approve, call again with the same path and the confirm code the listing gave. It removes exactly what was listed and refuses if anything in the folder changed since. The whole cal…
| Parameter | Type | Description |
|---|---|---|
path * | string | The proposed module folder to remove, relative to the project root |
confirm | string | The confirm code a listing returned. Omit it to list; pass it only after the user approved that listing |
aide_frontmatter
Read or change one governed frontmatter value of an AIDE file, leaving every other byte untouched. Intent specs carry two values: alignment (unreviewed, aligned, misaligned) and approval (proposed, approved). A spec that records no approval reads as approved. Approval moves either way: approved is refused on a spec while any spec above it is not approved, and on a plan or brief while its own folder's spec is not approved; returning a spec to proposed changes nothing else. Set approval to approved only on the user's yes. plan.aide, brief.aide and todo.aide carry one status lifecycle: proposed,…
| Parameter | Type | Description |
|---|---|---|
path * | string | Path of the AIDE file, relative to the project root |
field | string | Governed field to change: alignment or approval (intent specs), or status (plans, todo lists, briefs). Omit with value to read. |
value | string | New value for field. Omit with field to read. |
aide_validate
Health check for .aide spec files in the project. A proposed spec with no code is healthy: it is a planned module. An approved spec whose folder holds no code yet is reported as approved-without-code (approved with no code yet, not stray). Detects orphaned specs (orphaned-spec: a spec whose approval cannot be read and whose folder, subfolders included, holds no code — only AIDE files, Markdown and dot-files; the project root intent spec in .aide/ is never reported as either, and a plan's presence never decides it), plans with no intent spec beside them (plan-without-spec — write the folder…
| Parameter | Type | Description |
|---|---|---|
path | string | Subdirectory to validate (defaults to entire project) |
aide_upgrade
Compare the AIDE methodology artifacts in this project against the canonical versions and return structured JSON results grouped by category. Use this when the user asks to update AIDE, sync AIDE, refresh AIDE, check for AIDE updates, or bring AIDE up to date. This is NOT for editing user .aide specs — it inspects methodology infrastructure only. The tool uses a two-call pattern for progressive disclosure: **First call (no `category` param):** Returns a lightweight summary — every category with file names, statuses, and counts, but NO file content. Use this to understand what has drifted…
| Parameter | Type | Description |
|---|---|---|
beforeHash | string | The `beforeHash` a `brainChange` preview returned. Turns the call into the guarded apply: the change is written only if the current bytes still hash to this value. |
brainChange | string | Brain-category-only selector for one stale section (its marker) or the legacy launcher (`launcher`). Without `beforeHash` the call previews that one change read-only; with `beforeHash` it applies it. |
category | string | When provided, applies that category. For package-owned categories the call writes all differs/missing files to disk and returns a manifest (no canonicalContent). For `brain` it inserts missing sectio… |
framework | string | Force a specific framework instead of auto-detecting. Auto-detection checks for framework-specific files/directories and defaults to Claude Code. |
path | string | Custom project root path (defaults to server working directory) |
targetVersion | string | Exact published x.y.z version to judge the project's local aide entry's npx pin against (normally aide_info's behind.latest). With category "mcp" the tool moves the pin to it, changing only the versio… |
aide_info
Boot-time reporter called by the orchestrator at startup. Returns independent top-level fields that the orchestrator must branch on separately: **`outdated` (array of stale artifact keys) — soft notification.** Compares the host's `.aide/versions.json` against the canonical manifest shipped with this running server — never against the latest published version, so files that match the version the project runs are current even when a newer release exists. Each element names an artifact key that is behind; the key `hooks` means the project's Claude Code hooks are missing or differ from what…
aide_brain
On-demand brain entry-point tool. Call this when you need to reach the brain mid-task — do NOT call it on every /aide boot. Boot-time brain precondition state is already reported by aide_info.brain.status; firing aide_brain at boot duplicates that work unnecessarily. It is also how a brain config is set up, repaired or written for any backend, one decision at a time. Every mode is read-only: no call writes to disk. **Optional `source` parameter** — which read runs. Omitted means `"host"`. - `"host"` — one section of the host's `.aide/config/brain.aide`, described below. - `"template"` â…
| Parameter | Type | Description |
|---|---|---|
kind | string | Which section: any section marker of the published contract, live or seed, or `launcher` with `source: "template"` only. Omitted means `orientation`. Not accepted with `contract` or `draft`. Seed sect… |
path | string | Project-relative path of a draft brain config. Required with `source: "draft"` and accepted nowhere else; a path outside the project is refused unread. |
source | string | Which read runs. Omitted means `host`: one section of the host's `.aide/config/brain.aide`. `template`: one section or the launcher of the bundled template, with its purpose. `contract`: every contrac… |
aide_init
Bootstrap the AIDE development environment into a project. Returns structured JSON for agent consumption — not prose. The tool uses a two-call pattern for progressive disclosure: **First call (no `category` param):** Returns a lightweight summary — every step with `name`, `status` (would-create/would-overwrite/would-skip/exists), `category`, and `filePath`, but NO `content` fields. Also returns `brainHints` (brain root candidates) and detected `framework`. Use this to understand what needs to be done and which categories require user prompts. **Second call (with `category` param):** The…
| Parameter | Type | Description |
|---|---|---|
category | string | Write all would-create and approved would-overwrite files for this category to disk and return a manifest (status: created/overwritten/exists; would-skip steps pass through unchanged). Omit on the fir… |
framework | string | Force a specific framework instead of auto-detecting. Use this when re-calling after the user confirms or overrides detection. |
path | string | Custom project root path (defaults to server working directory) |
aide_inspect
Return JSDoc, signature, and kind for a named symbol without opening the full file — Tier 2 progressive disclosure for code. When an agent knows a function name from an import list or orchestrator file, call inspect to learn what the symbol does, what it accepts, and what it returns, based on its contract alone. Searches across TypeScript and JavaScript source files (ts, tsx, js, jsx, mjs, cjs). Use the optional `file` parameter to narrow the search to a single file when the location is already known.
| Parameter | Type | Description |
|---|---|---|
name * | string | Symbol name to look up |
file | string | Optional file path to narrow search to a single file |
aide_observer_start
Start the observer (or reuse the running one) and check that no other session is open in this project. The observer is mandatory: it is the single source of truth for which agent session works in a project, and a project has at most one open session. Call it at every session start, after reporting `session_started` through aide_observer_event on its own and reading that reply; call it once more when a report replies `observer not running`. It takes no arguments. One observer serves every project on this machine: it tries AIDE_OBSERVER_PORT first if set, then 24680 to 24689 in order, takes the…
aide_observer_event
Report one action of this session to the observer. Each report is written first to this session's own log outside the project, then shown live if an observer is running. Never retry a report and never wait on one. A folder's move is recorded by aide_move itself; never report one. The server stamps time, session and order; send only `kind` and that kind's fields. Kinds: `session_started` (first, once per session, called on its own: projectRoot, kanbanTag; the observer finds the board from the `kanban` field of the project's brain config, so a brainPath is optional and informational only) · `pr…
| Parameter | Type | Description |
|---|---|---|
kind * | string |
aide_observer_end_session
End another open session of this project, only after the user has approved it. Use it when aide_observer_start answers HALT and the user chooses to end the session it names: pass `sessionId` exactly as the HALT line gave it — an observer session id, or the Claude session id of a session that never reported (written `claude:<id>` in the HALT; pass the id without the `claude:` prefix). Ending only writes a mark that the session has ended: it deletes no log, presence or project file. A later report from the ended session is still recorded and flagged as previously ended; the session reopens onl…
| Parameter | Type | Description |
|---|---|---|
sessionId * | string |