Claude MCP

hi
I am trying to paste the MCP config (from my desktop emclient settings) into claude_desktop_config.json and am not sure where to put it. I found that if I place at the top inside the first { bracket I get an error "There was an error reading or parsing claude_desktop_config.json: Expected property name or ‘}’ in JSON at position 1 (line 1 column2).

if I place it at the end just inside the last }, but adding a comma after the previous } bracket I still get an error message.

Hi Stevehl,

The error comes from the extra { at the start. The block eM Client gives you is a complete file (it starts with { and “mcpServers”), so it can’t be pasted inside another { as it is.

  1. Open the file from Claude Desktop: Settings > Developer > Edit Config. That way you’re sure to edit the right file.
  2. If the file is empty or only contains {}: delete everything in it and paste the whole block from eM Client (Menu > Settings > Artificial Intelligence > MCP > Claude App > Copy to clipboard).
  3. If the file already contains other settings: don’t paste the first { and the last } from eM Client’s block. Paste only the part starting with “mcpServers” before the file’s last }, and put a comma after the item before it. Example:
{
  "preferences": { ... },
  "mcpServers": {
    "emclient": { ... }
  }
}

If “mcpServers” is already in the file, add only the “emclient”: { … } part inside it, with a comma after the server before it.
4. Save the file, quit Claude Desktop completely and start it again.

The block contains your MCP secret, so please don’t post it here. If it still fails, tell us your eM Client version (Menu > Help > About) and the exact error text.