MCP Server Documentation
LotsCRM MCP Server
Connect AI agents like Claude and Cursor to LotsCRM using the Model Context Protocol
Quick Information
MCP Endpoint
https://api.lotscrm.com/mcpAvailable Tools
39 tools
Authentication
OAuth 2.1 with PKCE
Setup Instructions
Configure your MCP client to connect to LotsCRM
Add this configuration to your Cursor settings:
{
"mcpServers": {
"lotscrm": {
"url": "https://api.lotscrm.com/mcp"
}
}
}Steps:
- Open Cursor Settings (Cmd/Ctrl + ,)
- Search for "MCP Servers"
- Click "Edit in settings.json"
- Add the configuration above
- Restart Cursor
- Cursor will automatically discover OAuth endpoints and handle authentication
Authentication
This server implements OAuth 2.1 with PKCE for secure authentication
OAuth 2.1 with PKCE (S256)
Most modern MCP clients will automatically discover and handle the OAuth flow. The server uses OAuth 2.1 with PKCE (S256) for secure authentication.
OAuth Discovery
https://api.lotscrm.com/.well-known/oauth-authorization-serverAuthorization Endpoint
https://api.lotscrm.com/api/oauth/authorizeToken Endpoint
https://api.lotscrm.com/api/oauth/tokenHow it works:
- Clients automatically discover OAuth endpoints
- Users are redirected to authenticate via browser
- Authorization code is exchanged for access token
- Bearer token is used for all MCP requests
Available Tools
39 MCP tools available for LotsCRM. Use these tool names when calling the MCP server.
activities
get_timelineGet relationship timeline
Get recent activities linked to any supplied contact, company, or deal.
list_follow_upsList follow-ups
List due, overdue, completed, or owner-assigned follow-ups. Omitted completed returns open work.
record_activityRecord sales activity
Record a call, meeting, email, message, note, or other completed interaction. This records history and never sends a message.
update_follow_upUpdate follow-up
Reschedule, reassign, edit, complete, or reopen a follow-up.
companies
archive_companyArchive company
Recoverably archive a company; associated contacts and deals remain intact.
create_companyCreate company
Create a company with provenance and optional custom fields.
get_companyGet company
Get a company with its contacts and active deals.
list_companiesList companies
List active companies with search, lifecycle filtering, and pagination.
update_companyUpdate company
Update a company in the selected workspace. Only the fields you send change; custom_fields merges (null removes a key).
contacts
archive_contactArchive contact
Recoverably archive a contact. Existing deal and activity history remains intact.
bulk_upsert_prospectsBulk upsert prospects
Import 1–100 researched or CSV-derived prospects. Email is the workspace deduplication key. Each row retains source and source_url provenance, and can carry tags and a company_name.
create_contactCreate contact
Create a contact with consent, provenance, and optional company relationship.
get_contactGet contact
Get a contact with company relationships, deals, and channels.
list_contactsList contacts
List active contacts with lead status, owner, search, and pagination filters.
update_contactUpdate contact
Update contact qualification, consent, ownership, details, or company relationship. Only the fields you send change; custom_fields merges (null removes a key).
deals
archive_dealArchive deal
Recoverably archive a deal using optimistic concurrency.
create_dealCreate deal
Create a deal in an owned pipeline and stage with optional company and contacts.
get_dealGet deal
Get a deal with its stage, company, contacts, and stage history.
list_dealsList deals
List active deals by pipeline, stage, status, owner, or search text.
move_dealMove deal
Move a deal to another stage atomically with status and stage history. Lost deals require lost_reason.
update_dealUpdate deal
Update deal details using expected_version to prevent an agent overwriting newer work. Use move_deal for stage changes. custom_fields merges (null removes a key).
insights
get_crm_briefingGet CRM briefing
Mandatory first read for CRM agents. Return the selected workspace, caller role, separately labelled public business truth and private guidance, pipeline configuration, and current sales priorities.
get_sales_briefGet daily sales brief
Return deterministic sales priorities together with separately labelled workspace business context projected from LotsNotes.
get_deal_briefGet deal briefing
Return complete pre-call context: workspace business context, deal, stage, company, contacts, recent activity, open follow-ups, and contact restrictions.
get_pipeline_summaryGet pipeline summary
Return deal counts, raw value, and weighted value per stage and currency without mixing currencies.
prepare_follow_upPrepare follow-up context
Return grounded CRM and workspace business context plus safety instructions for drafting. It never sends and blocks opted-out or do-not-contact records.
search_crmSearch CRM
Search contacts, companies, and deals in one accessible workspace.
pipeline
create_pipelineCreate sales pipeline
Create a custom pipeline with ordered open, won, and lost stages. Owner or admin required.
list_pipelinesList sales pipelines
List pipelines and their ordered stages.
workspace
add_memberAdd CRM member
Add an existing Lots Auth user to a workspace by email. Owner or admin required.
create_workspaceCreate CRM workspace
Create an isolated CRM workspace. With no organization_id, also creates the owner organization and a default six-stage sales pipeline. Retry with the same idempotency_key.
get_workspaceGet CRM workspace
Get one accessible CRM workspace and the caller role.
list_membersList CRM members
List members of an accessible CRM workspace.
list_workspacesList CRM workspaces
List active CRM workspaces available to the authenticated user.
update_memberUpdate CRM member
Change or suspend a workspace member. The owner cannot be changed through this tool.
update_workspaceUpdate CRM workspace
Update workspace operating settings. Owner or admin required.
General
create_checkoutChoose a LotsCRM plan or add credits
Create a checkout link. Pass plan (starter, pro or business) and cycle (monthly or annual) for a plan, or amount_usd (10 to 1000) to add LotsTech Credits. Give the link to the person to pay in their browser; never ask for card details in chat.
get_billingGet LotsCRM billing
Show how the caller's LotsCRM workspaces are paid for: the plan (if any), whether today is covered or paid from credits, the credit balance, and the plans to choose from. A workspace nobody pays for is read-only, never deleted.