Skip to main content
Glama
bitrix24-mcp-server

bitrix24-mcp-server

by paskal

Bitrix24 MCP Server

An MCP (Model Context Protocol) server that exposes Bitrix24 REST API to AI assistants. Provides 50 tools for managing tasks, CRM entities, call recordings (incl. local transcription), users, workgroups, and Knowledge Base articles via Bitrix24's inbound webhook API.

Tools

Tasks (7)

  • bitrix24_task_list — list and filter tasks by status, assignee, project, etc.

  • bitrix24_task_get — get a single task with full details

  • bitrix24_task_create — create a task with title, description, assignee, deadline, priority, tags

  • bitrix24_task_update — update any task field

  • bitrix24_task_complete — mark a task as completed

  • bitrix24_task_start — set task status to "in progress"

  • bitrix24_task_defer — defer a task

Task Comments (2)

  • bitrix24_task_comment_list — list comments on a task

  • bitrix24_task_comment_add — add a comment (supports BBCode and @mentions)

Task Checklists (3)

  • bitrix24_task_checklist_list — list checklist items

  • bitrix24_task_checklist_add — add a checklist item

  • bitrix24_task_checklist_complete — mark a checklist item as done

Kanban Stages (2)

  • bitrix24_task_stages_list — list Kanban stages for a project

  • bitrix24_task_stage_move — move a task to a different stage

CRM (9)

  • bitrix24_crm_deal_list / bitrix24_crm_deal_get — deals

  • bitrix24_crm_contact_list / bitrix24_crm_contact_get — contacts

  • bitrix24_crm_lead_list / bitrix24_crm_lead_get — leads

  • bitrix24_crm_activity_list — timeline activities (calls/emails/SMS) on a lead/deal; call log with direction, duration, recording files

  • bitrix24_voximplant_statistic_get — telephony call stats (duration, in/out, recording file id, transcript status)

  • bitrix24_crm_timeline_comment_list — manual timeline comments (manager notes)

Note: Bitrix's own call transcripts and BitrixGPT call scoring are UI-only CoPilot features — not exposed by any Bitrix24 REST method (verified against all ~1170 webhook methods), so no tool can read or trigger them. Instead we download the recording and transcribe it ourselves — see below.

Call transcription (5)

Transcription and note-saving are separate — transcribe never writes to Bitrix, so you can get a transcript (and label it) without committing anything. Three quality/speed tiers, all decoding the audio locally (it never leaves the machine):

Tier

Tool

Models

Speed

Output

fast

bitrix24_call_transcribe_fast

GigaAM v2 only

~5× real-time, fastest

raw lowercase, no punctuation, no speaker labels

default

bitrix24_call_transcribe

Whisper large-v3

slower

punctuated, readable, raw segments (no speaker labels)

max

bitrix24_call_transcribe_max

GigaAM + Whisper + pyannote

slowest (3 models)

both transcripts + speaker-tagged turns to reconcile

