bitrix24-tasks-mcp-server

v1.8.0
bitrix24-tasks-mcp-server Checked 3 days ago Published 2 months ago

Bitrix24 MCP server for tasks, projects, users, and CRM

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bitrix24_create_task

Create a new task in Bitrix24

ParameterTypeDescription
title *stringTask title
checklistarrayOptional checklist items to create inside the task
creatorIdstringCreator user ID
deadlinestringDeadline (ISO 8601)
descriptionstringTask description
diskFolderIdstringOptional Bitrix24 disk folder ID for uploads. Defaults to BITRIX24_DISK_FOLDER_ID or the webhook user storage root folder
filePathsarrayOptional local file paths (absolute or relative to MCP process cwd) to upload and attach to the task (images and other files)
parentTaskIdstringParent task ID (PARENT_ID) for subtask linkage
prioritystring0=Low, 1=Normal, 2=High
projectIdstringProject/group ID (GROUP_ID)
responsibleIdstringResponsible user ID

bitrix24_get_task_summary

Read a strict bounded task projection for workflow intake and routing. DESCRIPTION is capped at 12000 characters; TITLE is display metadata and must not be used as a routing signal.

ParameterTypeDescription
taskId *stringTask ID
selectarrayOptional Bitrix task fields. Defaults to ID, TITLE, DESCRIPTION, GROUP_ID, STAGE_ID, STATUS, CHANGED_DATE, RESPONSIBLE_ID.

bitrix24_get_task_stage

Read the current task stage and minimal routing metadata without loading comments, description, or files.

ParameterTypeDescription
taskId *stringTask ID

bitrix24_get_task

Get task by ID with all legacy UF_* custom fields, comments, and file attachments in one call. Comments use task chat (im) when available; attachments download via disk.file.get (not browser SSO URLs).

ParameterTypeDescription
id *stringTask ID
commentsLimitnumberMax chat messages (1-50, default 50)
imagesOnlybooleanDownload only image attachments
includeCommentAttachmentsbooleanDownload comment/chat attachments (default: true)
includeCommentsbooleanLoad task comments/messages (default: true)
includeContentbooleanDownload file bytes; images are also returned as MCP image content (default: true)
includeSystemMessagesbooleanInclude system chat messages
includeTaskFilesbooleanDownload files linked in task description and UF_TASK_WEBDAV_FILES (default: true)
preferApistringComments API: auto (chat then legacy), chat only, or legacy only
saveToDirectorystringOptional local directory to save downloaded files

bitrix24_list_tasks

List tasks with optional filtering and ordering

ParameterTypeDescription
filterobjectBitrix24 tasks filter object
limitnumberMaximum number of tasks to return
onlyMybooleanReturn only tasks where current webhook user is responsible
orderBystringField to order by
orderDirectionstringOrder direction

bitrix24_get_latest_tasks

Get the most recent tasks ordered by creation date

ParameterTypeDescription
limitnumberMaximum number of tasks to return

bitrix24_get_tasks_from_date_range

Get tasks created within a specific date range

ParameterTypeDescription
startDate *stringStart date in YYYY-MM-DD format
endDatestringEnd date in YYYY-MM-DD format (optional)
limitnumberMaximum number of tasks to return

bitrix24_get_task_comments

Get task comments/messages. Uses modern task chat API (im.dialog.messages.get) when available, falls back to legacy task.commentitem.getlist. Downloads attachments from chat files or ATTACHED_OBJECTS.

ParameterTypeDescription
taskId *stringTask ID
attachmentIdsarrayOptional attachment/file IDs to download
commentIdsarrayOptional comment/message IDs to return (post-filter)
filterobjectLegacy comment FILTER (task.commentitem.getlist only)
firstIdnumberChat pagination: load messages newer than this ID (0 for first page)
imagesOnlybooleanDownload only image attachments
includeAttachmentsbooleanInclude attachment metadata and optional file download (default: true)
includeContentbooleanDownload file bytes and include base64 for images (default: true)
includeSystemMessagesbooleanInclude system chat messages (chat API only)
lastIdnumberChat pagination: load messages older than this ID
limitintegerMax messages for chat API (1-50, default 50)
orderBystringSort field (legacy API; chat uses POST_DATE asc/desc)
orderDirectionstringSort direction
preferApistringAPI strategy: auto (chat then legacy), chat only, or legacy only
saveToDirectorystringOptional local directory path to save downloaded attachment files

bitrix24_get_comments_after

Read compact comments newer than a known comment/message ID. Returns text and metadata only; never downloads attachments or file bytes.

ParameterTypeDescription
afterCommentId *stringReturn only comments/messages whose numeric ID is greater than this watermark
taskId *stringTask ID
includeSystemMessagesbooleanInclude system messages
limitintegerMaximum comments to inspect and return
maxCommentCharsintegerPer-comment text cap. Truncated comments include originalChars and sha256.
maxTotalCharsintegerHard cap for text across the returned page.
preferApistringAPI strategy

bitrix24_update_task

Update an existing task in Bitrix24

ParameterTypeDescription
id *stringTask ID
deadlinestringDeadline (ISO 8601)
descriptionstringTask description
parentTaskIdstringParent task ID (PARENT_ID) for subtask linkage
prioritystring0=Low, 1=Normal, 2=High
projectIdstringProject/group ID (GROUP_ID)
responsibleIdstringResponsible user ID
statusstring1=New, 2=Pending, 3=In Progress, 4=Completed, 5=Deferred
titlestringTask title

bitrix24_update_task_custom_fields

Update one or more Bitrix24 task custom fields (UF_TASK_*). Reads current values first, protects populated fields by default, and verifies the write.

ParameterTypeDescription
fields *objectMap of UF_TASK_* field codes to Bitrix24-compatible scalar, array, object, or null values (1-20 fields)
taskId *stringBitrix24 task ID
overwriteExistingbooleanAllow replacing non-empty current values. Defaults to false.

bitrix24_get_task_stages

Get Kanban/My Plan stages for a Bitrix24 task group or user plan

ParameterTypeDescription
entityId *stringGroup/project ID for Kanban stages, or user ID for My Plan stages
entityTypestringG=group/project Kanban, U=user My Plan

bitrix24_can_move_task_in_stages

Check whether the webhook user can move tasks in a Bitrix24 Kanban/My Plan object

ParameterTypeDescription
entityId *stringGroup/project ID for Kanban stages, or user ID for My Plan stages
entityTypestringG=group/project Kanban, U=user My Plan

bitrix24_move_task_to_stage

Move a task to another Kanban/My Plan stage using task.stages.movetask. Provide stageId directly or stageName with entityId.

ParameterTypeDescription
taskId *stringTask ID
afterstringOptional task ID after which this task should be placed
beforestringOptional task ID before which this task should be placed
entityIdstringGroup/project ID for Kanban stages, or user ID for My Plan stages. Required when using stageName.
entityTypestringG=group/project Kanban, U=user My Plan
stageIdstringTarget stage ID
stageNamestringTarget stage title. Used to resolve stageId when stageId is omitted.

bitrix24_get_task_files

Download files attached to a Bitrix24 task (UF_TASK_WEBDAV_FILES and [disk file id=...] in description). Returns metadata and optional base64 content for images.

ParameterTypeDescription
taskId *stringTask ID
diskFileIdsarrayOptional disk file IDs to download (with or without "n" prefix). If omitted, all files referenced by the task are fetched.
imagesOnlybooleanDownload only image files (png, jpg, gif, webp, etc.)
includeContentbooleanDownload file bytes and include base64 for images (default: true)
saveToDirectorystringOptional local directory path to save downloaded files

bitrix24_get_task_files_metadata

Read one bounded page of task attachment metadata without downloading file bytes or emitting base64.

ParameterTypeDescription
taskId *stringTask ID
afterFileIdstringPagination watermark from nextAfterFileId
diskFileIdsarrayOptional exact disk file IDs; omitted means all task file references
imagesOnlybooleanReturn image metadata only
limitintegerMaximum metadata records in one page

bitrix24_add_task_comment

Post a comment/message to a task. Modern path: tasks.task.chat.message.send + im.disk.file.commit; legacy fallback: task.commentitem.add.

ParameterTypeDescription
taskId *stringTask ID
authorIdstringLegacy API only: author user ID for task.commentitem.add
diskFolderIdstringOptional Bitrix24 disk folder ID for uploads
filePathsarrayLocal files to upload and attach to the comment/message
preferApistringAPI strategy: auto (chat then legacy), chat only, or legacy only
textstringComment text (required if no filePaths)

bitrix24_publish_task_composite

Idempotently publish a bounded ordered set of final comments/evidence attachments and then move the task to one exact stage with read-back verification. Use one call for final workflow publication.

ParameterTypeDescription
comments *array
evidenceSha256 *stringSHA-256 of the evidence manifest being published
runId *stringStable workflow run/dispatch ID
targetStageId *stringExact target stage ID
taskId *stringTask ID
diskFolderIdstringOptional Bitrix Disk folder for evidence uploads
expectedCurrentStageIdstringOptional compare-and-set guard for the current stage
preferApistring

bitrix24_attach_files_to_task

Upload local files (images, documents) to Bitrix24 Disk and attach them to an existing task

ParameterTypeDescription
filePaths *arrayLocal file paths to upload and attach
taskId *stringTask ID
diskFolderIdstringOptional Bitrix24 disk folder ID. Defaults to BITRIX24_DISK_FOLDER_ID or user storage root

bitrix24_add_task_checklist_item

Add a checklist item to a task

ParameterTypeDescription
taskId *stringTask ID
title *stringChecklist item title
isCompletebooleanChecklist item completion status
isImportantbooleanMark checklist item as important
parentIdnumberParent checklist item ID (for nested items)
sortIndexnumberSort index for checklist item

bitrix24_list_task_checklist_items

List checklist items for a task

ParameterTypeDescription
taskId *stringTask ID
orderBystringChecklist order field
orderDirectionstringOrder direction

bitrix24_update_task_checklist_item

Update a checklist item in a task

ParameterTypeDescription
itemId *stringChecklist item ID
taskId *stringTask ID
isCompletebooleanChecklist item completion status
isImportantbooleanMark checklist item as important
parentIdnumberParent checklist item ID (for nested items)
sortIndexnumberSort index for checklist item
titlestringChecklist item title

bitrix24_delete_task_checklist_item

Delete a checklist item from a task

ParameterTypeDescription
itemId *stringChecklist item ID
taskId *stringTask ID

bitrix24_get_task_dependencies

Get task dependencies from DEPENDS_ON field

ParameterTypeDescription
taskId *stringTask ID

bitrix24_add_task_dependency

Create dependency link between two tasks

ParameterTypeDescription
taskIdFrom *stringSource task ID (dependency starts from this task)
taskIdTo *stringTarget task ID (dependency points to this task)
linkTypenumber0=start-start, 1=start-finish, 2=finish-start, 3=finish-finish

bitrix24_delete_task_dependency

Delete dependency link between two tasks

ParameterTypeDescription
taskIdFrom *stringSource task ID
taskIdTo *stringTarget task ID
linkTypenumber0=start-start, 1=start-finish, 2=finish-start, 3=finish-finish

bitrix24_create_project

Create a new workgroup/project in Bitrix24

ParameterTypeDescription
name *stringProject name
descriptionstringProject description
openedstringVisibility flag (Y=public, N=private)
ownerIdstringOwner user ID

bitrix24_get_project

Retrieve project information by ID

ParameterTypeDescription
id *stringProject ID

bitrix24_list_projects

List projects/workgroups with optional filtering

ParameterTypeDescription
filterobjectBitrix24 project filter object
limitnumberMaximum number of projects to return
orderBystringField to order by
orderDirectionstringOrder direction

bitrix24_update_project

Update an existing project/workgroup in Bitrix24

ParameterTypeDescription
id *stringProject ID
activestringActivate/deactivate project
closedstringClose/open project
descriptionstringProject description
namestringProject name
openedstringVisibility flag (Y=public, N=private)
ownerIdstringOwner user ID

bitrix24_search_tasks_projects

Search tasks and projects by title/name and description

ParameterTypeDescription
query *stringSearch query text
includeProjectsbooleanSearch in projects
includeTasksbooleanSearch in tasks
limitnumberMaximum number of entities per type

bitrix24_validate_webhook

Validate Bitrix24 webhook connection for tasks/projects scope

bitrix24_diagnose_permissions

Diagnose webhook permissions for tasks and projects endpoints

bitrix24_get_user

Get user information by ID

ParameterTypeDescription
userId *stringUser ID to retrieve

bitrix24_get_all_users

Get all users in the system

bitrix24_find_users_by_full_name

Find active Bitrix24 users by exact normalized full name using server-side user filters. Returns none, unique, or ambiguous status; use an ID only when status is unique.

ParameterTypeDescription
fullName *stringFull name with 2 or 3 parts, for example "Анастасия Лозовая" or "Лозовая Анастасия Андреевна"
activeOnlybooleanReturn only active users (default: true)
emailDomainstringOptional exact email domain filter, with or without @, for example krit.pro

bitrix24_resolve_user_names

Resolve user IDs to user names

ParameterTypeDescription
userIds *arrayArray of user IDs to resolve to names

bitrix24_get_crm_sources

Read all CRM lead sources via crm.status.list (ENTITY_ID=SOURCE). Returns STATUS_ID codes and NAME labels. Discover the mail source before creating leads; this tool only reads configuration.

bitrix24_get_crm_lead_stages

Read all CRM lead stages/statuses via crm.status.list (ENTITY_ID=STATUS), including STATUS_ID, NAME, SEMANTICS and colors. Verify NEW before creating a lead; these are CRM stages, not task stages.

bitrix24_get_crm_fields

Read CRM field metadata via crm.lead.fields, crm.company.fields or crm.contact.fields. Includes standard and UF_CRM_* custom fields, types, labels, required/read-only/multiple flags and enumeration items with their IDs. Does not read card values or change CRM settings.

ParameterTypeDescription
customOnlybooleanReturn only UF_CRM_* custom fields
entitystringCRM entity whose field schema to read (default: lead)
fieldNamesarrayOptional exact field codes. Missing or inaccessible fields produce an error; omit to discover all fields.

bitrix24_get_crm_user_fields

Read only CRM custom/user fields (UF_CRM_*) and enum item IDs using the entity fields API. Discover Message-ID, run ID and parse-status field codes/values before a write. This returns field definitions, not customer data.

ParameterTypeDescription
entitystringCRM entity whose field schema to read (default: lead)
fieldNamesarrayOptional exact field codes. Missing or inaccessible fields produce an error; omit to discover all fields.

bitrix24_find_crm_lead_by_message_id

Read-only CRM lead lookup by exact Message-ID in an existing single string UF_CRM_* field. Validate the field, read all matching pages and return none/unique/ambiguous with card URLs. Use before retrying an uncertain write; this tool never creates a lead.

ParameterTypeDescription
messageId *string
messageIdField *string

bitrix24_find_crm_user_by_email

Find one active Bitrix24 employee by exact email and select a configured fallback when none is found.

ParameterTypeDescription
email *string
fallbackUserIdstring

bitrix24_find_crm_company

Find a CRM company sequentially by exact INN, phone, email, then exact normalized title. Returns none, unique, or ambiguous.

ParameterTypeDescription
emailstring
innstring
phonestring
titlestring

bitrix24_resolve_or_create_crm_company

Reuse one matching company, return candidates on ambiguity, or create a draft company without creating an obvious duplicate.

ParameterTypeDescription
additionalFieldsobjectOptional confirmed Bitrix24 field values. Core fields cannot override safe defaults.
assignedByIdstring
commentsstring
emailstring
innstring
phonestring
requisitePresetIdstring
titlestring

bitrix24_find_crm_contact

Find a CRM contact by client phone and then client email. Does not infer contact data.

ParameterTypeDescription
emailstring
phonestring

bitrix24_resolve_or_create_crm_contact

Reuse one matching client contact, report ambiguity, or create a contact only when phone or email is supplied.

ParameterTypeDescription
name *string
additionalFieldsobjectOptional confirmed Bitrix24 field values. Core fields cannot override safe defaults.
assignedByIdstring
commentsstring
companyIdstring
emailstring
lastNamestring
phonestring
secondNamestring

bitrix24_create_crm_lead_idempotent

Create a NEW CRM lead with Message-ID duplicate lookup, same-host serialization, read-back verification and recovery lookup after an uncertain REST response. Orchestrators must serialize distributed workers and reconcile uncertain writes before retrying.

ParameterTypeDescription
assignedById *string
comments *string
messageId *string
messageIdField *string
runId *string
runIdField *string
sourceId *string
title *string
additionalFieldsobjectOptional confirmed Bitrix24 field values. Core fields cannot override safe defaults.
companyIdstring
contactIdstring
emailstring
lastNamestring
namestring
parseStatusstring
parseStatusFieldstring
phonestring

bitrix24_get_crm_entity

Get a CRM lead, company, or contact by ID and return its Bitrix24 detail URL.

ParameterTypeDescription
entity *string
id *string