aidemd-mcp/server
Structured .aide spec files that give AI agents progressive disclosure into your codebase architecture via MCP.
README
@aidemd-mcp/server
MCP server that brings intent-driven development to any AI-powered IDE.
Manage .aide spec files that live next to your code — the domain context
that architects plan from, implementors build from, and QA validates against.
Features
- Project-wide spec discovery with a progressive disclosure tree that surfaces intent, research, and QA specs at every level of your codebase
- One-command project bootstrap via
aide_init— wires methodology docs, pipeline commands, and this MCP server into your project in a single guided flow - Automatic naming convention enforcement —
aide_scaffoldhandles the.aide/intent.aiderename rules so you never create conflicting specs - Health-check validation via
aide_validate— detects orphaned specs, missing descriptions, broken links, and naming conflicts before they cause drift - Code introspection via
aide_inspect— returns JSDoc, signatures, and kind for named symbols without opening files, giving agents Tier 2 progressive disclosure for code - Upgrade drift detection via
aide_upgrade— compares your project's AIDE methodology artifacts against canonical versions and writes updates per-category
Installation
Quick Start (Claude Code)
The fastest path is a single npx command that wires everything up automatically:
npx @aidemd-mcp/server@latest init
This command:
- Merges the AIDE MCP server entry into
.mcp.json(creates the file or skips the entry if already present) - Writes the
/aide:initslash command to.claude/commands/aide/init.md(skips if exists) - Writes the
aide-treelauncher to.aide/bin/aide-tree.mjs(skips if exists)
All operations are idempotent — safe to re-run at any time.
After running, open Claude Code and run /aide:init to complete setup.
Manual Configuration
If you use a client other than Claude Code, or prefer to configure manually, add the server entry to your client's MCP config file.
Claude Code
claude mcp add aide npx -- -y @aidemd-mcp/server@latest
Or add to your project's .mcp.json:
{
"mcpServers": {
"aide": {
"command": "npx",
"args": ["-y", "@aidemd-mcp/server@latest"]
}
}
}
[!NOTE] The Quick Start command above handles this automatically for Claude Code users.
Claude Desktop
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"aide": {
"command": "npx",
"args": ["-y", "@aidemd-mcp/server@latest"]
}
}
}
[!NOTE] Claude Desktop does not inherit the terminal PATH. If you use nvm or Homebrew to manage Node,
npxmay not be found. Runwhich npxin your terminal to get the absolute path and replace"npx"with it in the config above.
Claude Desktop requires a full quit-and-reopen after any config change.
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"aide": {
"command": "npx",
"args": ["-y", "@aidemd-mcp/server@latest"]
}
}
}
VS Code / Copilot
Add to .vscode/mcp.json:
{
"servers": {
"aide": {
"command": "npx",
"args": ["-y", "@aidemd-mcp/server@latest"]
}
}
}
[!NOTE] VS Code / Copilot uses
"servers"as the root key, not"mcpServers". Using the wrong root key causes the server to silently fail to load.
Windsurf
Add to ~/.windsurf/mcp.json:
{
"mcpServers": {
"aide": {
"command": "npx",
"args": ["-y", "@aidemd-mcp/server@latest"]
}
}
}
Tools
aide_discover
Scan the project for .aide spec files and return a progressive disclosure tree map showing each spec's type, location, and summary.
Inputs:
path(string, optional): 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 — followed by the detailed subtree with summaries and warnings. When omitted, returns a shallow project-wide map (locations and types only).
aide_read
Read an .aide spec file with full context, returning the file content, its classified type (intent/research/plan/todo), related specs in the same directory, and links found in the content.
Inputs:
path(string, required): Path to the.aidefile to read.
aide_scaffold
Create new .aide spec files with automatic naming convention enforcement. Handles the rename rules: 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 existing .aide to intent.aide.
Inputs:
directory(string, required): Directory where the.aidefile(s) will be created.type(string, required): Type of.aidefile to create. One of:intent,research,both,todo,plan.
aide_inspect
Return the JSDoc block, signature, and kind for a named function, method, class, interface, or type alias in the workspace — Tier 2 progressive disclosure for code. Agents can understand a symbol's contract without opening the file.
Inputs:
name(string, required): Symbol name to look up.file(string, optional): Restrict search to a single file (relative to project root).
aide_validate
Run a health check on .aide spec files in the project. Detects orphaned specs, missing specs, naming conflicts (.aide and intent.aide in the same folder), broken links, orphaned research files, and missing frontmatter descriptions.
Inputs:
path(string, optional): Subdirectory to validate. Defaults to the entire project when omitted.
aide_init
Bootstrap the AIDE development environment into a project using a guided one-at-a-time wizard. On the first call (no category), returns a summary of every step with status and detected framework. On subsequent calls (with category), writes all pending files for that category to disk and returns a manifest.
Inputs:
framework(string, optional): Force a specific framework instead of auto-detecting. One of:claude,cursor,windsurf,copilot.path(string, optional): Custom project root path. Defaults to the server working directory.category(string, optional): Write allwould-createfiles for this category and return a manifest. One of:framework,methodology,commands,agents,skills,mcp,brain,ide. Omit on the first call to get a metadata-only summary.brainPath(string, optional): Resolved brain vault path. Required whencategory=brain.
aide_upgrade
Compare the AIDE methodology artifacts in this project against canonical versions and return a structured diff grouped by category. On the first call (no category), returns a lightweight summary of every category with drift status. On subsequent calls (with category), writes all diffed or missing files for that category to disk and returns a manifest.
Inputs:
framework(string, optional): Force a specific framework instead of auto-detecting. One of:claude,cursor,windsurf,copilot.path(string, optional): Custom project root path. Defaults to the server working directory.category(string, optional): Write all drifted or missing files for this category and return a manifest. One of:pointer-stub,methodology-docs,version-metadata,commands,agents,skills,mcp,ide. Omit on the first call to get a metadata-only summary.
Getting Started
After adding the server to your MCP client, ask your agent to run aide_init to bootstrap the AIDE methodology into your project. This installs the methodology docs, scaffolds pipeline commands, and wires everything up.
Then try: "Scaffold an intent spec for my authentication module" — the agent will use aide_discover to map your project and aide_scaffold to create the spec in the right place with the right naming conventions.
Development
npm install
npm run build
npm test
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.