Kommo MCP Server
Integrates with Kommo CRM to manage leads, including listing/searching leads, updating lead information (name, price, status, custom fields), adding notes, creating tasks/reminders, and managing pipelines and stages.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kommo MCP Serverupdate lead status for John Doe to 'Qualified'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kommo MCP Server
Servidor MCP (Model Context Protocol) para integração com o CRM Kommo via Fastify + Node.js.
🎯 Características
Multi-tenant: Suporta múltiplas contas Kommo via token Bearer
MCP over HTTP: Protocolo JSON-RPC 2.0 (Streamable)
Sistema de Aprovação: Pede confirmação antes de operações em múltiplos registros (via sampling)
Cache inteligente: Pipelines e campos customizados cacheados
Validação de entrada: Schemas Zod para validação robusta de parâmetros
Type-safe: TypeScript com strict mode e tipagens completas
Error handling: Tratamento de erros estruturado com códigos JSON-RPC
Logging: Sistema de logs integrado com Fastify
Segurança: Validação de tokens, variáveis de ambiente obrigatórias
Related MCP server: Kommo MCP Server
📦 Instalação
npm install
npm run build⚙️ Configuração
Crie um arquivo .env na raiz (copie de .env.example):
PORT=3000
HOST=0.0.0.0
MCP_PASSWORD=SuaSenhaSegura123⚠️ IMPORTANTE:
MCP_PASSWORDé OBRIGATÓRIO - o servidor não inicia sem eleNunca use senhas fracas ou padrão em produção
Nunca commite o arquivo
.envcom credenciais reais
🚀 Executar localmente
# Desenvolvimento (inicia servidor + MCP Inspector)
npm run dev
# Apenas o servidor
npm start
# Build + Servidor (sem inspector)
npm run build && npm start
# Watch mode (recompila automaticamente)
npm run dev:watch
# Apenas MCP Inspector
npm run inspectorQuick start:
# Instalar dependências
npm install
# Desenvolvimento (servidor + inspector)
npm run dev
# Produção
npm run build
npm start🔐 Autenticação
Formato do token Bearer:
MCP_PASSWORD|subdomain|kommoAccessTokenExemplo:
curl -H "Authorization: Bearer Admin123|mpcamotestecom|eyJ0eXAi..." \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
http://localhost:3000/mcp📡 Endpoints
Método | Endpoint | Descrição |
GET |
| Health check |
GET |
| Health check |
POST |
| MCP Protocol (JSON-RPC 2.0) |
DELETE |
| Encerrar sessão |
GET |
| Listar ferramentas (legacy) |
POST |
| Executar ferramenta (legacy) |
🔧 Ferramentas Disponíveis
Ferramenta | Descrição | Validação |
| Lista/busca leads | ✅ Zod schema |
| Atualiza lead (nome, preço, status, campos customizados) | ✅ Zod schema |
| Adiciona notas ao lead | ✅ Zod schema |
| Cria tarefas/lembretes | ✅ Zod schema |
| Lista pipelines e estágios (cached) | - |
| Lista estágios de um pipeline (cached) | ✅ Zod schema |
| Lista campos customizados (cached) | - |
Cache
Pipelines: 10 minutos
Estágios: 10 minutos
Campos customizados: 1 hora
🔄 Uso com n8n
1. kommo_start_session → Inicia atendimento com lead
2. kommo_update_lead → Modifica dados
3. kommo_add_notes → Registra observações
4. kommo_add_tasks → Cria follow-ups
5. kommo_end_session → Encerra atendimento⚠️ Boas Práticas e Segurança
Segurança
✅ Senha obrigatória via variável de ambiente
✅ Validação de entrada com Zod schemas
✅ Tokens multi-parte com validação
✅ Error handling estruturado
✅ Logs de erros com Fastify
Desenvolvimento
✅ TypeScript com strict mode
✅ Tipagens completas (FastifyRequest, FastifyReply)
✅ Constantes centralizadas em arquivo separado
✅ Schemas de validação reutilizáveis
✅ Cache configurável por TTL
Código Limpo
✅ Separação de responsabilidades (types, schemas, constants)
✅ Error codes padronizados (JSON-RPC 2.0)
✅ Mensagens de erro descritivas
✅ Validação early-return
Documentação
📄
README.md- Visão geral e setup📄
USAGE.md- Exemplos práticos de uso com curl📄
APPROVAL-SYSTEM.md- Sistema de aprovação para operações em múltiplos registros📄
src/constants.ts- Constantes e configurações📄
src/schemas.ts- Schemas de validação
🔐 Sistema de Aprovação
O servidor implementa um sistema de aprovação via MCP sampling para operações que afetam múltiplos registros. Quando você executa comandos como "adicione nota em lucas cardoso" e existem 2 ou mais leads com esse nome, o agente pedirá aprovação antes de executar.
Consulte APPROVAL-SYSTEM.md para detalhes completos.
🛠️ Desenvolvimento
# Build
npm run build
# Dev mode
npm run dev
# Watch mode
npm run dev:watchThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables comprehensive integration with Kommo CRM through 25 tools for managing leads, contacts, companies, tasks, events, and generating detailed analytics reports. Supports advanced workflow management, pipeline operations, and real-time performance tracking.Last updated2210MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to autonomously interact with Kommo CRM, providing tools for managing pipelines, leads, contacts, and custom fields via the Kommo API v4.Last updated271
- AlicenseCqualityDmaintenanceEnables AI agents to manage Kommo CRM (formerly AmoCRM) entities including leads, contacts, companies, tasks, notes, pipelines, and products through natural language commands via the Model Context Protocol.Last updated3931MIT
- Alicense-qualityDmaintenanceEnables AI assistants to interact with Zoho CRM data through secure OAuth authentication, supporting comprehensive CRM operations including record management, search, bulk operations, and lead conversion.Last updated1MIT
Related MCP Connectors
Connect AI to your Attio CRM. Manage contacts, companies, deals, and sales pipelines. Create tasks…
Agent-native CRM. 25 tools — contacts, deals, sequences, enrichment waterfall, audit log.
Streamline your Attio workflows using natural language to search, create, update, and organize com…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cardosolucass96/kommo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server