em Client 11.0.79 on Windows 11, connecting to Claude Code.
The MCP server connects fine and advertises its tools, but every single tool call fails with the same generic error. No tool has ever worked.
What happens
The handshake succeeds. initialize returns normally, with serverInfo reporting MailClient 11.0.0.0. tools/list returns all 28 tools correctly. Then any tools/call comes back as:
{"result":{"content":[{"type":"text","text":"An error occurred invoking 'ListEmailAccounts'."}],"isError":true},"id":2,"jsonrpc":"2.0"}
The same thing happens for SearchEmails and every other tool I’ve tried, with only the tool name changing. Nothing is written to stderr, and the error carries no detail about what actually went wrong.
Settings, all checked
- “Enable MCP server” is ticked
- The Secret in Settings matches the
--mcp-secretvalue in.claude.jsoncharacter for character - Account access: one account ticked
- Tool access: all 28 tools ticked
- Claude Code’s own health check reports the server as Connected
What I’ve ruled out
I reproduced it outside Claude Code entirely, by launching eMClientStore.exe --mcp --mcp-secret <secret> myself and speaking raw JSON-RPC to it over stdio. Same result, so it isn’t the client or its configuration.
I’ve also confirmed a fresh MCP process is spawned each time, and that it starts after the settings were saved, so it isn’t holding stale permissions. em Client and Claude Code have both been fully restarted, in that order, more than once.
Questions
- Is there a log anywhere that records the underlying exception behind that generic message? I couldn’t find a Logs folder under
%APPDATA%\eM Clientor%LOCALAPPDATA%\eM Client. - Is anything else required beyond enabling the server and granting account and tool access? A licence tier, or something per-account?
- Does it matter whether the account is IMAP or Exchange?
Happy to run any diagnostic that would help. The failure is completely consistent and reproducible on demand.