MCP connector · Documentation

Connect Lea CRM to your AI assistant.

A remote MCP server that lets Claude, ChatGPT, Cursor or any MCP client read and update your contacts, deals, activities and call queue, with your own access rights. Included in every plan.

At a glance

Server URL
https://app.leacrm.com/api/mcp
Transport
Streamable HTTP, stateless: each request stands alone, answered in plain JSON (no server session).
Authentication
OAuth 2.1: authorization code with PKCE (S256), dynamic client registration (RFC 7591), public clients without a client secret. A personal token sent as an Authorization: Bearer header also works.
Discovery
/.well-known/oauth-protected-resource (RFC 9728) and /.well-known/oauth-authorization-server (RFC 8414) on app.leacrm.com. A request without a token gets a 401 whose WWW-Authenticate header points to the first one.
Redirect URIs
https, or http on localhost and 127.0.0.1 for clients that run on your computer.
Access granted
read and write, always within the role of the person who authorizes the connection.
Token lifetime
An OAuth connection lasts one year, with no refresh token: reconnect when it expires. A personal token stays valid until you revoke it.
Official MCP Registry
com.leacrm/crm

What you can ask

  • Who should I call today?
  • Give me a rundown on the contact Dupont
  • Create a deal for Martin worth $5,000 in the Negotiation stage
  • Set a reminder tomorrow at 2pm for this lead
  • Log this call: no answer

Connect your assistant

Every member of a Lea CRM account can connect their own assistant, whatever their role. With OAuth there is nothing to copy except the server URL: your assistant registers itself, then Lea asks you to approve access.

Claude

claude.ai and Claude Desktop

  1. In claude.ai or Claude Desktop, open Settings → Connectors → “Add custom connector”.
  2. Paste the server URL: https://app.leacrm.com/api/mcp
  3. Leave the other fields empty, click Add, then click “Authorize” on the Lea CRM page that opens.

ChatGPT

ChatGPT on the web, paid ChatGPT plan

  1. In ChatGPT on the web, open Settings → Connectors → Advanced settings and turn on “Developer mode”.
  2. Still under Connectors, click “Create”, name the connector “Lea CRM” and paste the server URL: https://app.leacrm.com/api/mcp
  3. Choose OAuth authentication, tick the trust checkbox and confirm: a Lea CRM page opens, click “Authorize”.
  4. In a conversation, enable Lea CRM via the “+” button → Developer mode.

ChatGPT does not send custom headers: OAuth is the only way to connect it.

Cursor

Cursor editor and CLI

  1. Open ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project).
  2. Add the server with its URL only:
  3. Cursor signs in with OAuth (dynamic registration, PKCE): approve access on the Lea CRM page that opens.
mcp.json
{
  "mcpServers": {
    "lea-crm": {
      "url": "https://app.leacrm.com/api/mcp"
    }
  }
}

To use a personal token instead, add "headers": { "Authorization": "Bearer YOUR_TOKEN" } next to "url".

Claude Code

Terminal, with a personal token

  1. Generate a personal token (see below), then run:
Terminal
claude mcp add --transport http lea-crm https://app.leacrm.com/api/mcp --header "Authorization: Bearer YOUR_TOKEN"

Other MCP clients

Any client that supports remote servers

  1. Client with OAuth support: give it the server URL. Discovery, registration and sign-in happen on their own.
  2. Client that sends custom headers: use a personal token in an Authorization: Bearer header.
  3. Client limited to local (stdio) servers: bridge it with mcp-remote, as in this Claude Desktop configuration (claude_desktop_config.json).
claude_desktop_config.json
{
  "mcpServers": {
    "lea-crm": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://app.leacrm.com/api/mcp",
        "--header",
        "Authorization: Bearer YOUR_TOKEN"
      ]
    }
  }
}
Antigravity CLI (Google)
agy mcp add -t http -H "Authorization: Bearer YOUR_TOKEN" lea-crm https://app.leacrm.com/api/mcp

Get a personal token

  1. In Lea CRM, open Settings → Account, card “Claude, ChatGPT & Gemini, AI assistants”.
  2. Open “Advanced: Claude Code, Antigravity CLI or manual setup” and click “Generate a token”.
  3. Copy the token right away: Lea shows it only once. It works like an OAuth connection: same rights, same quota, revocable from the same card.

Tools

The server exposes the tools below. Each one calls Lea's public API with the token of the connection, under the same checks as the app.

Account and setup

get_meReadProfile of the connected user: name, email, language, account. Assistants call it first to know who they act as.
list_pipelinesReadPipelines visible to the user, with their ordered stages and the fields a stage requires before a deal enters it.
list_usersReadMembers of the account (name, email, role), to assign a deal, a contact or an activity to someone.
list_custom_fieldsReadCustom fields of the account for deals, contacts and organizations: key, name, type, options, required or not.

Contacts

