Audit Mcp Error Semantics banner
megabytespace megabytespace

Audit Mcp Error Semantics

Security community

Description

--- description: Catch Resend-class bug (isError: false on HTTP 4xx/5xx) across all MCP server tool handlers argument-hint: [--server=<name>] [--fix] --- <!-- <SUBAGENT-STOP>: skip this skill when running inside a subagent. Meta-skills must not leak into spawned subagent contexts. --> <SUBAGENT-STOP/> Audit every MCP server tool handler for the silent-failure anti-pattern: `fetch()` calls that return HTTP 4xx/5xx but still resolve `isError: false`, so Claude reads a garbage success instead of

Installation

Installs to ~/.claude/skills/megabytespace-claude-skills-audit-mcp-error-semantics/SKILL.md

Terminal
mkdir -p ~/.claude/skills/megabytespace-claude-skills-audit-mcp-error-semantics && curl -fsSL https://raw.githubusercontent.com/megabytespace/claude-skills/HEAD/commands/audit-mcp-error-semantics.md -o ~/.claude/skills/megabytespace-claude-skills-audit-mcp-error-semantics/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository