1CRM MCP by usefulapi
Read module records and their links; create or update records in 1CRM.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"1crm": {
"url": "https://1crm.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://1crm.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (7)
🟢onecrm_whoami
Show the 1CRM user the connection signs in as (id, user name, name). Use it to check the connection.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢onecrm_get_module_fields(module)
List the fields of a 1CRM module with their types and labels. Use it before you filter, sort or write a module.
Esquema de entrada
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"description": "1CRM module, for example Contact, Account, Opportunity, Lead or Case"
}
},
"required": [
"module"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢onecrm_list_records(module, filters, filter_text, order, fields, ...)
List records of a 1CRM module, with optional equality filters, text search, sort, fields, offset and limit (max 100). Returns records and total_results. Use onecrm_get_module_fields for the field names.
Esquema de entrada
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"description": "1CRM module, for example Contact, Account, Opportunity, Lead or Case"
},
"filters": {
"description": "Equality filters: field name to value",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"filter_text": {
"description": "Generic text search",
"type": "string",
"maxLength": 200
},
"order": {
"description": "Sort order, passed to 1CRM unchanged",
"type": "string",
"maxLength": 100
},
"fields": {
"description": "Fields to return (default: the 1CRM default set)",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
}
},
"offset": {
"description": "Start offset (default 0)",
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"limit": {
"description": "Records to return, 1 to 100 (default 20)",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"module"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢onecrm_get_record(module, id, fields)
Get one record of a 1CRM module by id, with all fields or only the fields you pass.
Esquema de entrada
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"description": "1CRM module, for example Contact, Account, Opportunity, Lead or Case"
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Record id, as returned by a list"
},
"fields": {
"description": "Fields to return (default: the 1CRM default set)",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
}
}
},
"required": [
"module",
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢onecrm_list_related_records(module, id, link, filters, filter_text, ...)
List the records linked to one record through a relationship link (for example the contacts of an account). The link name is the relationship name from onecrm_get_module_fields. Same paging and filters as onecrm_list_records.
Esquema de entrada
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"description": "1CRM module, for example Contact, Account, Opportunity, Lead or Case"
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Record id, as returned by a list"
},
"link": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$",
"description": "Relationship link name, from onecrm_get_module_fields"
},
"filters": {
"description": "Equality filters: field name to value",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"filter_text": {
"description": "Generic text search",
"type": "string",
"maxLength": 200
},
"order": {
"description": "Sort order, passed to 1CRM unchanged",
"type": "string",
"maxLength": 100
},
"fields": {
"description": "Fields to return (default: the 1CRM default set)",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
}
},
"offset": {
"description": "Start offset (default 0)",
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"limit": {
"description": "Records to return, 1 to 100 (default 20)",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"module",
"id",
"link"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡onecrm_create_record(module, data)
Create one record in a 1CRM module from the field values you pass (for example a new Lead). Creates only; it changes no existing record. Returns the new id.
Esquema de entrada
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"description": "1CRM module, for example Contact, Account, Opportunity, Lead or Case"
},
"data": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
},
"additionalProperties": {},
"description": "Field values of the new record"
}
},
"required": [
"module",
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴onecrm_update_record(module, id, data)
Change the fields you pass on one existing record of a 1CRM module. Only the given fields change. It never deletes a record; use the 1CRM interface for that.
Esquema de entrada
{
"type": "object",
"properties": {
"module": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"description": "1CRM module, for example Contact, Account, Opportunity, Lead or Case"
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Record id, as returned by a list"
},
"data": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,64}$"
},
"additionalProperties": {},
"description": "Fields to change, with their new values (null clears a field)"
}
},
"required": [
"module",
"id",
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia