Expand description
Standard JSON-RPC error codes as defined in the JSON-RPC 2.0 specification and the Model Context Protocol (MCP) documentation
Constantsยง
- INTERNAL_
ERROR - Internal error: Internal JSON-RPC error
- INVALID_
PARAMS - Invalid params: Invalid method parameter(s)
- INVALID_
REQUEST - Invalid Request: The JSON sent is not a valid Request object
- METHOD_
NOT_ FOUND - Method not found: The method does not exist / is not available
- PARSE_
ERROR - Parse error: Invalid JSON was received
- SERVER_
ERROR - Generic server error for MCP-specific issues