Permet à un agent IA de lire et de gérer les données du CRM Bitrix24, notamment les affaires, les leads, les contacts et les entreprises, via un magasin local consultable.
Aussi connu sous WireCatLabs/bitrix24-cli, bitrix24-cli, @wirecat/bitrix24-cli
- Étoiles
- 1
- Outils
- —
- Téléchargements, 30 jours
- —
- Dernière version
- 0.23.0
- Dernier commit
- 13 nov. 2026
- Licence
- Apache-2.0
Qu'est-ce que WireCat b24 MCP ?
WireCat b24 est un serveur MCP. Permet à un agent IA de lire et de gérer les données du CRM Bitrix24, notamment les affaires, les leads, les contacts et les entreprises, via un magasin local consultable.
Résumé généré à partir du README du projet
À propos du MCP server WireCat b24
WireCat b24 fournit une interface en ligne de commande et un MCP server pour la gestion des données du CRM Bitrix24. Il permet aux agents IA et aux développeurs d'interagir avec les affaires, les leads, les contacts, les entreprises et les pipelines. L'outil fonctionne en se connectant à un portail Bitrix24 via un webhook entrant, agissant avec les permissions spécifiques de l'employé associé à ce webhook. Il nécessite Node.js 22.16+ ou Node.js 24+ pour fonctionner.
Une fonctionnalité unique est le magasin WireCat local, qui synchronise les affaires et les leads pour permettre la recherche et l'énumération hors ligne. Ce stockage local permet à un agent d'accéder aux données du CRM aux côtés d'autres outils WireCat. Les utilisateurs peuvent configurer des niveaux de permission spécifiques tels que allow, ask, readonly ou deny pour différentes commandes et méthodes REST afin de garantir que l'agent opère dans des limites définies. Le serveur peut être utilisé localement via le terminal ou exposé à des clients IA basés sur navigateur comme ChatGPT ou Claude via une configuration MCP.
Ce que vous pouvez faire avec
- 1Synchroniser les données CRM pour un accès hors ligneUn développeur peut synchroniser les affaires et les leads d'un utilisateur spécifique dans un magasin local pour effectuer des recherches sans connexion réseau.
- 2Gérer les pipelines de vente via l'IAUn agent IA peut déplacer une affaire spécifique vers une nouvelle étape, comme contrat signé.
- 3Exécuter des commandes REST Bitrix24 arbitrairesLes utilisateurs peuvent exécuter n'importe quelle méthode REST Bitrix24 disponible via l'interface tout en respectant les niveaux de permission établis.
- 4Mettre à jour les informations de contactUn agent peut modifier les détails d'un contact, comme un intitulé de poste, en utilisant les noms de champs Bitrix24.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Comment installer WireCat b24 MCP
Formats vérifiés le 10 nov. 2026Installer WireCat b24 MCP dans Claude Code
$ claude mcp add bitrix24-cli -- npx -y @wirecat/bitrix24-cliInstaller WireCat b24 MCP dans Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"bitrix24-cli": {
"command": "npx",
"args": [
"-y",
"@wirecat/bitrix24-cli"
]
}
}
}Installer WireCat b24 MCP dans VS Code
.vscode/mcp.json
{
"servers": {
"bitrix24-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wirecat/bitrix24-cli"
]
}
}
}Installer WireCat b24 MCP dans Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"bitrix24-cli": {
"command": "npx",
"args": [
"-y",
"@wirecat/bitrix24-cli"
]
}
}
}Installer WireCat b24 MCP dans Codex
~/.codex/config.toml
[mcp_servers.bitrix24-cli] command = "npx" args = ["-y", "@wirecat/bitrix24-cli"]
Installer WireCat b24 MCP dans Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"bitrix24-cli": {
"command": "npx",
"args": [
"-y",
"@wirecat/bitrix24-cli"
]
}
}
}Vérifications automatisées
Exécuté le 14 nov. 2026Rapport complet →A passé nos vérifications automatisées. Il ne s'agit pas d'un audit de sécurité : lisez le code et donnez au serveur l'accès le plus restreint dont il a besoin. Fonctionnement des vérifications
- Dépôt source lié et accessiblewirecatlabs/bitrix24-cli is public and reachablegithub.com/wirecatlabs/bitrix24-cli ↗Réussi
- Le paquet cite ce dépôt comme source@wirecat/bitrix24-cli names wirecatlabs/bitrix24-cli as sourcenpmjs.com/package/@wirecat/bitrix24-cli ↗Réussi
- Provenance du build (attestation Sigstore)Sigstore attestation for @wirecat/bitrix24-clinpmjs.com/package/@wirecat/bitrix24-cli/v/0.22.0#provenance ↗Réussi
- Licence open source (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit or release 2026-11-14github.com/wirecatlabs/bitrix24-cli ↗Réussi
- OpenSSF ScorecardNon vérifié
- Nom du package non proche d'un package populaireNo popular package one edit away from @wirecat/bitrix24-cliRéussi
- Aucun avis critique dans le paquet ni ses dépendancesthe package checked; no critical advisoryosv.dev ↗Réussi
- Aucune instruction cachée destinée au modèle0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersRéussi
- Les outils destructifs sont étiquetésNon vérifié
- L'endpoint distant répond au handshake MCPNon vérifié
README
Voir sur GitHubb24 — Bitrix24 CRM CLI for AI agents
b24 reads and changes a Bitrix24 portal's sales data from the terminal, from scripts and from AI agents: deals,
leads, contacts, companies, pipelines and their stages, products and employees. It signs in with one of the portal's
incoming webhooks and acts with the rights of the employee who made it. Deals and leads are copied into the local
WireCat store, so lists and search work offline, beside your other WireCat tools' data.
Quick start
npm install -g @wirecat/bitrix24-cli
b24 skill install # the agent skill, for Claude Code, Codex, Gemini CLI and OpenClaw
b24 work session start # paste the webhook address; it is kept in the keyring
b24 work users list # find your own user id, and any colleague's
b24 work config set crm.bitrix24:example.bitrix24.ru.unassigned 1 # whose deals and leads to copy
b24 work sync # copies their deals, leads and clients into the local store
b24 work deals list status:open
example.bitrix24.ru is your portal's host, and 1 the ids you chose, comma-separated. Until you choose, a sync
copies nothing and says so: a webhook is often a colleague's, so b24 never picks whose deals you copy. An
administrator's webhook may choose anyone; an employee's may choose only themselves.
work is a profile: a name you choose for one portal. It is the first word of every command that uses an account,
and none is ever assumed. Make the webhook in Bitrix24 under Developer resources → Other → Incoming webhook, with the
scopes crm, user_basic and department (for reporting lines). You need Node.js 22.16 or a later 22.x, or Node.js
24 or later. b24 doctor needs no network and shows what is set up.
More: installation, usage.
What you can do
b24 work leads list stage:"In progress" --json # from the store, offline too
b24 work deals move deal:42 "Contract signed" # checks deals.move, and deals.close for a won or lost stage
b24 work search all kitchen # stored deals and leads beside your other WireCat data
b24 work people update 4 --body '{"post":"Buyer"}' # a contact, in Bitrix24's own field names
b24 work api call crm.deal.fields --dry-run # any REST method, with every permission it checks
Every write answers an operation_id and can be previewed with --dry-run. More: usage and the
command reference.
For AI agents
- An agent with a terminal (Claude Code, Codex, Gemini CLI, OpenClaw):
b24 skill installwrites the skill, the agent's instruction sheet. - An MCP client:
b24 work mcp serve, orb24 work mcp add claude-code.mcp serve --permission deals=denytightens the levels for one server; an agent can never loosen them. - ChatGPT or Claude in a browser:
b24 work mcp serve --httpbehind your own tunnel. - A common task, step by step:
b24 guidelists scenarios, such asb24 guide safe-agent-writes.
Text from the portal is marked untrusted in MCP answers: it is data for the agent, never instructions. api call
and session start/end are never offered over MCP. With --json, every command prints one JSON value, and an error
comes as JSON with a code to branch on.
More: MCP, permissions, agents.
Why b24
- Your CRM where your agent works. An agent reads a client's deals and leads, moves them through the pipeline and updates contacts, in the terminal or over MCP.
- Offline and searchable. Deals, leads, pipelines and stages are copied to the local WireCat store, so lists and
search allanswer without the portal, and memo sees a client's deals beside your mail and meetings. - Your rules, not the agent's. Every command and every REST method has a permission level per profile. Deletes ask first, assigning work to a colleague is off until you allow it, and an MCP server can only tighten the levels.
- Nothing private on screen or in logs. The webhook address stays in the keyring and never appears in output, errors or run records.
Main features
- Sync.
synccopies pipelines, stages, deals, leads, companies, contacts, employees, departments and your own companies; the nextsyncreads only what changed.scheduleruns it on a timer. It copies the deals and leads of the users you choose, and their clients; no sync copies the whole CRM, an administrator's either. - Who is who. A contact belongs to its companies, a deal names its contacts and the employee responsible, and employees report to their department's head. See Who is who.
- Reads.
deals,leads,pipelines,stagesandfieldsread the store;people,organizations,productsandusersask the portal. Each list takes a query, such asstatus:openorstage:"In progress", and the lists of deals, leads, people and organizations take--format csv. - Writes. Create, update, move, close and delete deals and leads; create and update contacts and companies, with
custom fields by their labels. Every write answers an
operation_idand can be previewed with--dry-run. - Any REST method.
api callruns any Bitrix24 method and checks every permission it touches first.
Sign-in and profiles
A profile is a name you choose for one portal, such as work. It is the first word of every command that uses an
account, and none is ever assumed: a command without one stops and lists the profiles on this computer.
B24_PROFILE=work sets it for one shell session.
b24 work session start asks for the webhook address without showing it, checks it against the portal and keeps it
in the system keyring; --credential-storage file keeps it in a private file instead. session status --check shows
the employee the webhook acts as, session end forgets the address on this computer, and session list lists the
profiles. account remove --keep-data or --delete-data forgets a profile, keeping or deleting its copy of the
portal. A webhook that another profile already uses is refused at sign-in.
With a local application you create in the portal, b24 work session start --portal example.bitrix24.ru --client-id <id> signs in through the browser instead, and b24 acts with the rights of the employee who signs in.
More: sign in, with a local application, profiles.
Settings and permissions
Each profile has a permission level for every command and every REST method: allow, ask, readonly or deny.
Assigning a record to another employee is denied until you allow it, a delete asks first in the terminal, and methods
that message people, publish or start the portal's automation are denied, reads too.
Over MCP ask does not ask: the write goes ahead, since no one is there to answer. A stage change can start the
portal's own robots, which may write to your clients, so deals.move=ask stops an agent only at a terminal. Before an
agent gets the profile over MCP, set permissions.deals.move, permissions.leads.move, permissions.deals.delete and
permissions.leads.delete to readonly or deny, or turn on approval in the agent's client.
B24_READ_ONLY=1 refuses every write.
Whatever the levels say, only a Bitrix24 administrator's webhook deletes, sets a field to nothing or calls batch:
an employee's is refused.
More: permissions, MCP, settings, security.
Limits
- Tested on cloud Bitrix24. A self-hosted (on-premise) portal is not tested;
b24uses REST 3.0 for the CRM. - The portal allows about 2 requests a second for all its apps together;
b24keeps to that pace. - Before 1.0, a minor version may change commands,
--jsonfields and MCP tools; the changelog lists each such change under "may break callers". - Another npm package,
b24-cli, also installs a command namedb24. If yours runs the wrong tool, callwcat-b24, which is the same program. people,organizations,productsandusersstill ask the portal on every read and refuse--offline.- Bitrix24 does a repeated write again: on a live portal, a create repeated with the same
Idempotency-Keymade a second record. After anoutcome_unknown, look at the record before you write it again.
Security
The webhook address is the password: anyone who has it can do what its employee can. b24 keeps it in the system
keyring and never prints it, in output, errors or run records. Report a vulnerability as SECURITY.md
says.
When it does not work
Start with b24 doctor, then troubleshooting.
Documentation
- Install · Use it · MCP · Permissions · Settings · Security · Commands · Troubleshooting
- The design: docs/dev/DESIGN.md.
Part of WireCat
b24 is one of the WireCat tools. They share one local store, so search all and an agent see
your CRM beside your messages, mail, notes and meetings.
Development
You need Node.js 22.16 or a later 22.x, or Node.js 24 or later, and pnpm.
pnpm install
pnpm lint && pnpm typecheck && pnpm test:coverage && pnpm docs:check
pnpm build && pnpm smoke
Tests use a fake portal that answers as the Bitrix24 API reference shows, invented records, an injected keyring and
temporary folders; nothing reaches a real portal. pnpm release:check runs every check a release needs.
More: testing, design, test matrix.
License
Questions sur WireCat b24 MCP
Comment ajouter WireCat b24 MCP à Claude Code ?
Exécutez claude mcp add bitrix24-cli -- npx -y @wirecat/bitrix24-cli dans votre terminal. Ajoutez --scope user pour le rendre disponible dans tous les projets.
Comment ajouter WireCat b24 MCP à Cursor ?
Ouvrez ~/.cursor/mcp.json et ajoutez le serveur sous mcpServers, avec la configuration Cursor indiquée dans la section d'installation ci-dessus.
Comment connecter le serveur à mon portail Bitrix24 ?
Connectez-vous en utilisant un webhook entrant de votre portail Bitrix24 avec les scopes crm, user_basic et department.
L'agent IA peut-il fonctionner hors ligne ?
Oui, les affaires, les leads, les pipelines et les étapes sont copiés dans un magasin WireCat local, ce qui permet la recherche et l'énumération hors ligne.
Comment puis-je restreindre les actions de l'agent IA via MCP ?
Vous pouvez restreindre les permissions du MCP server en utilisant la commande mcp serve --permission deals=deny.
Quels sont les prérequis système ?
Vous avez besoin de Node.js 22.16 ou une version ultérieure (dans la plage 22.x) ou de Node.js 24 ou une version ultérieure.