News

When a tool is registered with an output schema using the McpServer class , errors thrown in the tool call are not considered in the response logic and will throw ...
Error Responses Error responses will always be thrown as an extended response object. Note that the error property will contain a JavaScript Error object. Example error response object: ...