Model Context Protocol (MCP) · Example Payload

Mcp Error Response Example

Model Context ProtocolMCPAI AgentsToolsResourcesPromptsJSON-RPCAnthropicStandardsTopic

Mcp Error Response Example is an example object payload from Model Context Protocol (MCP), with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

jsonrpciderror

Example Payload

mcp-error-response-example.json Raw ↑
{
  "jsonrpc": "2.0",
  "id": 9,
  "error": {
    "code": -32601,
    "message": "Method not found",
    "data": {
      "method": "tools/unknown_action"
    }
  }
}