I have clean-installed eM Client 11 beta on Windows 11, have turned on the MCP functionaliity, and used it to configure LM Studio with the qwen2.5-14b-instruct-1m model. LM Studio can see the MCP tools. However, any attempt to send a message to the model to use the MCP function fails.
This screenshot shows the MCP function being visible.
However, I get a long error message when sending a message to the model, that starts off as follows:
Engine protocol predict request returned 400: {“error”:{“code”:400,“message”:"Unable to generate parser for this template. Automatic parser generation failed: JSON schema conversion failed:\nError resolving ref #/$defs/MailClient.AI.Tools.EmailTools.EmailSearchQueryDto: $defs not in {"type":"object","properties":{"location":{"description":"Defines which accounts or folders should be searched.","type":"object","properties":{"folderPaths":{"description":"The folder paths to search in - same as returned by the ListEmailFolders operation.","type":["array","null"],"items":{"type":"string"}},"accountIds":{"description":"The account IDs to search in when FolderPaths are not provided.","type":["array","null"],"items":{"type":"string"}},"includeSubfolders":{"description":"Indicates whether subfolders of the selected folders should also be searched. Only valid when FolderPaths are specified.","type":["boolean","null"]},"includeSpamAndTrashFolders":{"description":"Indicates whether spam and trash folders should also be searched. By default false. Ignored for Trash or Spam folders explicitly specified in FolderPaths.","type":["boolean","null"]}}},"query":{"description":"Optional query condition used to filter matching emails. Use one of the following shapes: and with a non-empty array of conditions, or with a non-empty array of conditions, not with one condition, or properties with the email properties to match. Multiple properties are combined as logical AND conditions.","default":null,"oneOf":[{"type":"object","description":"Matches when all conditions in the and array match.
I have tried using AnythingLLM, with similar results. One other thing to note, that may not be relevant at all, is that I recently purchased the AI add-on, in case that was causing difficulty, but eM Client did not ask for my licence key, and if I try to write an email using the AI function, eM Client tells me that I need to install the AI add-on, despite me saying that I wanted to use all of the available functions during the installation wizard.
