@aidemd-mcp/server 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.aide/plan.aide +89 -160
- package/.aide/readme.aide +338 -0
- package/.aide/todo.aide +24 -35
- package/.claude/agents/aide/aide-aligner.md +98 -0
- package/.claude/agents/aide/aide-architect.md +89 -0
- package/.claude/agents/aide/aide-auditor.md +97 -0
- package/.claude/agents/aide/aide-domain-expert.md +82 -0
- package/.claude/agents/aide/aide-implementor.md +91 -0
- package/.claude/agents/aide/aide-qa.md +87 -0
- package/.claude/agents/aide/aide-spec-writer.md +64 -0
- package/.claude/agents/aide/aide-strategist.md +67 -0
- package/.claude/skills/brain/.aide +229 -0
- package/.claude/skills/brain/SKILL.md +48 -0
- package/.claude/skills/brain/plan.aide +115 -0
- package/.claude/skills/study-playbook/SKILL.md +79 -0
- package/README.md +142 -31
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -1,41 +1,130 @@
|
|
|
1
1
|
# @aidemd-mcp/server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@aidemd-mcp/server)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
MCP server that brings intent-driven development to any AI-powered IDE.
|
|
7
|
+
Manage `.aide` spec files that live next to your code — the domain context
|
|
8
|
+
that architects plan from, implementors build from, and QA validates against.
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
## Features
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
| `todo.aide` | QA checklist. Issues found by audit agents. |
|
|
12
|
+
- **Project-wide spec discovery** with a progressive disclosure tree that surfaces intent, research, and QA specs at every level of your codebase
|
|
13
|
+
- **One-command project bootstrap** via `aide_init` — wires methodology docs, pipeline commands, and this MCP server into your project in a single guided flow
|
|
14
|
+
- **Automatic naming convention enforcement** — `aide_scaffold` handles the `.aide` / `intent.aide` rename rules so you never create conflicting specs
|
|
15
|
+
- **Health-check validation** via `aide_validate` — detects orphaned specs, missing descriptions, broken links, and naming conflicts before they cause drift
|
|
16
|
+
- **Upgrade drift detection** via `aide_upgrade` — compares your project's AIDE methodology artifacts against canonical versions and writes updates per-category
|
|
15
17
|
|
|
16
18
|
## Installation
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
### Quick Start (Claude Code)
|
|
21
|
+
|
|
22
|
+
The fastest path is a single npx command that wires everything up automatically:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx @aidemd-mcp/server@latest init
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
This command:
|
|
29
|
+
- Merges the AIDE MCP server entry into `.mcp.json` (creates the file or skips the entry if already present)
|
|
30
|
+
- Writes the `/aide:init` slash command to `.claude/commands/aide/init.md` (skips if exists)
|
|
31
|
+
- Writes the `aide-tree` launcher to `.aide/bin/aide-tree.mjs` (skips if exists)
|
|
32
|
+
|
|
33
|
+
All operations are idempotent — safe to re-run at any time.
|
|
34
|
+
|
|
35
|
+
After running, open Claude Code and run `/aide:init` to complete setup.
|
|
36
|
+
|
|
37
|
+
### Manual Configuration
|
|
38
|
+
|
|
39
|
+
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.
|
|
40
|
+
|
|
41
|
+
#### Claude Code
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
claude mcp add aide npx -- -y @aidemd-mcp/server@latest
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Or add to your project's `.mcp.json`:
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"mcpServers": {
|
|
52
|
+
"aide": {
|
|
53
|
+
"command": "npx",
|
|
54
|
+
"args": ["-y", "@aidemd-mcp/server@latest"]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
> [!NOTE]
|
|
61
|
+
> The Quick Start command above handles this automatically for Claude Code users.
|
|
62
|
+
|
|
63
|
+
#### Claude Desktop
|
|
64
|
+
|
|
65
|
+
Config file locations:
|
|
66
|
+
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
67
|
+
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
19
68
|
|
|
20
69
|
```json
|
|
21
70
|
{
|
|
22
71
|
"mcpServers": {
|
|
23
72
|
"aide": {
|
|
24
73
|
"command": "npx",
|
|
25
|
-
"args": ["@aidemd-mcp/server"]
|
|
74
|
+
"args": ["-y", "@aidemd-mcp/server@latest"]
|
|
26
75
|
}
|
|
27
76
|
}
|
|
28
77
|
}
|
|
29
78
|
```
|
|
30
79
|
|
|
31
|
-
|
|
80
|
+
> [!NOTE]
|
|
81
|
+
> Claude Desktop does not inherit the terminal PATH. If you use nvm or Homebrew to manage Node, `npx` may not be found. Run `which npx` in your terminal to get the absolute path and replace `"npx"` with it in the config above.
|
|
82
|
+
|
|
83
|
+
Claude Desktop requires a full quit-and-reopen after any config change.
|
|
84
|
+
|
|
85
|
+
#### Cursor
|
|
86
|
+
|
|
87
|
+
Add to `~/.cursor/mcp.json`:
|
|
32
88
|
|
|
33
89
|
```json
|
|
34
90
|
{
|
|
35
91
|
"mcpServers": {
|
|
36
92
|
"aide": {
|
|
37
93
|
"command": "npx",
|
|
38
|
-
"args": ["@aidemd-mcp/server"
|
|
94
|
+
"args": ["-y", "@aidemd-mcp/server@latest"]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### VS Code / Copilot
|
|
101
|
+
|
|
102
|
+
Add to `.vscode/mcp.json`:
|
|
103
|
+
|
|
104
|
+
```json
|
|
105
|
+
{
|
|
106
|
+
"servers": {
|
|
107
|
+
"aide": {
|
|
108
|
+
"command": "npx",
|
|
109
|
+
"args": ["-y", "@aidemd-mcp/server@latest"]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
> [!NOTE]
|
|
116
|
+
> VS Code / Copilot uses `"servers"` as the root key, not `"mcpServers"`. Using the wrong root key causes the server to silently fail to load.
|
|
117
|
+
|
|
118
|
+
#### Windsurf
|
|
119
|
+
|
|
120
|
+
Add to `~/.windsurf/mcp.json`:
|
|
121
|
+
|
|
122
|
+
```json
|
|
123
|
+
{
|
|
124
|
+
"mcpServers": {
|
|
125
|
+
"aide": {
|
|
126
|
+
"command": "npx",
|
|
127
|
+
"args": ["-y", "@aidemd-mcp/server@latest"]
|
|
39
128
|
}
|
|
40
129
|
}
|
|
41
130
|
}
|
|
@@ -43,41 +132,59 @@ Or with a custom project root:
|
|
|
43
132
|
|
|
44
133
|
## Tools
|
|
45
134
|
|
|
46
|
-
###
|
|
135
|
+
### aide_discover
|
|
136
|
+
|
|
137
|
+
Scan the project for `.aide` spec files and return a progressive disclosure tree map showing each spec's type, location, and summary.
|
|
138
|
+
|
|
139
|
+
**Inputs:**
|
|
140
|
+
- `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).
|
|
47
141
|
|
|
48
|
-
|
|
142
|
+
### aide_read
|
|
49
143
|
|
|
50
|
-
|
|
144
|
+
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.
|
|
51
145
|
|
|
52
|
-
**
|
|
146
|
+
**Inputs:**
|
|
147
|
+
- `path` (string, required): Path to the `.aide` file to read.
|
|
53
148
|
|
|
54
|
-
###
|
|
149
|
+
### aide_scaffold
|
|
55
150
|
|
|
56
|
-
|
|
151
|
+
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`.
|
|
57
152
|
|
|
58
|
-
**
|
|
153
|
+
**Inputs:**
|
|
154
|
+
- `directory` (string, required): Directory where the `.aide` file(s) will be created.
|
|
155
|
+
- `type` (string, required): Type of `.aide` file to create. One of: `intent`, `research`, `both`, `todo`, `plan`.
|
|
59
156
|
|
|
60
|
-
###
|
|
157
|
+
### aide_validate
|
|
61
158
|
|
|
62
|
-
|
|
159
|
+
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.
|
|
63
160
|
|
|
64
|
-
**
|
|
161
|
+
**Inputs:**
|
|
162
|
+
- `path` (string, optional): Subdirectory to validate. Defaults to the entire project when omitted.
|
|
65
163
|
|
|
66
|
-
###
|
|
164
|
+
### aide_init
|
|
67
165
|
|
|
68
|
-
|
|
166
|
+
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.
|
|
69
167
|
|
|
70
|
-
**
|
|
168
|
+
**Inputs:**
|
|
169
|
+
- `framework` (string, optional): Force a specific framework instead of auto-detecting. One of: `claude`, `cursor`, `windsurf`, `copilot`.
|
|
170
|
+
- `path` (string, optional): Custom project root path. Defaults to the server working directory.
|
|
171
|
+
- `category` (string, optional): Write all `would-create` files 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.
|
|
172
|
+
- `brainPath` (string, optional): Resolved brain vault path. Required when `category=brain`.
|
|
71
173
|
|
|
72
|
-
###
|
|
174
|
+
### aide_upgrade
|
|
73
175
|
|
|
74
|
-
|
|
176
|
+
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.
|
|
75
177
|
|
|
76
|
-
|
|
178
|
+
**Inputs:**
|
|
179
|
+
- `framework` (string, optional): Force a specific framework instead of auto-detecting. One of: `claude`, `cursor`, `windsurf`, `copilot`.
|
|
180
|
+
- `path` (string, optional): Custom project root path. Defaults to the server working directory.
|
|
181
|
+
- `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.
|
|
77
182
|
|
|
78
|
-
|
|
183
|
+
## Getting Started
|
|
79
184
|
|
|
80
|
-
|
|
185
|
+
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.
|
|
186
|
+
|
|
187
|
+
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.
|
|
81
188
|
|
|
82
189
|
## Development
|
|
83
190
|
|
|
@@ -86,3 +193,7 @@ npm install
|
|
|
86
193
|
npm run build
|
|
87
194
|
npm test
|
|
88
195
|
```
|
|
196
|
+
|
|
197
|
+
## License
|
|
198
|
+
|
|
199
|
+
[MIT](https://github.com/aidemd-mcp/server/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aidemd-mcp/server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "MCP server that teaches any agent the AIDE methodology through tool descriptions and progressive disclosure tooling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"README.md",
|
|
33
33
|
".aide",
|
|
34
34
|
".aide/bin",
|
|
35
|
-
".claude/commands/aide"
|
|
35
|
+
".claude/commands/aide",
|
|
36
|
+
".claude/agents/aide",
|
|
37
|
+
".claude/skills"
|
|
36
38
|
],
|
|
37
39
|
"dependencies": {
|
|
38
40
|
"@modelcontextprotocol/sdk": "^1.12.1",
|