feat(mcp-server): register MCP Server project type (PR1: registration)#457
Merged
Conversation
fa3cbca to
c261ada
Compare
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tion=high) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds mcp-server to all five README locations (project-type enum, MCP Server Config Flags section, overlay table, detection table + count, and flag-family wiring prose). Also fixes 8 pre-existing ESLint errors introduced by PR1 tasks (max-len, quotes, no-explicit-any). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tive wizard test Mirror the coerceCSV convention used by backend-data-store, cli-distribution, and ext-ui-surfaces: switch mcp-primitives from type:'array'+choices to type:'string'+array:true+coerce:coerceCSV (no choices) in both init.ts and adopt.ts so --mcp-primitives tools,resources parses to ['tools','resources']. Add enum validation in applyFlagFamilyValidation for consistency. Add an interactive-path test for the mcp-server wizard verifying that stdio transport forces auth=none and deployment=local without prompting for those fields. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…primitives, schema refine, detector entrypoints, docs, tests) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…l PR2 labels from shipped content Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rlay step-enablement E2E test Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…s wizard), local deploy default, docs + tests Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ts (symmetry with Python)
…es array coercion
….) at high confidence
…lients); explicit-stdio coupling check; README family list
…lse-positives on Socket.IO/Apollo)
123fca0 to
88192fe
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First of two PRs implementing the
mcp-serverproject type, per the design indocs/architecture/mcp-server-project-type-research.md(merged #451) and theplan in
docs/superpowers/plans/2026-05-30-mcp-server-project-type.md.PR1 registers the type end-to-end (a working, selectable, detectable type),
mirroring the
researchprecedent (commit 506a01f):mcp-serverenum value +McpServerConfigSchema(6 fields:languagerequired;transport/primitives/auth/deployment/statefuldefaulted) wired into ServiceSchema/ProjectSchema;
McpServerConfigtype +ServiceConfig/ProjectConfig/DetectedConfig.
mcpServerCouplingValidator(coupling + stdio⇒no-network-authcross-field rule).
detectMcpServer(SDK dep alone = medium; dep +entrypoint registering MCP primitives = high) + registration + preference.
--mcp-*flag family, interactive questions(auto-mode purity verified),
adoptTYPE_KEY/schemaForType arms, init+adoptCLI options.
mcp-server-overlay.yml(disables UI steps; database-schemaif-needed). Knowledge injection + the
mcp-tool-resource-contractstep arePR2.
Built via subagent-driven development (12 tasks, each spec- + quality-reviewed,
plus a final whole-branch review). No PR2 content included.
Test Plan
make check-allgreen on the rebased branch (vitest 3214 passed/1 skipped,lint, tsc, bats, mmr, guides drift + citation gates)
checkjob passes