api-errors
CommunityStandardized error handling for MCP TS core.
Authorcyanheads
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Centralizes and standardizes error handling for MCP TS core, providing a consistent way to create and classify errors across tools, resources, and services.
Core Features & Use Cases
- McpError construction and a rich set of error factories for common conditions.
- JsonRpcErrorCode mappings and automatic error classification to ensure predictable client behavior.
- ErrorHandler.tryCatch integration for safe, logged error wrapping in service code.
Quick Start
Install and adopt McpError factories and ErrorHandler.tryCatch in your MCP TS core components to enforce consistent error handling.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: api-errors Download link: https://github.com/cyanheads/mcp-ts-core/archive/main.zip#api-errors Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.