AIDEMD

v0.20.5
io.github.aidemd-mcp/server Checked 7 hours ago Published 2 days ago

Open-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]. 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 directory, with each ancestor showing its description and alignment statu…

ParameterTypeDescription
pathstringSubdirectory 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.

ParameterTypeDescription
path *stringPath 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, a plan or todo list status: proposed. Handles the naming rules, so never pick a name yourself: in a module folder, intent specs are .aide by default, but become intent.aide when research.aide exists in the same folder. Creating a research.aide auto-renames any exis…

ParameterTypeDescription
directory *stringDirectory where the .aide file(s) will be created. For the project root intent spec pass ".aide" or "."; it lands at .aide/intent.aide
type *stringType 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…

ParameterTypeDescription
path *stringThe module directory whose ephemerals to remove, relative to the project root
dryRunbooleanOptional. Removes nothing and only reports what a real call would remove. Agents closing a module omit it.

aide_frontmatter

Read or change one governed frontmatter value of an AIDE file, leaving every other byte untouched. Intent specs carry alignment (unreviewed, aligned, misaligned). plan.aide, brief.aide and todo.aide carry one status lifecycle: proposed, approved, completed, abandoned. Only allowed moves are accepted, completed is refused while any item is unchecked or, for a brief, until its plan is completed, and a refusal names the allowed next values. Call with path alone to read a file's governed value without changing it. The session record, research specs and brain.aide carry no governed values. The tool…

ParameterTypeDescription
path *stringPath of the AIDE file, relative to the project root
fieldstringGoverned field to change: alignment (intent specs) or status (plans, todo lists, briefs). Omit with value to read.
valuestringNew value for field. Omit with field to read.

aide_validate

Health check for .aide spec files in the project. Detects orphaned specs (a spec whose folder, subfolders included, holds no code — only AIDE files, Markdown and dot-files; the project root intent spec in .aide/ is never orphaned, and a plan's presence never decides it), plans with no intent spec beside them (plan-without-spec — write the folder's spec, never delete the plan), missing specs (orchestrators with 3+ helper imports but no .aide), naming conflicts (.aide + intent.aide in same folder), broken links, orphaned research (research.aide without intent spec), missing descriptions (spe…

ParameterTypeDescription
pathstringSubdirectory 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…

ParameterTypeDescription
beforeHashstringThe `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.
brainChangestringBrain-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.
categorystringWhen 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…
frameworkstringForce a specific framework instead of auto-detecting. Auto-detection checks for framework-specific files/directories and defaults to Claude Code.
pathstringCustom project root path (defaults to server working directory)
targetVersionstringExact 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"` â…

ParameterTypeDescription
kindstringWhich 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…
pathstringProject-relative path of a draft brain config. Required with `source: "draft"` and accepted nowhere else; a path outside the project is refused unread.
sourcestringWhich 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…

ParameterTypeDescription
categorystringWrite 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…
frameworkstringForce a specific framework instead of auto-detecting. Use this when re-calling after the user confirms or overrides detection.
pathstringCustom 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.

ParameterTypeDescription
name *stringSymbol name to look up
filestringOptional 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. 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) · `prompt` (text: the user's message, in full) · `task` (slug, action p…

ParameterTypeDescription
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…

ParameterTypeDescription
sessionId *string