Expose Customermates to Claude Desktop as an MCP server in under two minutes.
TL;DR — Drop one JSON block into Claude Desktop's config, restart, paste the setup prompt, done.
Open Claude → Settings → Developer → Edit Config. Merge this into the JSON:
{
"mcpServers": {
"customermates": {
"url": "https://customermates.com/api/v1/mcp",
"headers": {
"x-api-key": "${CUSTOMERMATES_API_KEY}"
}
}
}
}If you self-host, swap the URL for your instance.
Export the key from your shell profile so it is not checked into the config file:
echo 'export CUSTOMERMATES_API_KEY=your-64-character-key' >> ~/.zshrc
source ~/.zshrcRestart Claude Desktop. The server appears in the tools panel with all Customermates tools listed.
Open a new chat. Paste the setup prompt as the first message. Claude will ask for the API key (again, so it has it in context), confirm what's in your CRM, and be ready to work.
| Symptom | Cause | Fix |
|---|---|---|
| "Invalid API key" | Key shorter than 64 chars | Regenerate in Profile → API Keys |
| "Not authenticated" on every call | Header name wrong | Must be lowercase x-api-key |
| Tools panel is empty | Claude didn't reload after config edit | Fully quit and reopen Claude Desktop |
| Server rejects a relationship update | Null-wipe guard fired (this is a feature) | Ask Claude to use link_entities / unlink_entities instead |
| Wrong tool for custom column type | Schema mismatch | Server tells Claude which tool to use next; let it retry |
customermates-<tenant> server entry in the config.