Skip to content

feat(mcp): quick-install presets (context7, playwright, github) + baseline MCP usage#26

Merged
protonspy merged 1 commit into
mainfrom
feat/mcp-presets
Jun 8, 2026
Merged

feat(mcp): quick-install presets (context7, playwright, github) + baseline MCP usage#26
protonspy merged 1 commit into
mainfrom
feat/mcp-presets

Conversation

@protonspy

Copy link
Copy Markdown
Owner

Summary

Adds a built-in MCP preset registry so well-known servers install with one short command, and wires those servers into the shipped baseline so the agent actually uses them.

  • csdd mcp install <name>... and csdd mcp presets (CLI + TUI).
  • Presets: context7 (remote http — current library/API docs), playwright (stdio — frontend e2e/QA), github (remote http — repos/PRs/issues/Actions).
  • A preset is a pre-filled mcp add: it funnels through the existing MCPAdd write path, so duplicate detection, transport validation, and the on-disk shape are identical to a manual add — no new validator rule.
  • No secrets: the github preset stores only its URL; auth is the client's OAuth on first use.

Baseline MCP-usage guidance (shipped templates)

  • Context7 (confirm current API/docs) → dev-architecture, tdd-cycle, discovery-research skills + implementer agent.
  • Playwright → new frontend-e2e-qa skill (frontend-only e2e) + a skippable step in verify-change.
  • GitHub → prefer a connected GitHub MCP for PR/issue reads in pr-review.

Spec

specs/mcp-presets — requirements (EARS) → design → tasks, all three gates approved; implemented test-first (RED→GREEN).

Verification

  • make check (gofmt + go vet ./... + go test -race ./...) ✅ exit 0, all packages green
  • csdd spec test-report mcp-presets --run --lang go ✅ 429 passed · 0 failed · 1 skipped · ~81.5% cov
  • code-reviewer sub-agent ✅ APPROVE, no Blockers

🤖 Generated with Claude Code

Add a built-in MCP preset registry (context7, playwright, github) exposed as
`csdd mcp install <name>...` and `csdd mcp presets`, reachable from the CLI and
the TUI. A preset is a pre-filled `mcp add` — it funnels through the existing
MCPAdd write path, so duplicate detection, transport validation, and the
on-disk shape are identical to a manual add (no new validator rule). The github
preset stores only its URL; auth is the client's OAuth on first use (no token
written by csdd).

Wire MCP usage into the shipped baseline: Context7 (current library/API docs)
into dev-architecture, tdd-cycle, discovery-research, and the implementer agent;
a new frontend-e2e-qa Playwright skill plus a skippable e2e step in
verify-change; and a GitHub-MCP note in pr-review.

Spec: specs/mcp-presets (requirements/design/tasks approved).
Verification: make check green (gofmt + go vet + go test -race ./...);
429 tests pass; code-reviewer approved with no blockers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@protonspy protonspy merged commit 7429f87 into main Jun 8, 2026
3 checks passed
@protonspy protonspy deleted the feat/mcp-presets branch June 8, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant