LeadSquared MCP by usefulapi
Search leads, list their tasks; create or update leads and post activities in LeadSquared.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (3)
- LOWin leadsquared_get_lead_activities
- LOWin leadsquared_get_lead_opportunities
- LOWin leadsquared_create_or_update_lead
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"leadsquared": {
"url": "https://leadsquared.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://leadsquared.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (9)
🟢leadsquared_quick_search_leads(text)
Find leads whose first name, last name, email, phone, mobile, company, city or country contains a text. Same as the Quick Search box in LeadSquared. GET LeadManagement.svc/Leads.GetByQuickSearch.
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"description": "The text to find, for example an email address or a surname."
}
},
"required": [
"text"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leadsquared_get_lead(lead_id)
Return one lead's details (name, email, phone, owner, custom fields) by ProspectID. Returns an empty list when the id does not exist. GET LeadManagement.svc/Leads.GetById.
Eingabe-Schema
{
"type": "object",
"properties": {
"lead_id": {
"type": "string",
"minLength": 1,
"description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
}
},
"required": [
"lead_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leadsquared_search_leads(lookup_name, lookup_value, sql_operator, columns, page_index, ...)
Find leads where one lead field matches a value, for example CreatedOn after a date, or EmailAddress equal to an address. Pass the field's schema name (LookupName) and the operator (SqlOperator, for example = or > or LIKE). POST LeadManagement.svc/Leads.Get.
Eingabe-Schema
{
"type": "object",
"properties": {
"lookup_name": {
"type": "string",
"minLength": 1,
"description": "Schema name of the lead field, for example EmailAddress, FirstName or CreatedOn."
},
"lookup_value": {
"type": "string",
"description": "The value to compare with, for example 2026-01-01 00:00:00 for a date."
},
"sql_operator": {
"type": "string",
"minLength": 1,
"description": "Comparison operator: =, <>, >, <, >=, <=, LIKE, or NOT LIKE."
},
"columns": {
"description": "Comma-separated field names to return, for example ProspectID,FirstName,EmailAddress.",
"type": "string"
},
"page_index": {
"description": "Page number, starting at 1 (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Results per page (default 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"required": [
"lookup_name",
"lookup_value",
"sql_operator"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leadsquared_get_lead_tasks(lead_id)
List the tasks (follow-ups, calls, to-dos) created against one lead. GET LeadManagement.svc/RetrieveTaskByLeadId.
Eingabe-Schema
{
"type": "object",
"properties": {
"lead_id": {
"type": "string",
"minLength": 1,
"description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
}
},
"required": [
"lead_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leadsquared_get_lead_activities(lead_id, activity_event, offset, row_count)
List the activities (calls, emails, notes, custom activities) of one lead, newest data included. Pass an activity_event code to keep one type only. POST ProspectActivity.svc/Retrieve.
Eingabe-Schema
{
"type": "object",
"properties": {
"lead_id": {
"type": "string",
"minLength": 1,
"description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
},
"activity_event": {
"description": "Activity event code, for example 201 for a custom activity. Omit for all types.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"offset": {
"description": "Page number, starting at 0 (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"row_count": {
"description": "Activities per page (default 10, max 25).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 25
}
},
"required": [
"lead_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leadsquared_get_lead_opportunities(lead_id, opportunity_type, page_index, page_size)
List the opportunities linked to one lead, with their fields. Pass opportunity_type to keep one opportunity type only. POST OpportunityManagement.svc/GetOpportunitiesOfLead.
Eingabe-Schema
{
"type": "object",
"properties": {
"lead_id": {
"type": "string",
"minLength": 1,
"description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
},
"opportunity_type": {
"description": "Opportunity type code. Omit for all types.",
"type": "string"
},
"page_index": {
"description": "Page number, starting at 1 (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Results per page (default 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"required": [
"lead_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leadsquared_list_users
List the users of the LeadSquared account (name, email, role, active status). Use it to find an owner's user id. GET UserManagement.svc/Users.Get.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴leadsquared_create_or_update_lead(fields, search_by)
Create a lead, or update the lead that already has this email address or phone number. Pass the fields as name and value pairs using schema names, for example FirstName, LastName, EmailAddress, Phone, Company. POST LeadManagement.svc/Lead.CreateOrUpdate.
Eingabe-Schema
{
"type": "object",
"properties": {
"fields": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Lead field schema name."
},
"value": {
"type": "string",
"description": "Value to store."
}
},
"required": [
"name",
"value"
]
},
"description": "The lead fields to set."
},
"search_by": {
"description": "Field to match an existing lead on, for example EmailAddress or Phone. Default: email, then phone.",
"type": "string"
}
},
"required": [
"fields"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴leadsquared_post_lead_activity(lead_id, activity_event, note, activity_datetime)
Add an activity (for example a note or a custom activity) to one lead. Each call adds a new activity: it is not idempotent. POST ProspectActivity.svc/Create.
Eingabe-Schema
{
"type": "object",
"properties": {
"lead_id": {
"type": "string",
"minLength": 1,
"description": "The lead's ProspectID (a GUID), from a lead search or lead lookup."
},
"activity_event": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Activity event code of the activity type, for example 201 for a custom activity."
},
"note": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Text of the activity note."
},
"activity_datetime": {
"description": "When the activity happened, as yyyy-mm-dd hh:mm:ss in the account time zone.",
"type": "string"
}
},
"required": [
"lead_id",
"activity_event",
"note"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis