Skip to content

Commit bd97e8f

Browse files
committed
docs: add multi-client MCP genericisation TODO to preflight.md
1 parent c80e479 commit bd97e8f

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

experimental/preflight.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,39 @@ Only include sections for things that are actually present. If MCP isn't connect
7676

7777
## Notes
7878

79-
- This checklist helps you discover what's available — it does not change how you should behave. Tool usage guidance is in `~/bin/ai-ddtk/AGENTS.md`, which the user can add to their project's CLAUDE.md if they want it applied.
79+
- This checklist helps you discover what's available — it does not change how you should behave. Tool usage guidance is in `~/bin/ai-ddtk/AGENTS.md`, which the user can add to their project's `CLAUDE.md` (Claude Code) or `AGENTS.md` (Augment Code, OpenAI Agents) if they want it applied.
8080
- If AI-DDTK is not installed, disregard this checklist entirely and work with whatever tools are available in the current environment.
81+
82+
---
83+
84+
<!-- TODO: Multi-client MCP genericisation — delete this section when complete -->
85+
## TODO: Multi-client MCP generics
86+
87+
Tracked here for visibility. Reference: VS Code full MCP spec blog post (June 2025) + analysis in chat.
88+
89+
> **Context:** The MCP server itself is generic. The wiring/onboarding layer is Claude Code-first.
90+
> Goal: support VS Code Copilot, Augment Code, and Cursor without breaking Claude Code.
91+
92+
### Phase 1 — Config portability
93+
94+
- [ ] Add `tools/mcp-server/mcp-configs/vscode.json` template using VS Code Copilot schema (`"servers"` root key, `"type": "stdio"`)
95+
- [ ] Add `tools/mcp-server/mcp-configs/cursor.json` template (uses same `"mcpServers"` schema as Claude Code)
96+
- [ ] Retitle `.mcp.README.md` from "for Claude Code" to client-agnostic (e.g. "MCP Server Configuration")
97+
- [ ] Add VS Code Copilot setup instructions to `AGENTS.md` (alongside existing Claude Code / Augment Code sections)
98+
- [ ] Document the two config schemas side-by-side somewhere (`.mcp.json` vs `.vscode/mcp.json`)
99+
100+
### Phase 2 — `wire-project` multi-client
101+
102+
- [ ] Detect VS Code and write `.vscode/mcp.json` (VS Code Copilot format) in addition to `.mcp.local.json`
103+
- [ ] Detect Augment Code (`~/.augment/`) and offer to merge entry into `~/.augment/settings.json`
104+
- [ ] Detect Cursor (`~/.cursor/`) and write `~/.cursor/mcp.json`
105+
- [ ] Write `AGENTS.md` reference in addition to `CLAUDE.md` (Augment Code and OpenAI agents read `AGENTS.md`, not `CLAUDE.md`)
106+
- [ ] Add `--client` flag (e.g. `--client=vscode`, `--client=augment`, `--client=all`) for non-interactive use
107+
- [ ] Verify `.mcp.local.json` and `.vscode/mcp.json` are both gitignored in generated projects
108+
109+
### Phase 3 — MCP server full-spec primitives (stretch)
110+
111+
- [ ] Add MCP **Prompts** for common AI-DDTK workflows — these surface as slash commands in VS Code Copilot (`/mcp.ai-ddtk.preflight`, etc.)
112+
- [ ] Verify MCP **Resources** (`wpcc://latest-scan`, `auth://status/*`) render correctly in VS Code Copilot's resource browser
113+
- [ ] Evaluate MCP **Sampling** — allows the server to make LLM calls via the user's model subscription; useful for on-server triage/summarisation
114+
<!-- END TODO -->

0 commit comments

Comments
 (0)