1. Conduid
  2. Other
  3. Kommo MCP
MCP server · Other

Kommo MCP

Kommo CRM MCP - Model Context Protocol server and JavaScript SDK for Kommo CRM API v4

Unclaimed other
34Low

Scored 11 days ago · breakdown

About Kommo MCP

Kommo MCP is an MCP server in the Other category: kommo CRM MCP - Model Context Protocol server and JavaScript SDK for Kommo CRM API v4.

The repository has 1 stars and 0 forks.

Install

From source
git clone https://github.com/Miguelgbastos/Kommo-MCP

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (2)

get_accountInformações da conta Kommo

Parameters not published.

get_dashboardDashboard calculado com endpoints públicos do Kommo

Parameters not published.

Ask AI

✦

Ask AI about Kommo MCP

Powered by Claude · Grounded in docs

I know everything about Kommo MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Kommo MCP Server

Servidor MCP (Model Context Protocol) para integração com o Kommo CRM. Expõe tools, resources e prompts para clientes MCP (Cursor, Claude, etc.).

🚀 Funcionalidades

Funcionalidades

  • Protocolo MCP: Lifecycle (initialize / initialized), transporte Streamable HTTP, validação de headers (MCP-Protocol-Version, MCP-Session-Id)
  • Tools: Leads, contatos, empresas, tarefas, relatório de vendas, criação de lead, motivos da perda, fixar/desafixar notas, Salesbot (run/stop)
  • Resources: Relatório de vendas, pipelines, motivos da perda de leads
  • Prompts: Templates para análise de vendas e resumo de leads
  • ask_kommo: Interface conversacional (perguntas em linguagem natural sobre vendas, leads, contatos)
  • Segurança: Validação de Origin, bind em localhost por default, autenticação opcional

Pré-requisitos

  • Node.js 20+
  • Docker (opcional)
  • Token de acesso do Kommo (integração privada ou OAuth2)

Configuração

  1. Copie o arquivo de exemplo:
cp env.example .env
  1. Configure no .env:
KOMMO_BASE_URL=https://seu-dominio.kommo.com
KOMMO_ACCESS_TOKEN=seu-token-aqui

Variáveis opcionais:

Variável Descrição Default
MCP_HOST Host de binding 127.0.0.1
MCP_ALLOWED_ORIGINS Origens permitidas (separadas por vírgula) —
MCP_AUTH_TOKEN Se definido, exige Authorization: Bearer ou X-API-Key no /mcp —

Execução

Desenvolvimento:

npm install
npm run build
npm start

Docker:

docker build -t kommo-mcp-server .
docker run -d -p 3001:3001 --name kommo-mcp-server kommo-mcp-server

O servidor sobe em http://127.0.0.1:3001 (ou MCP_HOST:PORT).

Endpoints

  • MCP: POST http://localhost:3001/mcp — JSON-RPC (initialize, tools/list, tools/call, resources/list, resources/read, prompts/list, prompts/get)
  • Health: GET http://localhost:3001/health

Ferramentas MCP

Tool Descrição
get_leads Listar leads (limit, page)
create_lead Criar lead (name, price, status_id)
get_sales_report Relatório de vendas (dateFrom, dateTo)
get_contacts Listar contatos
get_companies Listar empresas
get_tasks Listar tarefas
get_loss_reasons Listar motivos da perda de leads (API 2026)
pin_note Fixar nota (entity_type, note_id)
unpin_note Desafixar nota (entity_type, note_id)
run_salesbot Iniciar Salesbot (entity_id, entity_type)
stop_salesbot Parar Salesbot (bot_id)
ask_kommo Perguntas em linguagem natural sobre o CRM

Resources

  • kommo://reports/sales — Relatório de vendas (último mês)
  • kommo://pipelines — Lista de pipelines
  • kommo://loss_reasons — Motivos da perda de leads

Exemplos de uso

1. Inicializar sessão MCP (obrigatório para clientes conformes):

curl -X POST http://localhost:3001/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"cli","version":"1.0.0"}}}'

2. Listar ferramentas:

curl -X POST http://localhost:3001/mcp \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

3. Pergunta conversacional:

curl -X POST http://localhost:3001/mcp \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"ask_kommo","arguments":{"question":"quantas vendas tivemos este mês?"}}}'

4. Motivos da perda de leads:

curl -X POST http://localhost:3001/mcp \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"get_loss_reasons","arguments":{}}}'

Documentação

Migração opcional para o SDK MCP

O servidor implementa o protocolo MCP manualmente. Para migrar para o SDK oficial (@modelcontextprotocol/sdk): use Server e SSEServerTransport de @modelcontextprotocol/sdk/server (e server/sse), monte o transport no Express e registre handlers com setRequestHandler, delegando à mesma lógica de negócio (KommoAPI em src/kommo-api.ts).

Licença

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Kommo MCP

How do I install Kommo MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Kommo MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Kommo MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.