MCP Rigor logo MCP Rigor

Stable Error Model

MCP Rigor failures carry a stable code, category, sanitized message, and QA-facing action.

CategoryBaseline codeQA action
configurationMCP-CONFIG-000Check suite target and settings.
language compilationMCP-LANG-000Correct the highlighted statement.
data loadingMCP-DATA-000Check the named source, row, and column.
extensionMCP-EXT-000Review manifest, permission, and export.
server spawnMCP-SPAWN-000Check command and working directory.
initializationMCP-INIT-000Inspect why MCP initialization did not finish.
transportMCP-TRANSPORT-000Check process/HTTP connection and server logs.
MCP errorMCP-REMOTE-000Review the server's MCP code and message.
schemaMCP-SCHEMA-000Compare the result with the required schema.
assertionMCP-ASSERT-000Compare expected path/value with response.
timeoutMCP-TIMEOUT-000Inspect server performance or explicit timeout.
cancellationMCP-CANCEL-000The operation was stopped before completion.
cleanupMCP-CLEANUP-000Inspect cleanup steps and server shutdown.
internalMCP-INTERNAL-000Preserve sanitized evidence and report the bug.

Specific existing codes remain stable within these categories. APIs expose classifyFailure(), formatFailure(), RigorError, and FAILURE_CODES. New codes may be added, but released codes are not repurposed.

Terminal formatting removes control sequences before display. Private causes and stacks are not part of the stable user-facing contract.