Bitrix24 MCP-DEV

The MCP server for Bitrix24 provides AI assistants with structured access to the Bitrix24 API. It delivers up-to-date method descriptions, parameters, and valid values, allowing assistants to work with precise data instead of guesswork. This reduces code errors and accelerates Bitrix24 integration development.


title: MCP Server for Working with Bitrix24 REST API

description: 'The MCP server for Bitrix24 REST API enables ChatGPT, Claude, Copilot, and others to access the official Bitrix24 documentation and create accurate integrations and applications.'

The Model Context Protocol (MCP) for Bitrix24 is a server that allows neural networks (ChatGPT, Claude, Copilot, and other AI assistants) to access the up-to-date REST documentation of Bitrix24.

By using the MCP server, the neural network:

  • accesses the actual Bitrix24 documentation
  • does not invent REST methods
  • generates correct integration and application code

When to Use MCP

Connect the Bitrix24 MCP server if you are:

  • developing a chatbot for Bitrix24
  • creating an application or integration via REST API
  • setting up automation, an AI agent, or a no-code scenario
  • writing a chatbot for Bitrix24 using ChatGPT
  • generating Bitrix24 integration code through Claude or Copilot
  • encountering non-existent REST methods in Bitrix24 from the neural network
  • receiving 404 errors when the AI opens Bitrix24 documentation links

How MCP Works in Bitrix24

The MCP server provides the AI assistant with structured data from the Bitrix24 documentation: method descriptions, parameter lists, acceptable values, and usage hints.

This allows:

  • obtaining relevant API methods and fields for specific tasks
  • working with structured data instead of free text
  • reducing the number of errors and code corrections

Transport Protocol

The Bitrix24 MCP server operates over the Streamable HTTP protocol without support for SSE (Server-Sent Events).

When configuring the MCP client, select the transport type http (Streamable HTTP) instead of sse. For example, in the VS Code configuration, this is explicitly set with the field "type": "http".

How to Connect the MCP Server

Specify the server address https://mcp-dev.bitrix24.tech/mcp in your development environment settings.

The server is accessible without authorization.

Cursor

  1. Open File > Preferences > Cursor Settings > Tools & MCP > New MCP server. Cursor will open the system file mcp.json.
  2. Add the configuration by creating a new array element mcpServers in the mcp.json file:
  {
  "mcpServers": {
      "b24-dev-mcp": {
      "url": "https://mcp-dev.bitrix24.tech/mcp",
      "timeout": 30000
      }
  }
  }

  1. Save the file. On the File > Preferences > Cursor Settings > Tools & MCP page, a green indicator will appear next to the server along with a list of available tools.
  2. When composing a request, add the mcp.json file to the context.

Alternative Method to Add MCP. Click the button below, which will redirect you to Cursor. Cursor will automatically open and prompt you to add the server with pre-filled configuration.

Add b24-dev-mcp MCP server to Cursor

GitHub Copilot Chat, VS Code

  1. For setup, use the instructions from GitHub.
  2. Create a file .vscode/mcp.json in the root of your project. The content of the file:
  {
    "servers": {
      "b24-dev-mcp": {
        "url": "https://mcp-dev.bitrix24.tech/mcp",
        "type": "http"
      }
    },
    "inputs": []
  }

  1. Start the MCP agent by clicking the Start button that will appear in the .vscode/mcp.json file.
  2. Select the configured MCP agent in the chat. Copilot will request context from MCP when generating code.

Claude Desktop, Anthropic

  1. Go to Settings > Connectors.
  2. Click Add custom connector.
  3. Fill in the fields:
  • Name: b24-dev-mcp;
  • URL: https://mcp-dev.bitrix24.tech/mcp.
  1. Save the settings. Claude will automatically determine when to use MCP.

Gemini Code Assist CLI

  1. Add the MCP server with the command:
  gemini mcp add --transport http b24-dev-mcp https://mcp-dev.bitrix24.tech/mcp

  1. Check that the server appears in the list with the command gemini mcp list. Gemini will automatically determine when to use MCP.

Google Antigravity

  1. Open the MCP Store menu by clicking ... at the top of the agent panel.
  2. Click Manage MCP Servers.
  3. Select View raw config.
  4. Add the connection settings to the opened file mcp_config.json:
   {
     "mcpServers": {
       "b24-dev-mcp": {
            "serverUrl": "https://mcp-dev.bitrix24.tech/mcp"
        }
     }
   }

  1. Save the changes.

Example Requests

The MCP server automatically provides the assistant with up-to-date REST API data from Bitrix24, but the methods of interaction between the development environment and MCP vary.

Example of a universal request to the neural network: "Write an integration for Bitrix24 via REST API. Use the MCP server and the official Bitrix24 documentation to obtain current methods."

Cursor

Feature: It is necessary to connect the MCP configuration in the chat context.

  1. Add the mcp.json file to the chat context.
  2. Send a request in the chat with the AI assistant — "Write a curl request to create a lead in Bitrix24."
  3. The assistant will refer to the MCP server.
  4. MCP will return information about the method and its parameters from the documentation.
  5. The assistant will generate code based on the MCP response.

Feature: It is necessary to select MCP as the agent for executing the request.

  1. Select the MCP agent and send a request in the chat with the AI assistant — "Create a lead in Bitrix24 with contact information and the source 'website'. Show an example in JavaScript."
  2. Copilot will automatically use the selected MCP agent.
  3. MCP will return information about the method and its parameters from the documentation.
  4. The assistant will generate code based on the MCP response.

Feature: Automatically determines whether to use MCP.

  1. Send a request in the chat with the AI assistant — "Write a request to create a new lead in Bitrix24. The lead will include the data: name, company, and phone."

  2. Claude will determine that data from the connected MCP is needed and will send the request.

  3. MCP will return information about the method and its parameters from the documentation.

  4. The assistant will generate code based on the MCP response.

  5. Execute the command gemini chat and send a request — "Build a curl request to create a lead with fields name, phone, and source 'website'."

  6. Gemini will determine that data from the connected MCP is needed and will send the request.

  7. MCP will return a description of the appropriate method and its parameters from the documentation.

  8. Gemini will generate code based on the MCP response.

  9. Send a request in the chat — "Find the method to update a deal in CRM."

  10. Antigravity will determine that data from MCP is needed, perform the search, and return the result.

  11. The assistant will generate a response based on the documentation.

FAQ

Why does ChatGPT invent Bitrix24 REST API methods?

Because the neural network does not have access to the current documentation. Connecting the MCP server allows the model to obtain real API methods.

How to make Claude use Bitrix24 documentation?

Connect the Bitrix24 MCP server. After that, the model will refer to the documentation directly.

Can MCP be used to generate Bitrix24 integrations?

Yes. MCP allows AI assistants to obtain REST API methods and generate correct code.

Servidores relacionados