search_contactsReadSearch contacts by name, phone number or LinkedIn URL. Without a filter, lists the most recent ones.
get_contactReadFull overview of a contact: profile, open deals with their stage, last and next activity, filled custom fields.
create_contactWriteCreate a contact (first name required). Assigned to the connected user unless another member is named.
update_contactWriteChange a contact's name, email, phone, source, organization, owner or custom fields. Only the fields sent change.

Organizations

search_organizationsReadSearch organizations by name, or list the most recent ones.
create_organizationWriteCreate an organization (name required) with its website, phone, address, industry and custom fields.
update_organizationWriteChange an organization's details or custom fields. Only the fields sent change.

Deals

list_dealsReadDeals filtered by status (open, won, lost), stage, contact or organization, most recent first.
get_dealReadA deal with its stage, contact, company, forecast category, buying committee, mutual action plan summary and custom fields.
create_dealWriteCreate a deal in a stage, with or without a contact. If the stage requires fields, the call lists the missing ones so the assistant can ask you.
update_dealWriteMove a deal to another stage, mark it won or lost, or change its title, value, contact, company, owner, close date, probability, forecast category or custom fields.

Calling

get_call_queueReadOpen deals to call: next call date unset or overdue, overdue callbacks first, with the contact's name and phone.
log_callWriteLog a call outcome (no answer, voicemail, gatekeeper, callback, interested, not interested, wrong number) as in the app's call drawer: schedules the retry or the follow-up call, or closes the deal as lost with a reason.

Activities

list_activitiesReadActivities (calls, meetings, emails, tasks), optionally for one deal or contact, sorted by due date.
create_activityWriteCreate a call, meeting, email, WhatsApp, LinkedIn or SMS activity, linked to a deal or a contact. A future date schedules it.
update_activityWriteMark an activity done, reschedule it, or change its subject, notes, duration, deal, contact or owner. Marking a recurring activity done schedules the next one.

Notes

list_notesReadNotes of a deal or a contact.
create_noteWriteAdd a note to a deal, a contact, or both.

No tool deletes anything: deleting a contact, an organization, a deal or an activity stays in the Lea CRM app.

Read tools carry the MCP annotation readOnlyHint: true, write tools readOnlyHint: false, so your assistant can ask before it changes anything.

The assistant acts as you

Each connection carries the identity of the person who authorized it. Lea reads that person's role on every call: what you cannot see in the app stays hidden from your assistant, and a role change applies at once.

Teammate
Their own deals, as in the app.
Team lead
The deals of their team.
Administrator and Owner
Every deal of the account.
Read-only
The whole account, without writing: every write tool is refused.
  • Contacts and organizations are the account's shared address book, as in the app.
  • Contacts, deals and activities created through the connector are assigned to the connected user unless the assistant names another member.
  • The connector follows the app's rules: fields required by a stage, plan limits, and the do-not-contact list.
  • A member removed from the account loses every connection, and a suspended account is refused.

Plans and quota

The connector is included in every plan at no extra cost. Each connection has a daily quota of tool calls, counted over 24 hours from the first call of the period:

Starter
300 calls per day
Pro, and the 15-day free trial
2,000 calls per day
Business
5,000 calls per day

Beyond the quota, calls are refused with HTTP 429 and the delay before the count starts over.

Revoke access

  • In Lea CRM, Settings → Account, card “Claude, ChatGPT & Gemini, AI assistants”: “Active connections” lists each of your connections with its last use. Revoking one cuts that assistant's access to your CRM.
  • Owners and administrators also see “Team connections”, with who connected each one, and can revoke them.
  • Each person keeps up to 10 active connections. A new OAuth connection beyond that retires the least used one; a new personal token is refused until you revoke one.
  • Removing Lea CRM from your assistant's settings does not revoke its access in Lea: revoke it in Lea as well.

Data and privacy

  • What your assistant reads through the connector is sent to that assistant. From then on, its handling falls under the terms of the assistant's provider (Anthropic, OpenAI, Cursor or another).
  • Lea stores only a hash of each access token, never the token itself.
  • The approval page shows the website that will receive access. The assistant's name is declared by the application itself: only authorize a site you recognize.
  • Lea CRM's privacy policy covers the data stored in your CRM, which the connector reads as you would in the app: hosted in Europe, never sold, never used for targeted advertising.

Official MCP Registry

Lea CRM is listed in the official MCP Registry, the public catalog that MCP clients and directories read.

Server name
com.leacrm/crm
Remote
streamable-http · https://app.leacrm.com/api/mcp

Questions

Does the connector cost extra?

No. It is included in Starter, Pro and Business, and during the 15-day free trial, within the daily quota of your plan.

Can the assistant delete data?

No. The server has no delete tool: deleting stays in the Lea CRM app.

Do I need to be an administrator to connect?

No. Every member connects their own assistant from Settings → Account, and the assistant sees what that member sees.

Which assistants work?

Any MCP client that supports remote servers over Streamable HTTP, with OAuth or a Bearer header. Clients limited to local servers connect through mcp-remote.

Run your CRM from your assistant.

Create your account, then connect Claude, ChatGPT or Cursor in a minute.