Pick by need: fast for the quick gist (cheap, never hallucinates, but rough), default for a readable single transcript, max for the best possible (dual transcript + diarization the caller reconciles).

  • bitrix24_call_transcribe_fast — fast tier. Single model, GigaAM v2 (Russian-native RNNT): ~5× real-time on CPU, never hallucinates, gets domain terms right. Raw lowercase / minimal punctuation / no speaker labels. Returns {text, engine, responsibleId, direction}. Brand names auto-normalised (вилюкс → Velux). Requires a light Python env (gigaam + soundfile + torch) at B24_FAST_PYTHON; if missing → error_type: missing_deps.

  • bitrix24_call_transcribe — default tier. Transcribe a call recording locally and fully offline. Whisper large-v3, auto-bootstrapping venv, no token. Substitutes for Bitrix's UI-only transcription. Returns raw, unlabelled {text, segments, responsibleId, direction}. Speaker labelling is the calling model's call (it gets the manager via responsibleId and the client's name from the lead).

  • bitrix24_call_transcribe_max — max tier. The highest-quality pipeline: GigaAM v2 (RU-native, never hallucinates) + Whisper large-v3 (condition_on_previous_text=False + domain hotwords, for punctuation/proper-nouns) + pyannote diarization (speaker turns). Returns both transcripts + speaker-tagged segments ({whisper_text, gigaam_text, segments, speakers, reconcile_hint}) for the calling model to reconcile into one clean transcript. Brand names auto-normalised (V-LUX / вилюкс → Velux). Requires a heavy Python env at B24_MAX_PYTHON (faster-whisper + gigaam + pyannote.audio + torch) and an HF token (HF_TOKEN/B24_HF_TOKEN) whose account accepted the pyannote gated models. Missing any of that → a clear error_type (missing_hf_token / missing_deps / model_not_approved) telling you exactly what to fix. See Call transcription setup.

  • bitrix24_crm_timeline_note_get — read the «заметка» on a timeline item (returns text or null). Check before saving.

  • bitrix24_crm_timeline_note_save — save the note on a timeline item (e.g. a call), so it appears at the item, not as a loose lead comment. Anti-clobber safeguard: default mode='create' will not overwrite an existing note — it writes your text to a local draft file and returns the existing note + a recommendation, so the caller decides. Re-call with mode='replace' (overwrite) or mode='append' (keep both). (writer — hidden in READONLY_MODE)

Users & Workgroups (3)

  • bitrix24_user_get — get user(s) by ID or filter

  • bitrix24_user_search — search users by name

  • bitrix24_workgroup_list — list workgroups and projects

Chat subscriptions (3)

Push new chat messages into a running Claude Code session instead of re-reading the chat. See Receiving new chat messages.

  • bitrix24_im_watch_subscribe — start watching a dialog (chatNNN or a user id) for new messages, edits and reactions; history is not replayed

  • bitrix24_im_watch_unsubscribe — stop watching a dialog

  • bitrix24_im_watch_list — list watched dialogs with the last message id seen

Knowledge Base (4, optional)

Requires the third-party marketplace app «База знаний и тестирование» by IT-Solution installed on your portal. Bitrix24's native REST API does not expose knowledge base content — this app fills the gap with its own REST API.

  • kb_article_get — fetch a KB article by ID (rendered HTML body, title, access lists, metadata)

  • kb_directory_structure — list a directory's nested sub-directories and articles (IDs and titles, no bodies)

  • kb_article_save — create or update an article (HTML body)

  • kb_gpt_ask — query the KB's built-in GPT assistant

KB tools are registered only when KB_API_TOKEN (or KB_API_TOKEN_OP_REF) is set; otherwise they're silently skipped.

Related MCP server: Bitrix24 MCP Server

Prerequisites

  • Node.js 20+

  • A Bitrix24 portal with an inbound webhook

Creating a Webhook

  1. Go to your Bitrix24 portal → Приложения → Разработчикам → Готовые сценарии → Другое → Входящий вебхук

  2. Select the required scopes:

    • task, tasks_extended — task management

    • crm — CRM read access

    • user, user_basic — user lookups

    • sonet_group — workgroups/projects

    • bizproc — business processes (optional)

    • im — chat/notifications (optional)

    • calendar — calendar (optional)

    • telephony — telephony (optional)

    • department — org structure (optional)

  3. Click Сохранить and copy the webhook URL (format: https://your-domain.bitrix24.ru/rest/USER_ID/SECRET/)

Setup

git clone <this-repo>
cd bitrix24-mcp-server
npm install

Authentication

The server reads the webhook URL from (checked in order):

  1. BITRIX24_WEBHOOK_URL environment variable — the full webhook URL

  2. BITRIX24_WEBHOOK_OP_REF environment variable — a 1Password reference (e.g. op://Vault/Item/field), resolved via op CLI at startup

Knowledge Base token (optional)

To enable the kb_* tools, install «База знаний и тестирование» on your portal, obtain an integration token in the app's settings, and set one of:

  1. KB_API_TOKEN — the raw token string

  2. KB_API_TOKEN_OP_REF — a 1Password reference, same format as above

If neither is set, KB tools are silently omitted and the rest of the server runs normally.

Call transcription (local & private)

All three transcription tiers decode call recordings on the machine running this MCP — the audio is never sent to any cloud service. Call recordings are customers' voices (personal data); keeping transcription offline avoids shipping PII to a third-party API and keeps it free.

Default tier — zero setup

bitrix24_call_transcribe works out of the box. On first use the server bootstraps a managed Python venv at ~/.cache/bitrix24-mcp/whisper-venv, installs faster-whisper into it, and downloads the Whisper large-v3 model (~3 GB) — so the first call is slow, and subsequent calls are served by a persistent worker pool that keeps the model loaded. The only prerequisite is a python3 on PATH able to create venvs. No ffmpeg is needed for this tier (faster-whisper bundles PyAV for audio decoding).

Environment variables (all optional):

Var

Default

Purpose

B24_TRANSCRIBE_PYTHON

—

Interpreter that already has faster-whisper; set it to skip the managed venv

B24_BOOTSTRAP_PYTHON

python3

Base interpreter used to create the managed venv

B24_TRANSCRIBE_SCRIPT

bundled scripts/transcribe_worker.py

Override the worker script

B24_TRANSCRIBE_CONCURRENCY

CPU cores ÷ 4

Parallel transcription workers

B24_WHISPER_MODEL

large-v3

Whisper model name/size

B24_WHISPER_COMPUTE

int8

ctranslate2 compute type

B24_WHISPER_LANG

ru

Language hint; empty = autodetect

Fast tier — one venv

bitrix24_call_transcribe_fast runs GigaAM v2, a Russian-only RNNT model (~5× real-time on CPU, never hallucinates; raw lowercase output). It needs a Python environment with gigaam — GigaAM requires Python < 3.13 (which pins a compatible torch) and shells out to the ffmpeg binary, so ffmpeg must be on PATH:

brew install ffmpeg            # or your platform's package manager
python3.12 -m venv ~/.venvs/b24-giga
~/.venvs/b24-giga/bin/pip install gigaam soundfile
export B24_FAST_PYTHON=~/.venvs/b24-giga/bin/python

Max tier — heavy venv + HuggingFace token

bitrix24_call_transcribe_max runs GigaAM + Whisper (with anti-hallucination settings and domain hotwords) + pyannote speaker diarization, and returns both transcripts plus speaker-tagged segments for the calling model to reconcile. It needs everything from the fast tier plus faster-whisper and pyannote.audio in one environment, and a HuggingFace token whose account has accepted the gated model terms at pyannote/speaker-diarization-community-1 and pyannote/segmentation-3.0:

brew install ffmpeg            # or your platform's package manager
python3.12 -m venv ~/.venvs/b24-max
~/.venvs/b24-max/bin/pip install gigaam soundfile faster-whisper pyannote.audio
export B24_MAX_PYTHON=~/.venvs/b24-max/bin/python
export HF_TOKEN=hf_...         # or B24_HF_TOKEN

B24_FAST_SCRIPT / B24_MAX_SCRIPT override the bundled scripts/transcribe_fast.py / scripts/transcribe_max.py. Models for all tiers download lazily into ~/.cache/huggingface on first use.

If a tier's environment is missing, its tool returns a clear, actionable error (error_type: missing_deps / missing_hf_token / model_not_approved) and the rest of the server is unaffected.

Claude Code Integration

Create a start.sh script:

#!/bin/sh
export BITRIX24_WEBHOOK_URL="https://your-domain.bitrix24.ru/rest/USER_ID/SECRET/"
cd /path/to/bitrix24-mcp-server
exec npx tsx src/index.ts
chmod +x start.sh

Add to your project's .mcp.json:

{
  "mcpServers": {
    "bitrix24": {
      "command": "/path/to/bitrix24-mcp-server/start.sh",
      "args": []
    }
  }
}

Option B: Direct command

{
  "mcpServers": {
    "bitrix24": {
      "command": "npx",
      "args": ["tsx", "src/index.ts"],
      "cwd": "/path/to/bitrix24-mcp-server",
      "env": {
        "BITRIX24_WEBHOOK_URL": "https://your-domain.bitrix24.ru/rest/USER_ID/SECRET/"
      }
    }
  }
}

Note: Option B depends on the MCP client correctly passing env and resolving npx from PATH. If it doesn't connect, use Option A.

Receiving new chat messages

The server is also a Claude Code channel: it can push new messages from subscribed chats into a running session, where new messages, edits and reactions arrive as <channel source="bitrix24" event="…" dialog_id="…" chat_title="…"> events. The session subscribes to the chats its work depends on and decides what each event calls for, from telling you to replying in the chat. While Claude is busy, events queue and arrive together on its next turn.

Custom channels are a Claude Code research preview, so the session has to be started with the development flag, naming the server key from your .mcp.json:

claude --dangerously-load-development-channels server:bitrix24

Claude Code shows a warning dialog on every such launch. The flag is ignored in non-interactive mode (-p), and without it Claude Code drops the events silently, which the server cannot detect. Each new subscription therefore sends an event="subscribed" event at once, and the server's instructions tell the session to keep checking the chat itself until a bitrix24 event has reached it.

Subscribe from the session with bitrix24_im_watch_subscribe, or list dialogs to watch from startup:

Var

Default

Purpose

B24_WATCH_DIALOGS

—

Comma-separated dialog ids to subscribe to at startup, e.g. chat123,8

B24_WATCH_INTERVAL_SEC

30

Poll interval per pass, 5 to 3600

The server polls im.dialog.messages.get only while at least one dialog is subscribed, and skips messages written by the webhook owner. Edits, deletions and reactions on a chat's latest 50 messages arrive as event="changes" events. Reactions on the owner's own messages are reported, and the owner's own edits and reactions are skipped. Subscriptions live as long as the server process, so they end with the session.

Verify

After restarting Claude Code, run /mcp to confirm the server is connected. You should see 46 tools, or 50 if the Knowledge Base token is configured.

Development

npm run typecheck    # type-check without emitting
npm test             # regression tests (node:test via tsx, no live Bitrix)
npm run build        # compile to dist/
npm run inspect      # open MCP Inspector UI

CI runs the type-check, build and tests on Node 24 and 26 for pushes and pull requests.

Dependency updates

Dependabot proposes npm and GitHub Actions updates weekly, and only for releases at least 7 days old, or 30 days for an npm major version, so a compromised release has time to be caught and pulled before it is offered. A daily workflow merges a Dependabot pull request once both CI jobs passed on its head commit. Security updates are the exception GitHub allows no cooldown for: the workflow holds one back until each npm release it updates is 3 days old. Those merges rely on the pull request's own CI, since a merge made by the workflow token starts no CI run on master. A merge to master does not reach the terrty agents until the deploy steps below are run.

Deploying to the terrty agent host

The agent containers there launch the server as node /opt/b24-mcp/dist/index.js, the compiled output, not tsx src/. dist/ is gitignored, so a git pull alone ships nothing: the running agents keep the old behaviour and give no sign of it.

ssh terrty 'cd ~/bitrix24-mcp-server && git pull --ff-only origin master && npm install && npm run build'
ssh terrty 'for c in $(docker ps --filter name=fg-agent- --format "{{.Names}}"); do docker restart -t 30 "$c"; done'

The containers mount the whole checkout, node_modules included, so a dependency update needs the npm install step or the agents keep the old packages.

The restart matters because the server is spawned over stdio by a long-lived agent session, so an already-running child keeps executing the old bundle until its parent restarts. Verify against a known record rather than trusting the build, for example a lead whose email carries a named attachment.

Caught 2026-07-28: the attachment-resolution change was pulled but not built, so dist/attachments.js did not exist and the agents ran the previous version for hours.

Testing manually

echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | \
  BITRIX24_WEBHOOK_URL="https://..." npx tsx src/index.ts

Architecture

src/
  index.ts            # entry point, auth, stdio transport, channel capability
  chat-watch.ts       # chat subscriptions: polls dialogs, pushes new messages as channel events
  bitrix-client.ts    # REST client with rate limiting (2 req/s) and pagination
  kb-client.ts        # IT-Solution KB API client (optional, activated by token)
  types.ts            # helpers (textResult, errorResult, zId, status/priority maps)
  tools/
    index.ts          # registers all tool modules
    tasks.ts          # tasks.task.* CRUD
    task-comments.ts  # task.commentitem.*
    task-checklist.ts # task.checklistitem.*
    task-stages.ts    # task.stages.*
    crm-deals.ts      # crm.deal.*
    crm-contacts.ts   # crm.contact.*
    crm-leads.ts      # crm.lead.*
    users.ts          # user.*
    workgroups.ts     # sonet_group.*
    im-chat.ts        # im.chat.*
    kb-articles.ts    # IT-Solution KB: article.*, directory.*, gpt.ask

Bitrix24 API Notes

  • Rate limit: 2 requests/second for webhooks (enforced by the client's request queue)

  • Pagination: 50 items per page; callList() fetches all pages up to a configurable max

  • Tasks API uses camelCase field names; CRM API uses UPPER_CASE

  • Batch API (batch() method) executes up to 50 sub-requests in a single rate-limited call

Extending

Add a new tool module:

  1. Create src/tools/my-entity.ts exporting registerMyEntityTools(server, client)

  2. Import and call it in src/tools/index.ts

  3. Use client.call() for single requests, client.callList() for paginated lists

  4. Wrap handlers in try/catch → errorResult(e)

  5. Validate IDs with zId from types.ts

Licence

MIT

Available Tools

43 tools
bitrix24_call_transcribeA

Transcribe a CRM call recording LOCALLY and fully offline (audio never leaves the machine). Resolves the call's recording (Voximplant/Mango RECORD_FILE_ID), downloads it, and decodes it with local Whisper large-v3 (strong Russian). Works out of the box — the MCP auto-bootstraps its own Python venv + model on first use (first call is slow: it downloads the ~3 GB model). A bounded worker pool serves calls, so firing hundreds at once just queues and drains N-at-a-time. This does NOT write anything to Bitrix — it only returns the transcript. To store it, the caller saves it with bitrix24_crm_timeline_note_save. Returns {text, segments, responsibleId, direction}: raw, unlabelled segments (Whisper splits by pause, not by speaker). For «who-said-what» labels the calling model decides — it has responsibleId (the manager) here and the client's name on the lead. Substitutes for Bitrix's UI-only call transcription/BitrixGPT scoring, which is NOT in the REST API. NOTE: phone audio is 8 kHz mono (mixed-speaker), so expect substance-accurate but imperfect text.

Inputs: activityId (required).

bitrix24_call_transcribe_fastA

FAST transcription of a CRM call — the quickest, cheapest tier. Runs a SINGLE local model, GigaAM v2 (Russian-native RNNT): ~5x real-time on CPU, never hallucinates, gets Russian domain terms right. Trade-off vs the default bitrix24_call_transcribe (Whisper): raw lowercase, minimal punctuation, NO speaker labels. Use it when you want the gist fast/cheap and don't need Whisper's punctuation or the max tier's dual-transcript + diarization. The three tiers: fast = GigaAM only (this) · default = Whisper large-v3 (slower, punctuated, readable) · max = both + diarization reconciled (best, slowest). Audio is decoded LOCALLY (never leaves the machine). Returns {text, engine, responsibleId, direction}; brand names auto-normalised (вилюкс → Velux). REQUIRES a Python env (gigaam + soundfile + torch) at B24_FAST_PYTHON — if missing, returns a clear error (error_type: missing_deps). Does NOT write to Bitrix; save with bitrix24_crm_timeline_note_save.

Inputs: activityId (required).

bitrix24_call_transcribe_maxA

MAX-quality transcription of a CRM call — the highest-fidelity pipeline, for when the basic bitrix24_call_transcribe isn't good enough. Runs THREE local models on the recording and returns the raw materials for you (the calling model) to reconcile into one clean transcript: • GigaAM v2 — Russian-native, never hallucinates, gets domain terms right (the reliable backbone) • Whisper large-v3 with condition_on_previous_text=False + domain hotwords — punctuation + proper nouns • pyannote diarization — speaker turns (who spoke when) Returns {whisper_text, gigaam_text, segments:[{start,speaker,text}], speakers, reconcile_hint}. YOU reconcile: keep Whisper for punctuation/proper-nouns, trust GigaAM where Whisper diverges into non-Russian garbage (hallucination), assign Менеджер/Клиент per speaker from content, fix diarization flips — then save with bitrix24_crm_timeline_note_save. Brand names are auto-normalised (V-LUX / вилюкс → Velux, etc.). REQUIRES: a heavy Python env (faster-whisper + gigaam + pyannote.audio + torch) at B24_MAX_PYTHON, and an HF token (env HF_TOKEN or B24_HF_TOKEN) whose account has accepted the pyannote gated-model terms. If any of that is missing the tool returns a clear, actionable error (error_type: missing_hf_token | missing_deps | model_not_approved) — fix that, then retry. Slower than basic (three models, no pooling).

Inputs: activityId (required).

bitrix24_crm_activity_listA

List timeline activities (calls, emails, SMS, meetings) on a CRM lead/deal/contact/company. Use this to see a lead's call log: each phone call is one activity. Key fields: TYPE_ID (2=call, 4=email, 6=SMS, 1=meeting, 3=task), PROVIDER_TYPE_ID ('CALL' for phone), DIRECTION (1=incoming, 2=outgoing), START_TIME/END_TIME (subtract for duration), RESPONSIBLE_ID (the manager). FILES are ATTACHMENTS, not just call recordings: on an email activity they are the documents that were sent or received (счёт, спецификация, смета, КП, договор, ТЗ, чертежи). Raw Bitrix returns them as bare {id, url} with no name, so this tool resolves each one and adds name/size/kind plus a per-activity FILES_SUMMARY {documents, document_names, call_recordings, signature_images, images, other}. ALWAYS read FILES_SUMMARY.document_names before concluding that a manager sent no calculation, no price or no КП — the price is routinely in the attached PDF while the email body says only «направляю расчёт». Inline Outlook signature logos (image001.png and similar) are classified as signature_image and carry no meaning. CALL TRANSCRIPTS: the activity record itself has no transcript field (DESCRIPTION/PROVIDER_DATA are empty on calls, and Bitrix's own BitrixGPT call scoring is UI-only), but this portal runs a local speech-to-text pipeline that writes finished transcripts into the call's TIMELINE NOTE. So a missing transcript here does NOT mean there is none: check bitrix24_crm_timeline_note_get (itemId = the call activity ID) before concluding anything about a call, then fall back to bitrix24_crm_timeline_comment_list. Coverage of the note pipeline is partial (~16% of call activities, skewed to longer calls), so an absent note is not evidence that no conversation happened. For call duration/direction/recording-file-id use bitrix24_voximplant_statistic_get, which is authoritative over anything written in a note header.

Inputs: ownerId (required), ownerType (required), limit, order, +3 more.

bitrix24_crm_contact_getB

Get a single CRM contact by ID

Inputs: contactId (required).

bitrix24_crm_contact_listB

List and filter CRM contacts

Inputs: limit, order, filter, select.

bitrix24_crm_deal_getA

Get a single CRM deal by ID

Inputs: dealId (required).

bitrix24_crm_deal_listB

List and filter CRM deals

Inputs: limit, order, filter, select.

bitrix24_crm_lead_getB

Get a single CRM lead by ID

Inputs: leadId (required).

bitrix24_crm_lead_listC

List and filter CRM leads

Inputs: limit, order, filter, select.

bitrix24_crm_timeline_comment_listA

List manual timeline comments (manager notes) on a CRM lead/deal/contact/company. These are the free-text notes a manager types into the entity timeline — separate from activities (calls/emails). Returns COMMENT (the note text), AUTHOR_ID (who wrote it), CREATED. Useful for reviewing what a manager recorded about a deal beyond the structured fields.

Inputs: ownerId (required), ownerType (required), limit, order.

bitrix24_crm_timeline_note_getA

Read the «заметка» note attached to a CRM timeline item (e.g. a specific call). Returns the note text, or null if there is none. Use this before saving to check whether a note already exists (so you don't clobber a human note or a prior transcript).

Inputs: itemId (required), ownerId (required), ownerType (required), itemType.

bitrix24_crm_timeline_note_saveA

Save the «заметка» note on a CRM timeline item (e.g. the note on a specific call, so it appears at the call, not as a loose lead comment). A timeline item has exactly ONE note — saving REPLACES it. Anti-clobber safeguard: in the default mode='create', if a note already exists this does NOT overwrite it — it writes your text to a local draft file and returns the existing note plus a recommendation, so the calling model can decide. Re-call with mode='replace' to overwrite, or mode='append' to keep both (existing + a separator + new).

Inputs: text (required), itemId (required), ownerId (required), ownerType (required), +2 more.

bitrix24_im_chat_listA

List IM chats the current user participates in. Returns recent conversations sorted by last activity. Use to discover chat IDs for reading messages.

Inputs: type, limit.

bitrix24_im_chat_messagesA

Read messages from a Bitrix24 IM chat. Use for reading task chats, group chats, or 1-on-1 dialogs. For task chats, the DIALOG_ID is 'chatNNN' where NNN is the task's chatId field. Messages with attachments carry a 'files' array (fileId, name, type, dimensions); image attachments are inlined as viewable images by default so you see what a human reading the chat sees. Non-image files and over-sized images are listed by metadata — fetch them with bitrix24_im_file_get. ⚠️ TEXT FIELDS: 'text' is the display-rendered form with BBCode/HTML stripped — it is LOSSY. A message containing [URL=https://…]#146426[/URL] comes back as bare '#146426', and [USER=…] mentions and [B]bold[/B] are flattened the same way. When the original markup exists, the message also carries 'textRaw' with it intact. NEVER rebuild a message for bitrix24_im_message_update from 'text' — you will silently destroy every link, mention and format in it (caught 2026-07-24: an edited ads report lost all 8 CRM deep links). Edit from 'textRaw', or re-author the BBCode explicitly.

Inputs: dialogId (required), limit, firstId, maxImages, +1 more.

bitrix24_im_file_getA

Fetch a single file attached to a Bitrix24 chat message by its fileId (from bitrix24_im_chat_messages files[].fileId). Images are returned as viewable image content; other file types return metadata plus a webhook-authenticated download URL. Use this for attachments bitrix24_im_chat_messages didn't inline (non-images, or images past the inline size/count cap).

Inputs: fileId (required).

bitrix24_im_message_deleteA

Delete a message from a Bitrix24 IM chat (including task chats). Pass the numeric message ID as returned by bitrix24_im_chat_messages or bitrix24_task_comment_list. Only the message author or admins can delete.

Inputs: messageId (required).

bitrix24_im_message_sendA

Send a NEW Bitrix24 IM message. Use this to message a person privately (1-on-1) or post into a group/task chat — it's the send counterpart to bitrix24_im_message_update (edit) and bitrix24_im_message_delete. The message is sent under the webhook owner's identity. For a PRIVATE 1-on-1 message pass the recipient's numeric user ID as dialogId (e.g. '8' for Aleksandr); for a group/task chat pass 'chatNNN'. Returns the new message ID (reuse it with update/delete). FORMATTING — plain text + BBCode only; Bitrix does NOT parse Markdown (bold, backticks, # headings render literally). Supported: [B]bold[/B], [I]italic[/I], [U]under[/U], [S]strike[/S], [URL=...]text[/URL], [USER=ID]Name[/USER] mentions. For bullet lists put a literal • at the line start — []/[LIST] do NOT render in chat (they show as literal «[]»); no tag exists for inline code/filename, wrap in «…». When attaching a file to a chat (the disk im.disk.file.commit MESSAGE caption), keep the caption to ONE short line and post any long explanation as a SEPARATE following message — captions render in an oversized font, so a multi-paragraph caption becomes a wall of text. To post a comment onto a TASK specifically, prefer bitrix24_task_comment_add (it also shows in the task comment section). DISCLOSURE — the message text MUST end with a final line, on its own, reading exactly «(написано агентом)»: it posts under the human owner's account but is agent-written, and this line discloses that to the reader (owner rule, favor-group).

Inputs: text (required), dialogId (required).

bitrix24_im_message_updateA

Edit the text of a Bitrix24 IM chat message (including task chats). Pass the numeric message ID and the new text. Only the message author can edit. Same formatting rules as bitrix24_im_message_send: plain text + BBCode only (no Markdown), bullet lines start with a literal • (not [*]). Keep the «(написано агентом)» disclosure line as the final line of the edited text (owner rule, favor-group). ⚠️ The text you pass REPLACES the message wholesale — there is no merge. If you are editing an existing message, build the new text from that message's 'textRaw' (bitrix24_im_chat_messages), NOT from its 'text', which has BBCode stripped: round-tripping 'text' silently deletes every [URL=…] deep link, [USER=…] mention and [B]bold[/B]. Re-emit CRM references in full BBCode, e.g. [URL=https://fs-group.bitrix24.ru/crm/lead/details/NNNNN/]#NNNNN[/URL].

Inputs: text (required), messageId (required).

bitrix24_im_post_fileA

Post local file(s) of ANY type into a Bitrix24 chat — .txt/.docx/.pdf/.zip/images alike — in a group/workgroup/project chat, a task chat, or a 1-on-1. This is the attachment counterpart to bitrix24_im_message_send (which is text-only) and the chat equivalent of bitrix24_task_attach_file / bitrix24_task_post_image (which only post into a TASK). IMAGES additionally render INLINE as a preview thumbnail; every other type posts as a normal downloadable file message with the caption — so use this whenever a file has to reach a chat, not just for pictures. Under the hood it uploads each file into the CHAT'S OWN disk folder and commits it (im.disk.folder.get → disk.folder.uploadfile → im.disk.file.commit) — the native-client flow, so every chat member can see it regardless of shared-folder permissions. One SEPARATE message is posted per file (Bitrix renders multiple images stacked in a single message with broken placeholders), and the same message caption is reused on each; for distinct captions call once per file. CAPTION RULE — the file-commit caption renders in an OVERSIZED font, so keep it to ONE short line and post any long explanation as a separate bitrix24_im_message_send message. Returns an array of the created message IDs. Same disclosure convention as bitrix24_im_message_send applies to any accompanying text message. ALWAYS prefer this over hand-rolling the upload with curl: it uses a proper multipart encoder, so filenames containing commas, spaces or Cyrillic are handled correctly, whereas curl -F 'file=@x;filename=a, b.txt' treats the comma as a multi-file separator and dies with «curl: (26) Failed to open/read local data» (caught 2026-07-24).

Inputs: dialogId (required), filePaths (required), message.

bitrix24_task_attach_fileA

Attach a local file (docx, pdf, image, anything) to a Bitrix24 task. Use this for delivering briefs, reports, signed-off specs — anything that should land as a downloadable attachment in the task's Files tab. The file shows as « добавил файл» in chat but WITHOUT an image thumbnail/preview even for PNG/JPG (chat just shows filename). For screenshots / images you want INLINE-PREVIEWED in chat, use bitrix24_task_post_image instead — that posts a proper chat message with IMAGE attachment blocks that render as thumbnails. Stays linked to UF_TASK_WEBDAV_FILES. SAFE: existing attachments are preserved (read-merge-write); your file is appended, not replaced. Two-step under the hood: disk.folder.uploadfile → multipart POST → tasks.task.update with the merged UF_TASK_WEBDAV_FILES list (each id encoded as 'n').

Inputs: taskId (required), filePath (required), fileName, folderId.

bitrix24_task_checklist_addB

Add a checklist item to a Bitrix24 task

Inputs: title (required), taskId (required).

bitrix24_task_checklist_completeB

Mark a checklist item as complete

Inputs: itemId (required), taskId (required).

bitrix24_task_checklist_listB

List checklist items for a Bitrix24 task

Inputs: taskId (required).

bitrix24_task_comment_addA

Add a comment to a Bitrix24 task. Uses legacy forum API which posts to both the task chat and the comment section. The message will appear in the task's IM chat for all participants. RETURNS the comment ID (numeric) — keep it: the same ID can later be passed to bitrix24_task_comment_update to edit, bitrix24_task_comment_delete to remove, or bitrix24_im_message_update/bitrix24_im_message_delete (same underlying message). To ATTACH A FILE to the task (docx brief, screenshot, pdf, etc.), do NOT try to inline it in the comment — use bitrix24_task_attach_file separately. Typical pattern: (1) attach the file, then (2) post a short comment referencing the attached file name. Comment text supports BBCode but NOT Markdown (backticks render literally, ** doesn't bold). Use [B]…[/B], [I]…[/I], [URL=…]…[/URL], [USER=ID]Name[/USER] for mentions. For bullet lists in a COMMENT put a literal • at the line start — []/[LIST] render literally («[]») in comments (they only format inside task DESCRIPTIONS, not comments). DISCLOSURE — the comment text MUST end with a final line, on its own, reading exactly «(написано агентом)»: it posts under the human owner's account but is agent-written (owner rule, favor-group).

Inputs: text (required), taskId (required).

bitrix24_task_comment_deleteA

Delete a Bitrix24 task comment by ID. Pass the comment ID returned by bitrix24_task_comment_add. The deleted comment is replaced by a «Это сообщение было удалено» placeholder in the task chat. Only the author or admins can delete. Internally calls im.message.delete (same reason as comment_update — direct task.commentitem.delete is action-not-allowed via webhook scope).

Inputs: commentId (required).

bitrix24_task_comment_listA

Read task chat messages (modern B24). In current Bitrix24, all task discussion happens in the task's IM chat (right panel). Legacy forum comments (left panel) are deprecated. This tool reads from IM chat first, falls back to forum comments for old tasks.

Inputs: taskId (required), limit.

bitrix24_task_comment_updateA

Edit the text of an existing Bitrix24 task comment. Pass the comment ID returned by bitrix24_task_comment_add (it equals the IM message ID — task comments mirror 1:1 to the task's IM chat). Use this instead of posting a follow-up «UPD:» comment when you need to correct an earlier message. Only the comment's author can edit. Note: task.commentitem.update direct REST returns ACTION_NOT_ALLOWED for typical webhook scopes, so this tool internally calls im.message.update which works.

Inputs: text (required), commentId (required).

bitrix24_task_completeB

Mark a Bitrix24 task as completed

Inputs: taskId (required).

bitrix24_task_createB

Create a new Bitrix24 task

Inputs: title (required), responsibleId (required), tags, groupId, +7 more.

bitrix24_task_deferC

Defer a Bitrix24 task

Inputs: taskId (required).

bitrix24_task_getA

Get a single Bitrix24 task by ID with full details

Inputs: taskId (required).

bitrix24_task_listB

List and filter Bitrix24 tasks. Filter by status, responsible user, workgroup, etc.

Inputs: limit, order, filter, select.

bitrix24_task_post_imageA

Post chat message(s) to a Bitrix24 task with images that render INLINE as thumbnails (not just filename links). Use this for screenshots, design mockups, photo evidence — anything where the reader should see the image without clicking through. Each local file path is uploaded to disk, then a SEPARATE chat message is posted per image (Bitrix renders multi-image single-messages with broken second-image placeholders — verified 2026-05-19). The same message caption is reused on each image's message; if you want per-image captions, call this tool once per image with a distinct message. Returns array of IM message IDs (one per image). Files are saved to B24 disk (folder 732896 by default) so they're permanently accessible, but NOT added to UF_TASK_WEBDAV_FILES — for that, use bitrix24_task_attach_file separately.

Inputs: taskId (required), message (required), filePaths (required), folderId.

bitrix24_task_stage_moveB

Move a task to a different Kanban stage

Inputs: taskId (required), stageId (required).

bitrix24_task_stages_listA

List Kanban stages for a workgroup/project (entityId=0 for personal Kanban)

Inputs: entityId (required).

bitrix24_task_startA

Start working on a Bitrix24 task (set status to In Progress)

Inputs: taskId (required).

bitrix24_task_updateB

Update an existing Bitrix24 task

Inputs: fields (required), taskId (required).

bitrix24_user_getB

Get Bitrix24 user(s) by ID or filter

Inputs: filter, userId.

bitrix24_voximplant_statistic_getA

Get telephony call statistics (Mango Office / Voximplant) — one row per call. Filter by CRM_ENTITY_ID (the lead/deal id), CRM_ACTIVITY_ID, CALL_ID, or PORTAL_USER_ID. Key fields: CALL_DURATION (seconds), CALL_TYPE (1=outbound, 2=inbound), CALL_START_DATE, PHONE_NUMBER, PORTAL_USER_ID (the manager), RECORD_FILE_ID (the audio recording's disk file id, null if not recorded), CALL_FAILED_CODE (200=answered, 304=missed), CALL_VOTE, REST_APP_NAME (the telephony connector). TRANSCRIPT_ID / TRANSCRIPT_PENDING stay null/'N' on this portal (re-verified 2026-07-28 across the 50 most recent calls): Bitrix's own transcription and BitrixGPT scoring are UI-only CoPilot features, not exposed via REST. To understand a call, first check the local pipeline's transcript in the timeline note (bitrix24_crm_timeline_note_get, itemId = CRM_ACTIVITY_ID); only if there is none, download the recording (RECORD_FILE_ID) and transcribe it with bitrix24_call_transcribe. This method is the authority on direction and duration — a note header that disagrees is wrong.

Inputs: sort, limit, filter, sortOrder.

bitrix24_workgroup_listC

List Bitrix24 workgroups and projects

Inputs: filter.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 43 tools

    Disambiguation5/5

    Every tool has a clear, distinct purpose with detailed descriptions that differentiate overlapping operations (e.g., attach_file vs post_image vs im_post_file). No ambiguity exists among the 43 tools.

    Naming Consistency5/5

    All tools follow a consistent 'bitrix24_<resource>_<action>' pattern, using snake_case throughout. The naming is predictable and uniform across all resources.

    Tool Count4/5

    43 tools is on the high side, but it covers a broad domain (tasks, CRM, telephony, IM) and each tool has a specific role. A few transcription tools are redundant but serve different quality tiers.

    Completeness2/5

    Significant gaps exist: CRM entities (deals, contacts, leads) lack create, update, and delete operations. IM chat creation and user management are missing. This will cause agent failures when full lifecycle operations are needed.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables language models to interact with Bitrix24 CRM, providing tools to manage deals, leads, contacts, tasks, activities, users, files, chat messages, and live chat sessions.
      1
      -
    • A
      license
      C
      quality
      C
      maintenance
      Enables Claude to connect to a Bitrix24 portal through an incoming webhook and manage CRM records, tasks, disk files, calendar events, chat messages, business processes, and more via natural language.
      41
      MIT