393 pages for failure.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Authorization
Model Context Protocol · in the page
specification/2025-06-18/basic/authorization
…vulnerability has two critical dimensions: 1. **Audience validation failures.** When an MCP server doesn't verify that tokens were specifically intended for it (for example, via the audience claim,…
Lifecycle
Model Context Protocol · in the page
specification/2025-06-18/basic/lifecycle
…prepared to handle these error cases: * Protocol version mismatch * Failure to negotiate required capabilities * Request [timeouts](#timeouts) Example initialization error: ```json theme={null} {…
Ping
Model Context Protocol · in the page
specification/2025-06-18/basic/utilities/ping
…ad ## Error Handling * Timeouts **SHOULD** be treated as connection failures * Multiple failed pings **MAY** trigger connection reset * Implementations **SHOULD** log ping failures for diagnostics…
Roots
Model Context Protocol · in the page
specification/2025-06-18/client/roots
…ndling Clients **SHOULD** return standard JSON-RPC errors for common failure cases: * Client does not support roots: `-32601` (Method not found) * Internal errors: `-32603` Example error: ```json…
Sampling
Model Context Protocol · in the page
specification/2025-06-18/client/sampling
…ties. ## Error Handling Clients **SHOULD** return errors for common failure cases: Example error: ```json theme={null} { "jsonrpc": "2.0", "id": 1, "error": { "code": -1, "message":…
Prompts
Model Context Protocol · in the page
specification/2025-06-18/server/prompts
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Invalid prompt name: `-32602` (Invalid params) * Missing required arguments: `-32602` (Invalid params) * Interna…
Resources
Model Context Protocol · in the page
specification/2025-06-18/server/resources
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Resource not found: `-32002` * Internal errors: `-32603` Example error: ```json theme={null} { "jsonrpc": "2…
Tools
Model Context Protocol · in the page
specification/2025-06-18/server/tools
…ion Errors**: Reported in tool results with `isError: true`: * API failures * Invalid input data * Business logic errors Example protocol error: ```json theme={null} { "jsonrpc": "2.0",…
Completion
Model Context Protocol · in the page
specification/2025-06-18/server/utilities/completion
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Method not found: `-32601` (Capability not supported) * Invalid prompt name: `-32602` (Invalid params) * Missing…
Logging
Model Context Protocol · in the page
specification/2025-06-18/server/utilities/logging
…s | Deprecated feature usage | | error | Error conditions | Operation failures | | critical | Critical conditions | System component failures | | alert | Action must be taken immediately | Data corrup…
Authorization
Model Context Protocol · in the page
specification/2025-11-25/basic/authorization
…s token Resource-->>Client: MCP responses else Validation Failure Server->>User: Error response<br/>error=invalid_client or invalid_request end Note over Server: Cache met…
Lifecycle
Model Context Protocol · in the page
specification/2025-11-25/basic/lifecycle
…prepared to handle these error cases: * Protocol version mismatch * Failure to negotiate required capabilities * Request [timeouts](#timeouts) Example initialization error: ```json theme={null} {…
Transports
Model Context Protocol · in the page
specification/2025-11-25/basic/transports
…client wishes to resume after a disconnection (whether due to network failure or server-initiated closure), it **SHOULD** issue an HTTP GET to the MCP endpoint, and include the [`Last-Event-I…
Ping
Model Context Protocol · in the page
specification/2025-11-25/basic/utilities/ping
…ad ## Error Handling * Timeouts **SHOULD** be treated as connection failures * Multiple failed pings **MAY** trigger connection reset * Implementations **SHOULD** log ping failures for diagnostics…
Tasks
Model Context Protocol · in the page
specification/2025-11-25/basic/utilities/tasks
…include a `statusMessage` field with diagnostic information about the failure. **Example: Task with execution error** ```json theme={null} { "jsonrpc": "2.0", "id": 4, "result": { "taskId"…
Elicitation
Model Context Protocol · in the page
specification/2025-11-25/client/elicitation
…Handling Servers **MUST** return standard JSON-RPC errors for common failure cases: * When a request cannot be processed until an elicitation is completed: `-32042` (`URLElicitationRequiredError`)…
Roots
Model Context Protocol · in the page
specification/2025-11-25/client/roots
…ndling Clients **SHOULD** return standard JSON-RPC errors for common failure cases: * Client does not support roots: `-32601` (Method not found) * Internal errors: `-32603` Example error: ```json…
Sampling
Model Context Protocol · in the page
specification/2025-11-25/client/sampling
…ties. ## Error Handling Clients **SHOULD** return errors for common failure cases: * User rejected sampling request: `-1` * Tool result missing in request: `-32602` (Invalid params) * Tool results…
Prompts
Model Context Protocol · in the page
specification/2025-11-25/server/prompts
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Invalid prompt name: `-32602` (Invalid params) * Missing required arguments: `-32602` (Invalid params) * Interna…
Resources
Model Context Protocol · in the page
specification/2025-11-25/server/resources
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Resource not found: `-32002` * Internal errors: `-32603` Example error: ```json theme={null} { "jsonrpc": "2…
Tools
Model Context Protocol · in the page
specification/2025-11-25/server/tools
…ion Errors**: Reported in tool results with `isError: true`: * API failures * Input validation errors (e.g., date in wrong format, value out of range) * Business logic errors **Tool Executio…
Completion
Model Context Protocol · in the page
specification/2025-11-25/server/utilities/completion
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Method not found: `-32601` (Capability not supported) * Invalid prompt name: `-32602` (Invalid params) * Missing…
Logging
Model Context Protocol · in the page
specification/2025-11-25/server/utilities/logging
…s | Deprecated feature usage | | error | Error conditions | Operation failures | | critical | Critical conditions | System component failures | | alert | Action must be taken immediately | Data corrup…
Client Registration
Model Context Protocol · in the page
specification/2026-07-28/basic/authorization/client-registration
…s token Resource-->>Client: MCP responses else Validation Failure Server->>User: Error response<br/>error=invalid_client or invalid_request end Note over Server: Cache met…
Authorization
Model Context Protocol · in the page
specification/2026-07-28/basic/authorization/index
…"insufficient_scope"` - indicating the specific type of authorization failure * `scope="required_scope1 required_scope2"` - specifying the minimum scopes needed for the operation * `resource_metad…
Overview
Model Context Protocol · in the page
specification/2026-07-28/basic/index
…2.0 error codes (`-32700`, `-32600` to `-32603`) for general protocol failures. JSON-RPC 2.0 reserves the range `-32000` to `-32099` for implementation-defined server errors. MCP partitions this rang…
Multi Round-Trip Requests
Model Context Protocol · in the page
specification/2026-07-28/basic/patterns/mrtr
…* be omitted only when tampering can cause nothing worse than request failure. 5. To prevent replay, servers **SHOULD** include the following inside the integrity-protected `requestState` payload and…
stdio
Model Context Protocol · in the page
specification/2026-07-28/basic/transports/stdio
…`tools/call`) under legacy semantics. Probing yields a deterministic failure instead. See [Versioning: Backward Compatibility][lifecycle-compat] for the era model and a compatibility matrix for impl…
Streamable HTTP
Model Context Protocol · in the page
specification/2026-07-28/basic/transports/streamable-http
…considered equal). When rejecting a request due to header validation failure, servers **MUST** return HTTP status `400 Bad Request` and **MUST** include a JSON-RPC error response using the following…
Prompts
Model Context Protocol · in the page
specification/2026-07-28/server/prompts
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Invalid prompt name: `-32602` (Invalid params) * Missing required arguments: `-32602` (Invalid params) * Interna…
Tools
Model Context Protocol · in the page
specification/2026-07-28/server/tools
…can use to self-correct and retry with adjusted parameters: * API failures * Input validation errors (e.g., date in wrong format, value out of range) * Business logic errors They are rep…
Completion
Model Context Protocol · in the page
specification/2026-07-28/server/utilities/completion
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Method not found: `-32601` (Capability not supported) * Invalid prompt name: `-32602` (Invalid params) * Missing…
Logging
Model Context Protocol · in the page
specification/2026-07-28/server/utilities/logging
…s | Deprecated feature usage | | error | Error conditions | Operation failures | | critical | Critical conditions | System component failures | | alert | Action must be taken immediately | Data corrup…
Client Registration
Model Context Protocol · in the page
specification/draft/basic/authorization/client-registration
…s token Resource-->>Client: MCP responses else Validation Failure Server->>User: Error response<br/>error=invalid_client or invalid_request end Note over Server: Cache met…
Authorization
Model Context Protocol · in the page
specification/draft/basic/authorization/index
…"insufficient_scope"` - indicating the specific type of authorization failure * `scope="required_scope1 required_scope2"` - specifying the minimum scopes needed for the operation * `resource_metad…
Overview
Model Context Protocol · in the page
specification/draft/basic/index
…2.0 error codes (`-32700`, `-32600` to `-32603`) for general protocol failures. JSON-RPC 2.0 reserves the range `-32000` to `-32099` for implementation-defined server errors. MCP partitions this rang…
Multi Round-Trip Requests
Model Context Protocol · in the page
specification/draft/basic/patterns/mrtr
…* be omitted only when tampering can cause nothing worse than request failure. 5. To prevent replay, servers **SHOULD** include the following inside the integrity-protected `requestState` payload and…
stdio
Model Context Protocol · in the page
specification/draft/basic/transports/stdio
…`tools/call`) under legacy semantics. Probing yields a deterministic failure instead. See [Versioning: Backward Compatibility][lifecycle-compat] for the era model and a compatibility matrix for impl…
Streamable HTTP
Model Context Protocol · in the page
specification/draft/basic/transports/streamable-http
…considered equal). When rejecting a request due to header validation failure, servers **MUST** return HTTP status `400 Bad Request` and **MUST** include a JSON-RPC error response using the following…
Prompts
Model Context Protocol · in the page
specification/draft/server/prompts
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Invalid prompt name: `-32602` (Invalid params) * Missing required arguments: `-32602` (Invalid params) * Interna…
Tools
Model Context Protocol · in the page
specification/draft/server/tools
…can use to self-correct and retry with adjusted parameters: * API failures * Input validation errors (e.g., date in wrong format, value out of range) * Business logic errors They are rep…
Completion
Model Context Protocol · in the page
specification/draft/server/utilities/completion
…ndling Servers **SHOULD** return standard JSON-RPC errors for common failure cases: * Method not found: `-32601` (Capability not supported) * Invalid prompt name: `-32602` (Invalid params) * Missing…
Logging
Model Context Protocol · in the page
specification/draft/server/utilities/logging
…s | Deprecated feature usage | | error | Error conditions | Operation failures | | critical | Critical conditions | System component failures | | alert | Action must be taken immediately | Data corrup…