Get the FREE Ultimate OpenClaw Setup Guide →

Bitrix24_MCP_Server

MCP Сервер для работы с Битрикс24 через LLM

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio oneatdrt-bitrix24_mcp_server node mcp-server.js \
  --env PORT="3000 (default, can be overridden by environment)" \
  --env LOG_LEVEL="info" \
  --env BITRIX_DOMAIN="your-domain.bitrix24.ru" \
  --env BITRIX_WEBHOOK_TOKEN="your-webhook-token"

How to use

This MCP server acts as an intermediary between a language model and the Bitrix24 REST API. It exposes a set of MCP tools (instruments) organized by Bitrix24 entity groups such as Leads, Deals, Contacts, Tasks, Users, Activities and more. Each instrument corresponds to a specific API operation (e.g., getLeads, createDeal, updateLead) and returns data in a structured, client-friendly format. The MCP server is designed to be run via a Node.js runtime and communicates with the language model through standard input/output, enabling seamless tool invocation by the model in a chat or analysis workflow.

How to install

Prerequisites:

  • Node.js 14+ installed on your system
  • npm 6+ (comes with Node.js installation)
  • Access to a Bitrix24 instance with a configured webhook

Step-by-step:

  1. Clone the repository: git clone https://github.com/your-username/bitrix24-mcp-server.git cd bitrix24-mcp-server

  2. Install dependencies: npm install

  3. Create and configure environment variables. Create a .env file in the project root (example): PORT=3000 BITRIX_DOMAIN=your-domain.bitrix24.ru BITRIX_WEBHOOK_TOKEN=your-webhook-token LOG_LEVEL=info

  4. Start the MCP server: npm start

If you prefer running directly with Node (without npm script): node mcp-server.js

Prerequisites recap: ensure your Bitrix24 domain is reachable from the server, and that the webhook token used by the MCP server has the necessary permissions to read/write the required Bitrix24 data.

Additional notes

Tips:

  • Secure the webhook token and store it in a safe vault or environment management system. Do not hard-code sensitive credentials.
  • If you run behind a proxy or in a containerized environment, ensure proper CORS configuration and allowed origins for frontend apps.
  • The MCP server logs requests and responses; adjust LOG_LEVEL in the .env file to control verbosity.
  • Common issues include network connectivity to Bitrix24, invalid domain, or expired webhook tokens. Check the Bitrix24 webhook configuration and token validity if you see authentication errors (401/403).
  • To extend functionality, you can add or modify instruments within the mcp-server.js and related modules to cover additional Bitrix24 endpoints or custom business logic.

Related MCP Servers

Sponsor this space

Reach thousands of developers