Skip to main content

MCP server for Bitrix24 task planning - enables AI assistants to help break down tasks into subtasks

Project description

Bitrix24 MCP

A Model Context Protocol server for Bitrix24 task planning.

PyPI version Python 3.11+ License: MIT

Bitrix24 MCP enables AI assistants to help developers plan and break down tasks into subtasks in Bitrix24 Scrum.


Install using pip:

pip install bitrix24-lkp-mcp

Set your webhook URL and configure your MCP client:

{
  "mcpServers": {
    "bitrix24": {
      "command": "uvx",
      "args": ["bitrix24-lkp-mcp"],
      "env": {
        "BITRIX_WEBHOOK_URL": "https://your-domain.bitrix24.com/rest/1/token/"
      }
    }
  }
}

Features

Bitrix24 MCP provides tools for AI-assisted task planning:

  • Search tasks by title with partial matching.
  • Get full task details including description for AI analysis.
  • Create subtasks under parent tasks automatically.
  • Built-in rate limiting (respects Bitrix24's 2 req/sec limit).
  • Secure authentication via Bitrix24 inbound webhooks.

Bitrix24 MCP requires Python 3.11+.

Configuration

1. Create Bitrix24 Webhook

  1. Go to your Bitrix24 portal
  2. Navigate to Developer resourcesOtherInbound webhook
  3. Click Add inbound webhook
  4. Set permissions: tasks (Read and write tasks)
  5. Copy the webhook URL

2. Set Environment Variable

export BITRIX_WEBHOOK_URL="https://your-domain.bitrix24.com/rest/1/your-token/"

3. Configure MCP Client

Cursor - Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "bitrix24": {
      "command": "uvx",
      "args": ["bitrix24-lkp-mcp"],
      "env": {
        "BITRIX_WEBHOOK_URL": "https://your-domain.bitrix24.com/rest/1/token/"
      }
    }
  }
}

Claude Desktop - Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "bitrix24": {
      "command": "uvx",
      "args": ["bitrix24-lkp-mcp"],
      "env": {
        "BITRIX_WEBHOOK_URL": "https://your-domain.bitrix24.com/rest/1/token/"
      }
    }
  }
}

Claude Code - Add to ~/.claude.json:

{
  "mcpServers": {
    "bitrix24": {
      "command": "uvx",
      "args": ["bitrix24-lkp-mcp"],
      "env": {
        "BITRIX_WEBHOOK_URL": "https://your-domain.bitrix24.com/rest/1/token/"
      }
    }
  }
}

Codex CLI - Add to ~/.codex/config.toml:

[mcp_servers.bitrix24]
command = "uvx"
args = ["bitrix24-lkp-mcp"]
env = { "BITRIX_WEBHOOK_URL" = "https://your-domain.bitrix24.com/rest/1/token/" }

Available Tools

task_search

Search for tasks by title. Use this to find a task when user provides task name.

Parameter Type Required Description
query string Yes Task title to search for
limit int No Maximum results (default: 10)

task_get

Get detailed information about a task by ID. Returns title, description, assignee, and group.

Parameter Type Required Description
id int Yes Task ID

task_create

Create a new task or subtask. Use parentId to create a subtask under an existing task.

Parameter Type Required Description
title string Yes Task title
responsibleId int Yes Assignee user ID
description string No Task description
groupId int No Workgroup/Scrum ID
parentId int No Parent task ID (creates subtask)
deadline string No Deadline (ISO 8601)
priority int No 0=Low, 1=Medium, 2=High

user_search

Search for users by name. Use this to find a user's ID when you need to assign tasks.

Parameter Type Required Description
query string Yes User name to search for

task_list_by_user

List tasks assigned to a specific user.

Parameter Type Required Description
responsibleId int Yes User ID
status string No Filter: pending, in_progress, completed, deferred
limit int No Maximum results (default: 50)

group_get

Get workgroup/scrum details by ID.

Parameter Type Required Description
id int Yes Group ID

Example Usage

User: "Plan for task Auto Send welcome email"

AI: [Searches for task, reads description, proposes subtasks]
    
    Based on the task description, here's my proposed plan:
    1. Set up email service configuration
    2. Create welcome email template  
    3. Implement user signup event listener
    4. Implement email sending logic
    
    Ready to create these subtasks?

User: "Yes, create them"

AI: [Creates subtasks with parentId pointing to original task]
    
    Created 4 subtasks under task #456.

Contribute

See CONTRIBUTING.md for development setup and guidelines.

Dependencies

Bitrix24 MCP relies on these libraries:

  • fastmcp - MCP server framework.
  • httpx - Async HTTP client.
  • pydantic - Data validation.

License

MIT License - see LICENSE for details.


Bitrix24 MCP is MIT licensed code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitrix24_lkp_mcp-0.1.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bitrix24_lkp_mcp-0.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file bitrix24_lkp_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: bitrix24_lkp_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for bitrix24_lkp_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 715337620b408a5be929228b6b86928bbbd199fd498eea4e091b600174ff27ce
MD5 5bc2921e772cfe2698782f1824cbc906
BLAKE2b-256 6d15122146f7f58777ffae31867855833b2c5548a6b485c51f94f5309a87e075

See more details on using hashes here.

File details

Details for the file bitrix24_lkp_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bitrix24_lkp_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dccb6dd04e5de92e999d5759986b18c432a3fc60d9b80faa14d7bbb4827d0a17
MD5 bf59622cf54a3a5a0e8d097fecb1fc9e
BLAKE2b-256 d35463cbed834b1f39e4225213323f328490411564eb5d59508530f2cc59439c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page