Registry / cyanheads

cyanheads/clinicaltrialsgov-mcp-server/api-testing

Testing patterns for MCP tool/resource handlers using `createMockContext` and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.

Agent skill · version 0.0.0-main.1795223703.gec8358e · from cyanheads/clinicaltrialsgov-mcp-server

Install

npx yarkr-cli add skill:cyanheads/clinicaltrialsgov-mcp-server/api-testing

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:cyanheads/clinicaltrialsgov-mcp-server/api-testing
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:cyanheads/clinicaltrialsgov-mcp-server/api-testing

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:cyanheads/clinicaltrialsgov-mcp-server/api-testing

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.