Registry / cyanheads

cyanheads/clinicaltrialsgov-mcp-server/api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for `@cyanheads/mcp-ts-core`. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

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

Install

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

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-errors
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:cyanheads/clinicaltrialsgov-mcp-server/api-errors

On Windows, in PowerShell:

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

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