SugarCRM MCP by usefulapi
List, filter and count records, read dropdown values, and create or update records in SugarCRM.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"sugarcrm": {
"url": "https://sugarcrm.usefulapi.io/mcp"
}
}
}Remote endpoints
https://sugarcrm.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (7)
🟢sugarcrm_list_records(module, fields, max_num, offset, order_by)
List records of one module (Accounts, Contacts, Leads, Opportunities, Cases, or a custom module), newest page first by the sort you set. Returns records and next_offset (-1 when no more). SugarCRM API: GET /rest/v11_21/:module.
Input Schema
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,99}$"
},
"fields": {
"description": "Comma-separated field names to return, e.g. id,name,date_entered.",
"type": "string",
"pattern": "^[A-Za-z0-9_,]{1,1000}$"
},
"max_num": {
"description": "Records per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Offset for paging. Use the next_offset from the last reply.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"order_by": {
"description": "Sort, e.g. date_entered:DESC.",
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}(:(ASC|DESC))?$"
}
},
"required": [
"module"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sugarcrm_get_record(module, id, fields)
Get one record by id, with the fields you ask for. SugarCRM API: GET /rest/v11_21/:module/:id.
Input Schema
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,99}$"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"fields": {
"description": "Comma-separated field names to return, e.g. id,name,date_entered.",
"type": "string",
"pattern": "^[A-Za-z0-9_,]{1,1000}$"
}
},
"required": [
"module",
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sugarcrm_filter_records(module, filter, fields, max_num, offset, ...)
Find records of one module with a Sugar filter array. Read-only: it sends the filter in the body of a POST. Returns records and next_offset. SugarCRM API: POST /rest/v11_21/:module/filter.
Input Schema
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,99}$"
},
"filter": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "Sugar filter array, e.g. [{\"name\": {\"$starts\": \"Acme\"}}] or [{\"date_modified\": {\"$dateRange\": \"last_7_days\"}}]."
},
"fields": {
"description": "Comma-separated field names to return, e.g. id,name,date_entered.",
"type": "string",
"pattern": "^[A-Za-z0-9_,]{1,1000}$"
},
"max_num": {
"description": "Records per page (1-100, default 20).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"description": "Offset for paging. Use the next_offset from the last reply.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"order_by": {
"description": "Sort, e.g. date_entered:DESC.",
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}(:(ASC|DESC))?$"
}
},
"required": [
"module",
"filter"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sugarcrm_count_records(module, filter)
Count the records of one module that match a Sugar filter array. SugarCRM API: POST /rest/v11_21/:module/filter/count.
Input Schema
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,99}$"
},
"filter": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "Sugar filter array, e.g. [{\"name\": {\"$starts\": \"Acme\"}}] or [{\"date_modified\": {\"$dateRange\": \"last_7_days\"}}]."
}
},
"required": [
"module",
"filter"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sugarcrm_get_enum_values(module, field)
List the allowed values of a dropdown field on a module, e.g. Opportunities sales_stage. SugarCRM API: GET /rest/v11_21/:module/enum/:field.
Input Schema
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,99}$"
},
"field": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
}
},
"required": [
"module",
"field"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴sugarcrm_create_record(module, data)
Create one record in a module with the field values you give. Writes data to the customer's Sugar. SugarCRM API: POST /rest/v11_21/:module.
Input Schema
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,99}$"
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Field values to set, e.g. {\"name\": \"Acme Ltd\"}."
}
},
"required": [
"module",
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴sugarcrm_update_record(module, id, data)
Update the field values you give on one existing record. Fields you leave out keep their values. Changes live data in the customer's Sugar. SugarCRM API: PUT /rest/v11_21/:module/:id.
Input Schema
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,99}$"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Field values to set, e.g. {\"name\": \"Acme Ltd\"}."
}
},
"required": [
"module",
"id",
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence