home / mcp / bitrix24 mcp server
Provides a Bitrix24 CRM MCP server exposing actions to manage contacts, deals, tasks, leads, and more via MCP clients.
Configuration
View docs{
"mcpServers": {
"artemfilin1990-bitrix24-mcp-server1": {
"command": "node",
"args": [
"/path/to/your/bitrix24-mcp-server/build/index.js"
],
"env": {
"BITRIX24_WEBHOOK_URL": "YOUR_WEBHOOK_URL"
}
}
}
}This MCP Server provides a complete Bitrix24 CRM integration, exposing a powerful set of tools that let you manage contacts, deals, tasks, leads, and more from AI agents. It includes type-safe TypeScript definitions, robust error handling, and built-in rate limiting to respect Bitrix24 API limits, enabling seamless automation and data synchronization with your Bitrix24 instance.
You connect an MCP-compatible client to the Bitrix24 MCP Server to perform CRM actions through natural language prompts. Use the available tools to create, read, update, and list CRM entities such as contacts, deals, tasks, leads, and companies. You can also search across CRM data, resolve user names for IDs, and monitor sales activities from your agent.
Prerequisites you need before installing: Node.js 18 or newer, npm or yarn, and a Bitrix24 webhook URL.
Step by step install and run flow you can follow exactly as written here.
# 1. Clone and install dependencies
git clone <repository-url>
cd bitrix24-mcp-server
npm install
# 2. Configure environment
cp .env.example .env
# Edit .env to set BITRIX24_WEBHOOK_URL
```
```bash
# 3. Build the project
npm run build
```
```bash
# 4. Start the server (stdio/MCP)
npm start
```
```bash
# 5. Test the connection
npm testThe server reads configuration from environment variables. At a minimum, you provide your Bitrix24 webhook URL to enable API access.
If you are using Claude Desktop or another MCP client, configure the MCP endpoint to point to the local server process started with npm start. A recommended client configuration is provided in the Claude Desktop integration section.
Keep your webhook URL secure and rotate it periodically. Do not commit .env files to version control. The server includes rate limiting to prevent exceeding Bitrix24 API limits and masks sensitive information in error messages to avoid disclosure.
Create a new contact in Bitrix24 with provided details such as name, email, and phone.
Retrieve a contact by its ID from Bitrix24.
List contacts with optional filtering and pagination.
Update an existing contact's fields in Bitrix24.
Create a new deal in Bitrix24 and optionally link it to a contact or company.
Retrieve a deal by its ID from Bitrix24.
List deals with filtering options such as pipeline or stage.
Update an existing deal in Bitrix24.
Create a new task in Bitrix24 and assign it to relevant entities.
Retrieve a task by its ID.
List tasks with filtering options.
Update an existing task.
Fetch user information by user ID.
Retrieve all users with names and details.
Resolve user IDs to human-friendly names.
Get contacts with resolved user names.
Get deals with resolved user names.
Get leads with resolved user names.
Get companies with resolved user names.
Create a new lead in Bitrix24.
Retrieve a lead by ID.
List leads with filtering options.
Get most recent leads.
Get leads within a specific date range.
Update an existing lead.
Create a new company in Bitrix24.
Retrieve a company by ID.
List companies with filtering.
Get most recent companies.
Get companies from a specific date range.
Update an existing company.
Get all deal pipelines and categories.
Get deal stages for pipelines.
Filter deals by pipeline.
Filter deals by budget range.
Filter deals by stage or status.
Search across CRM entities using a query.
Get current authenticated user information.
Validate that the webhook connection is properly configured.
Diagnose webhook permissions for the connected user.
Check CRM settings and configuration for consistency.
Test leads API endpoints for basic functionality.
Monitor user activities such as calls and messages.
Get comprehensive performance metrics for a user.
Analyze performance for specific Bitrix24 accounts.
Compare performance metrics between multiple users.
Track a dealβs progression through pipeline stages.
Monitor sales activities including tasks and meetings.
Generate customizable sales reports.
Get real-time team performance dashboard.
Analyze engagement patterns and relationship health.
Generate performance forecasts and predictive analytics.