Enum McpErrorCode
JSON-RPC error codes used by the MCP protocol layer.
[Obfuscation(Exclude = true)]
public enum McpErrorCode
Fields
ParseError = -32700The payload was not valid JSON.
InvalidRequest = -32600The payload was valid JSON but not a valid JSON-RPC request.
MethodNotFound = -32601The requested method is not implemented by this server.
InvalidParams = -32602The method exists but the supplied parameters are unusable.
InternalError = -32603An unexpected fault occurred while handling the request.
Remarks
These signal protocol faults. A tool that fails for a reason the caller could correct returns FromError(string) instead, so the caller sees the explanation.