• Customermates logo
    CustomermatesDocumentation
  • Introduction
  • Comparison
Getting Started
  • Quickstart
  • Core Concepts
  • From Pipedrive
Integrations
  • Introduction
  • MCP
  • Connect Claude Desktop
  • Connect ChatGPT
  • Connect Cursor
  • Webhooks
  • OpenAPI 3.1.0
  • N8N
Self-Hosting
  • Self-Hosted vs Cloud
  • Get Started
  • Managing Your Installation
  • Architecture & Security
Reference
  • Setup AI Assistant
  • MCP Tool Catalog
  • Webhook Events
  • Filter Syntax
  • API Keys
  • Go back
  1. Introduction
  2. Connect Cursor

Connect Cursor

Run Customermates as an MCP server inside Cursor so your IDE can update the CRM while you code.

TL;DR — Add a customermates block to ~/.cursor/mcp.json, reload Cursor, paste the setup prompt.

Prerequisites

  • A current Cursor build with MCP support.
  • A 64-character Customermates API key from Profile → API Keys.

Configure

Open (or create) ~/.cursor/mcp.json:

{
  "mcpServers": {
    "customermates": {
      "url": "https://customermates.com/api/v1/mcp",
      "headers": {
        "x-api-key": "${CUSTOMERMATES_API_KEY}"
      }
    }
  }
}

Export the key in your shell profile:

echo 'export CUSTOMERMATES_API_KEY=your-64-character-key' >> ~/.zshrc
source ~/.zshrc

Reload Cursor (Cmd+Shift+P → Developer: Reload Window). The MCP server appears in the Composer panel.

First conversation

In Composer, paste the setup prompt. Cursor will pass it to the model and the model will start asking for your API key.

Why run Customermates in Cursor

Because the CRM state is context. "Show me the deals blocked on engineering" while you're in a ticket, or "log this call" while you're reading the customer's repo, keeps you in flow. The agent can read or write without you leaving the editor.

Troubleshooting

SymptomCauseFix
Server not listedmcp.json not picked upCheck file path, reload window
"Invalid API key"Wrong key lengthRegenerate in Profile → API Keys
Tool calls time outCorporate proxy blockingSet HTTPS_PROXY in the shell you launch Cursor from

Next

  • MCP tool catalog
  • Connect Claude Desktop
Prerequisites
Configure
First conversation
Why run Customermates in Cursor
Troubleshooting
Next