Skip to main content
在 Manus 中运行任何 Skill
一键导入

mcp-error-response

星标4
分支1
更新时间2026年4月17日 02:38

Guide for designing structured error responses in MCP tools. Covers error classification (transient, validation, business, permission), the isError flag in MCP protocol and Anthropic API, retryable vs non-retryable errors, the critical distinction between access failures and valid empty results, structured error metadata design, and subagent error propagation patterns. Use when the user says "MCP error handling", "error response design", "isError flag", "tool error classification", "retryable errors", "error propagation", "tool returns wrong error", "empty result vs error", "when to retry MCP tool", "subagent error handling", "structured error response", "access failure vs empty result", or wants to design how MCP tools should report and classify errors for LLM agents. For tool description design, see mcp-tool-design instead. For platform-level MCP optimization, see mcp-tool-enhancement instead.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly