Skip to content

feat(mcp-server): MCP knowledge + tool/resource-contract step (PR2: content)#469

Merged
zigrivers merged 17 commits into
mainfrom
feat/mcp-server-content
May 31, 2026
Merged

feat(mcp-server): MCP knowledge + tool/resource-contract step (PR2: content)#469
zigrivers merged 17 commits into
mainfrom
feat/mcp-server-content

Conversation

@zigrivers
Copy link
Copy Markdown
Owner

Summary

Second of two PRs for the mcp-server project type (PR1 #457 registered the type; merged). PR2 adds the MCP-specific depth, per the plan in docs/superpowers/plans/2026-05-30-mcp-server-project-type.md:

  • New pipeline step mcp-tool-resource-contract (content/pipeline/specification/) — an MCP tool/resource/prompt contract spec analogous to api-contracts; registered enabled: false in deep/mvp/custom-defaults presets and enabled: true in the overlay.
  • Knowledge directory content/knowledge/mcp-server/ — 12 entries (protocol fundamentals, tool/resource/prompt design, transports, SDK selection, auth, error handling, testing, deployment, observability, versioning), verified against the MCP 2025-06-18 spec.
  • Overlay knowledge injectionmcp-server-overlay.yml now injects the 12 entries across 13 pipeline steps (tech-stack, system-architecture, api-contracts, security, operations, tdd, reviews, etc.) and enables the new step.
  • Tests — e2e knowledge-injection + step-enablement assertions; tests/evals/mcp-server-overlay-content.bats keyword checks.
  • Docs — README knowledge count (278 entries / 20 categories, mcp-server category) + CHANGELOG; regenerated knowledge-freshness guide.

Built via subagent-driven development (B1–B6), each task reviewed. make check-all green (3287 vitest + lint/tsc/bats/mmr/guides/citation gates).

Test Plan

  • make check-all green
  • CI check job passes
  • Multi-model review (mandatory)

zigrivers and others added 17 commits May 31, 2026 12:02
Introduces content/pipeline/specification/mcp-tool-resource-contract.md —
a document-creating specification step that defines MCP tool, resource, and
prompt contracts, modelled exactly on api-contracts.md (order 835, slots
after api-contracts at 830 and before review-api at 840).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ject MCP knowledge via overlay

- B2: add mcp-tool-resource-contract (enabled: false) to specification phase in all three
  presets (deep.yml, mvp.yml, custom-defaults.yml) so it is known and warning-clean;
  the overlay enables it for mcp-server projects
- B4: expand mcp-server-overlay.yml — enable mcp-tool-resource-contract (if-needed) via
  step-overrides; add knowledge-overrides section injecting all 12 mcp-server knowledge
  entries into 13 pipeline steps across foundation, architecture, specifications,
  quality, and reviews phases
- Fix: extend mcp-transport-patterns.md and mcp-versioning.md to meet 100-line minimum
  (transport: 89→122, versioning: 88→115); content is substantive (lifecycle/error table,
  testing pattern; backwards-compatibility checklist, serverInfo versioning guidance)
- Fix: add docs/mcp-contract.md to implementation-plan reads + Inputs section, resolving
  the unconsumed-output eval (analogous to how api-contracts.md feeds implementation-plan)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…; avoided guide-regen conflict between build-freshness-reference and guides --build)
…G for PR2

- README: 267 → 278 entries, nineteen → twenty categories, mcp-server added
  to all three category lists (line 32 key-concepts, line 1554 knowledge-system
  section, line 1784 content-tree comment) and overlay table row updated with
  entry count.
- CHANGELOG: new [Unreleased] entry covering mcp-server project type,
  --mcp-* CLI flags, mcp-server-overlay.yml, content/knowledge/mcp-server/
  (12 entries), and mcp-tool-resource-contract pipeline step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ream steps; changelog phase; reads field; README category counts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rrect CHANGELOG config values

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…yer not the step; note README count reconciliation
…ror per SEP-1303); pipeline count 90; dedupe overlay knowledge; README overlay-table counts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…0, 90, 12) across CLAUDE.md, README, project-structure
@zigrivers zigrivers merged commit 5a44832 into main May 31, 2026
2 checks passed
@zigrivers zigrivers deleted the feat/mcp-server-content branch May 31, 2026 23:08
zigrivers added a commit that referenced this pull request May 31, 2026
…roject type

Bundles the unreleased work since v3.32.1: the materialize-plan-to-beads
finalization step (#470), the mcp-server project type + contract step + knowledge
(#457, #469), and README knowledge-count reconciliation.
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