Bitrix24
About
Interact with and manage your Bitrix24 CRM instance through a powerful set of tools.
Details
- Author
- gunnit
- Categories
- Productivity, Other, Communication, Project Management
Jump to
Setup
Install Bitrix24 in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/gunnit/bitrix24-mcp-server
Follow the installation instructions in the repository README, then restart your MCP client.
A comprehensive Model Context Protocol (MCP) server for Bitrix24 CRM integration, enabling AI agents to seamlessly interact with your Bitrix24 instance through a powerful set of tools.
- Complete CRM Management: Create, read, update, and list contacts, deals, and tasks
- Advanced Search: Search across all CRM entities with flexible filtering
- Rate Limiting: Built-in rate limiting to respect Bitrix24 API limits
- Type Safety: Full TypeScript implementation with comprehensive type definitions
- Error Handling: Robust error handling and validation
- Easy Integration: Simple setup with Claude Desktop and other MCP-compatible clients
- bitrix24_create_contact- Create new contacts
- bitrix24_get_contact- Retrieve contact by ID
- bitrix24_list_contacts- List contacts with filtering
- bitrix24_update_contact- Update existing contacts
- bitrix24_create_deal- Create new deals
- bitrix24_get_deal- Retrieve deal by ID
- bitrix24_list_deals- List deals with filtering
- bitrix24_update_deal- Update existing deals
- bitrix24_create_task- Create new tasks
- bitrix24_get_task- Retrieve task by ID
- bitrix24_list_tasks- List tasks with filtering
- bitrix24_update_task- Update existing tasks
- bitrix24_get_user- Get user information by ID
- bitrix24_get_all_users- Get all users in the system with names and details
- bitrix24_resolve_user_names- Resolve user IDs to user names
- bitrix24_get_contacts_with_user_names- Get contacts with user names resolved
- bitrix24_get_deals_with_user_names- Get deals with user names resolved
- bitrix24_get_leads_with_user_names- Get leads with user names resolved
- bitrix24_get_companies_with_user_names- Get companies with user names resolved
- bitrix24_create_lead- Create new leads
- bitrix24_get_lead- Retrieve lead by ID
- bitrix24_list_leads- List leads with filtering
- bitrix24_get_latest_leads- Get most recent leads
- bitrix24_get_leads_from_date_range- Get leads from specific date range
- bitrix24_update_lead- Update existing leads
- bitrix24_create_company- Create new companies
- bitrix24_get_company- Retrieve company by ID
- bitrix24_list_companies- List companies with filtering
- bitrix24_get_latest_companies- Get most recent companies
- bitrix24_get_companies_from_date_range- Get companies from specific date range
- bitrix24_update_company- Update existing companies
- bitrix24_get_deal_pipelines- Get all deal pipelines/categories
- bitrix24_get_deal_stages- Get deal stages for pipelines
- bitrix24_filter_deals_by_pipeline- Filter deals by pipeline
- bitrix24_filter_deals_by_budget- Filter deals by budget range
- bitrix24_filter_deals_by_status- Filter deals by stage/status
- bitrix24_search_crm- Search across CRM entities
- bitrix24_get_current_user- Get current user info
- bitrix24_validate_webhook- Validate webhook connection
- bitrix24_diagnose_permissions- Diagnose webhook permissions
- bitrix24_check_crm_settings- Check CRM settings and configuration
- bitrix24_test_leads_api- Test leads API endpoints
- bitrix24_monitor_user_activities- Monitor user activities (calls, emails, timeline interactions, response times)
- bitrix24_get_user_performance_summary- Get comprehensive performance summary with deal metrics and conversion rates
- bitrix24_analyze_account_performance- Analyze performance for specific accounts (companies/contacts)
- bitrix24_compare_user_performance- Compare performance metrics between multiple users
- bitrix24_track_deal_progression- Track deal progression through pipeline stages with timing analysis
- bitrix24_monitor_sales_activities- Monitor sales-related activities (tasks, follow-ups, meetings)
- bitrix24_generate_sales_report- Generate comprehensive sales reports with customizable metrics
- bitrix24_get_team_dashboard- Get real-time team performance dashboard
- bitrix24_analyze_customer_engagement- Analyze customer engagement patterns and relationship health
- bitrix24_forecast_performance- Generate performance forecasts and predictive analytics
- Node.js 18+
- npm or yarn
- Bitrix24 webhook URL
git clone <repository-url> cd bitrix24-mcp-server npm install
cp .env.example .env # Edit .env with your Bitrix24 webhook URL
Create a.envfile with the following variables:
BITRIX24_WEBHOOK_URL=https://your-domain.bitrix24.com/rest/USER_ID/WEBHOOK_CODE/ NODE_ENV=development LOG_LEVEL=info
- Go to your Bitrix24 instance
- Navigate toApplications→Webhooks
- Create anIncoming webhook
- Copy the webhook URL (format:https://domain.bitrix24.com/rest/USER_ID/WEBHOOK_CODE/)
- Set appropriate permissions for CRM and Tasks
Add the following to your Claude Desktop configuration file:
macOS:~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "bitrix24": { "command": "node", "args": ["/path/to/your/bitrix24-mcp-server/build/index.js"], "env": { "BITRIX24_WEBHOOK_URL": "https://your-domain.bitrix24.com/rest/USER_ID/WEBHOOK_CODE/" } } } }
Create a new contact named John Smith with email john@example.com and phone +39 123 456 789
Create a new contact for Maria Rossi with email maria@company.com, then create a deal titled "Website Development Project" for €5000 and link it to this contact
Create a task titled "Follow up with client" with high priority, deadline tomorrow, and link it to contact ID 123
Search for all contacts and deals related to "example.com"
bitrix24-mcp-server/ ├── src/ │ ├── bitrix24/ │ │ └── client.ts # Bitrix24 API client │ ├── tools/ │ │ └── index.ts # MCP tools definitions │ ├── utils/ │ │ └── logger.ts # Logging utilities │ ├── config/ │ │ └── index.ts # Configuration management │ └── index.ts # Main MCP server ├── test/ │ └── integration.test.js # Integration tests ├── build/ # Compiled JavaScript ├── package.json ├── tsconfig.json └── README.md
# Install dependencies npm install # Build the project npm run build # Watch mode for development npm run dev # Run tests npm test # Start the server npm start
export const newTool: Tool = { name: 'bitrix24_new_action', description: 'Description of the new action', inputSchema: { type: 'object', properties: { // Define parameters }, required: ['requiredParam'] } };
case 'bitrix24_new_action': // Implementation return { success: true, result: 'Action completed' };
- Webhook Security: Keep your webhook URL secret and rotate it regularly
- Environment Variables: Never commit.envfiles to version control
- Rate Limiting: The client includes built-in rate limiting (2 requests/second)
- Error Handling: Sensitive information is not exposed in error messages
- Verify your webhook URL is correct
- Check that the webhook has appropriate permissions
- Ensure your Bitrix24 instance is accessible
- Runnpm installto install dependencies
- Ensure you've built the project withnpm run build
- The client automatically handles rate limiting
- If you see persistent rate limit errors, consider reducing request frequency
SetNODE_ENV=developmentandLOG_LEVEL=debugin your.envfile for detailed logging.
- createContact(contact: BitrixContact): Promise<string>
- getContact(id: string): Promise<BitrixContact>
- updateContact(id: string, contact: Partial<BitrixContact>): Promise<boolean>
- listContacts(params?: ListParams): Promise<BitrixContact[]>
- createDeal(deal: BitrixDeal): Promise<string>
- getDeal(id: string): Promise<BitrixDeal>
- updateDeal(id: string, deal: Partial<BitrixDeal>): Promise<boolean>
- listDeals(params?: ListParams): Promise<BitrixDeal[]>
- createTask(task: BitrixTask): Promise<string>
- getTask(id: string): Promise<BitrixTask>
- updateTask(id: string, task: Partial<BitrixTask>): Promise<boolean>
- listTasks(params?: TaskListParams): Promise<BitrixTask[]>
- getUser(userId: string): Promise<any>
- getAllUsers(): Promise<any[]>
- getUsersByIds(userIds: string[]): Promise<any[]>
- resolveUserNames(userIds: string[]): Promise<Record<string, string>>
- enhanceWithUserNames<T>(items: T[], userIdFields?: string[]): Promise<T[]>
- getCurrentUser(): Promise<any>
- searchCRM(query: string, entityTypes?: string[]): Promise<any>
- validateWebhook(): Promise<boolean>
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE file for details.
- Check the troubleshooting section
- Review Bitrix24 API documentation
- Open an issue on GitHub
Built with ❤️ for the AI automation community
The Bitrix24 MCP Server is designed to connect external systems to Bitrix24. It provides AI agents with standardized access to Bitrix24 features and data via the Model Context Protocol (MCP). The MCP server enables external AI systems to interact with Bitrix24 modules through a single standardized interface. You can connect the Bitrix24 MCP Server to the AI model you already use and manage Bitrix24 directly from it. The MCP server allows actions to be performed and data to be retrieved strictly within the access rights configured in your Bitrix24: the AI agent receives only the information and capabilities that are explicitly requested and authorized. Interaction with the Tasks module is supported (the list of supported modules and available actions is gradually expanding).
AI-native trade business management for Australian tradies. 11 MCP tools for leads, quotes, jobs, invoicing, financials, and client CRM.
An MCP server for integrating with the Planfix project management and CRM platform.
Qasper gives AI agents the tools to discover local service businesses, check availability, and book appointments in real time.
Australian trade business OS with 67 MCP tools across 23 domains — autonomous business formation, lead management, quoting, job scheduling, invoicing, crypto payments, and growth analytics for tradies.
Manage projects, time, expenses, and invoices
Projects, tasks and communication built for AI
An MCP server for integrating with Clio practice management software, tailored for Australian legal professionals.
Corcava MCP lets AI clients work with projects, tasks, time tracking, and related agency operations through Corcava's remote MCP endpoint.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





