SuperAPIAI Directory

server

github.com · AI coding

Structured .aide spec files that give agents progressive disclosure of codebase architecture.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Purpose

AIDE MCP Server (@aidemd-mcp/server) brings the intent-driven development methodology to any AI coding IDE. It manages .aide specification files located alongside the code—these are the domain context on which architects plan, implementers build, and QA verifies.

It teaches any AI agent the AIDE specification methodology through the MCP protocol, implementing a "progressive disclosure" specification system: presenting intent, research, and QA specifications at every layer of the codebase.

Main Capabilities

  • Project-level specification discovery: Using a progressive disclosure tree, presents intent, research, and QA specifications at every layer of the codebase.
  • One-click project bootstrapping: Connects methodology documents, pipeline commands, and this MCP server to the project via aide_init, completing the bootstrap process in a single run.
  • Automatic enforcement of naming conventions: aide_scaffold handles .aide / intent.aide renaming rules, avoiding the creation of conflicting specifications.
  • Protected pipeline cleanup: aide_cleanup removes the plan, todo, and brief of closed modules only when every checkbox is checked; otherwise it refuses and gives the specific unfinished items.
  • Health check validation: aide_validate detects orphaned specifications, missing descriptions, broken links, and naming conflicts to prevent drift.
  • Code introspection: aide_inspect returns the JSDoc, signature, and kind of a named symbol without opening the file, providing agents with layer 2 progressive disclosure of the code.
  • Upgrade drift detection: aide_upgrade compares the project's AIDE methodology artifacts with the specification version and writes updates by category.
  • Runtime brain entry point: aide_brain is an on-demand tool that returns directly executable text telling the agent which MCP tools to call and how to reach the connected brain backend, without the agent needing to know which backend it is.

Usage

Quick Start (Claude Code)

Choose a startup mode—init will ask, recommend global, and never switch an existing entry.

  • Global: Choose on a personal machine: startup is reliable, stays at the installed version.
  • Local: Choose inshared repositories and cloud/CI: pinned to an exact version, advanced by /aide:upgrade.

Command-line argument --mode global|local Prompting can be skipped (non-interactive runs default to local).

init performs the following operations (all incremental; existing files are never overwritten, and it can be safely rerun at any time):

  • Merge the AIDE MCP server entry into .mcp.json
  • Write the built-in brain config template to .aide/config/brain.aide (the brain location remains unset until /aide:brain config populates it)
  • Write each pipeline slash command to .claude/commands/aide/
  • Install the 10 canonical pipeline agents to .claude/agents/aide/, and the kanban-maintainer board agent to .claude/agents/kanban/
  • Install skills (study-playbook, brain, aide, aide-handoff, kanban, aide-brain-author) to .claude/skills/
  • Install the methodology documentation hub to .aide/docs/
  • Write the aide-tree launcher to .aide/bin/aide-tree.mjs
  • Add the AIDE badge to README.md (append if it does not exist)

After running, open Claude Code and run /aide. The first run routes to /aide:brain config, which populates the brain location in .aide/config/brain.aide, writes the brain MCP entry via sync, and initializes the brain.

Sync brain.aide to .mcp.json

After editing .aide/config/brain.aide, run sync. It reads .aide/config/brain.aide, copies mcpServerConfig as-is under the fixed brain key in .mcp.json, and writes the name field as the server label. Other keys in mcpServers remain unchanged. If a legacy obsidian key exists, it is removed in the same write. This command is idempotent. The exit code is 0 on success (including when there are no changes), and 1 when brain.aide is missing or malformed or .mcp.json is invalid, and 2 for --help.

Manual configuration

If you use a client other than Claude Code, or prefer manual configuration, you can add the server entry to the client's MCP configuration file.

  • Global (recommended for personal machines): first install npm i -g @aidemd-mcp/server, then register.
  • Or add it to the project's .mcp.json.
  • Locally pinned version: for shared repositories and cloud/CI.

Configuration file locations:

  • macOS:~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows:%APPDATA%\Claude\claude_desktop_config.json

Note: Claude Desktop does not inherit the terminal PATH. If Node is managed via nvm or Homebrew, npx may not be found. Run which npx in the terminal to get the absolute path and replace "npx" in the configuration. Claude Desktop must be fully quit and reopened after configuration changes.

  • Cursor: add to ~/.cursor/mcp.json
  • VS Code / Copilot: add to .vscode/mcp.json, using "servers" as the root key (not "mcpServers"; using the wrong one causes the server to fail to load silently)
  • Windsurf: add to ~/.windsurf/mcp.json

Main Tools

  • aide_discover: Scans .aide specification files in the project and returns a progressive disclosure tree diagram, showing each specification's type, location, and summary. The optional parameter path specifies a subdirectory.
  • aide_read: Reads .aide specification files and their full context, returning the file contents, category type (intent/research/plan/todo), related specifications in the same directory, and links within the contents. The parameter path is required.
  • aide_scaffold: Creates new .aide specification files and automatically enforces naming conventions (the intent specification defaults to .aide, but becomes intent.aide when research.aide exists in the same folder; creating research.aide automatically renames the existing .aide to intent.aide). The parameters directory and type are required.
  • aide_cleanup: Removes pipeline temporary files for closed modules—brief.aide, todo.aide, and plan.aide, and only these. Preconditions are enforced in code.
  • aide_inspect: Returns the JSDoc block, signature, and kind of a named function, method, class, interface, or type alias in the workspace. The parameter name is required, file is optional.
  • aide_validate: Runs health checks to detect orphaned specifications, missing specifications, naming conflicts, broken links, orphaned research files, and missing frontmatter descriptions. The parameter path is optional.
  • aide_info: Startup precondition reporter. Returns two independent fields: outdated (array of outdated AIDE artifact keys) and brain (a { status, name?, hints } object).
  • aide_brain: On-demand brain entry tool, returning two fields: { status, instructions }.
  • aide_init: Bootstraps the AIDE development environment into a project using a guided step-by-step wizard. The parameters framework, path, category, aideMode, and brainMode are optional.
  • aide_upgrade: Compares AIDE methodology artifacts with specification versions and returns structured differences by category. The parameter category is optional.

Applicable Scenarios

  • Developers using AI coding environments such as Claude Code, Cursor, VS Code/Copilot, and Windsurf.
  • Teams that want to establish a unified domain context in a project so that architects, implementers, and QA collaborate based on the same set of specifications.
  • Engineering scenarios that require AI agents to understand the codebase architecture and intent.

Limitations

  • The currently bundled brain template supports only obsidian (default).
  • aide_init does not ask for brain location, path, or token, and rejects backend flags such as --vault-path.
  • brain.status is a closed five-state union: ok | no-brain-aide | brain-aide-invalid | no-mcp-entry | mcp-drift, with no disk path validation.
  • VS Code / Copilot must use the "servers" root key; using the wrong one causes silent loading failure.
  • After changing the Claude Desktop configuration, you must fully quit and reopen it.
  • Details such as some fees, pricing, and specific platform support are not yet provided.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools