What problem does it solve? Writing integration tests for an MCP server by hand is repetitive and error-prone: each user story's acceptance criteria must map to individual test cases, the harness must connect over streamable HTTP or SSE, and fixture users with API keys must be provisioned and cleaned up. This Skill automates that entire workflow against stories defined in DefProd. ## Core Features & Use Cases - Per-AC test generation: Creates one spec file per in-scope story and one test('ACn: ...') per acceptance criterion, exercised through the official @modelcontextprotocol/sdk client against a running MCP server. - Surface-aware filtering: Selects stories whose surface is mcp (explicit or inferred from the MCP-… story-key prefix) and skips UI, REST, and CLI stories with a logged reason. - Harness verification and reporting: Validates the Vitest config, MCP client helpers, and fixture-user provisioning, then runs the suite and produces a coverage summary classifying failures as test faults or product faults. - Use Case: Given a DefProd product with an MCP area containing ten stories, invoke the skill to generate ten spec files, run them with Vitest, and receive a per-story pass/fail coverage table with untestable criteria documented. ## Quick Start Ask your agent to run /defprod-create-mcp-tests with your product name and the MCP area key to generate and run integration tests for all MCP stories in that area.