Expand description
Protocol error codes (JSON-RPC standard + MCP extensions)
Constantsยง
- AUTHENTICATION_
REQUIRED - Authentication required error
- CAPABILITY_
NOT_ SUPPORTED - Capability not supported error
- 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 by the server
- PROMPT_
NOT_ FOUND - Prompt not found error
- PROTOCOL_
VERSION_ MISMATCH - Protocol version mismatch error
- RATE_
LIMITED - Rate limited error
- RESOURCE_
ACCESS_ DENIED - Resource access denied error
- RESOURCE_
NOT_ FOUND - Resource not found error
- SERVER_
OVERLOADED - Server overloaded error
- TOOL_
EXECUTION_ ERROR - Tool execution error
- TOOL_
NOT_ FOUND - Tool not found error