Twenty CRM MCP Server

Twenty CRM MCP Server

Enables interaction with Twenty CRM through a Model Context Protocol server. Provides comprehensive CRM operations including managing people, companies, opportunities, notes, tasks, and custom objects with support for filtering, pagination, and AI-powered automations.

Category
Visit Server

README

Twenty CRM + MCP Server

Solução completa que combina o Twenty CRM com um MCP Server (Model Context Protocol) para integração avançada.

O que é?

Este projeto fornece uma stack containerizada que inclui:

  • Twenty CRM - Plataforma de CRM moderna e extensível
  • Twenty Worker - Processador de tarefas assíncronas
  • MCP Server - Servidor Model Context Protocol para integração com IA e automações

Versão 0.2.0

O MCP Server foi refatorado com base no schema OpenAPI atual da aplicação Twenty CRM.

Principais Mudanças

Stack de Componentes

A arquitetura do projeto é composta por 3 serviços containerizados:

  1. ambienz-twenty-server - Twenty CRM (porta 3000)

    • Servidor principal da aplicação CRM
    • Interface web para gestão de clientes
    • API REST integrada
  2. ambienz-twenty-worker - Twenty Worker

    • Processador de jobs assíncronos
    • Automações e workflows
    • Integração com Redis
  3. ambienz-twenty-mcp-server - MCP Server (porta 3001)

    • Servidor Protocol Model Context
    • Integração com IA e automações inteligentes
    • Gerenciamento de ferramentas e contexto

Base URL Atualizada

  • Agora usa https://twenty.ambienz.com.br/rest por padrão
  • Endpoints seguem o padrão REST do Twenty CRM

Objetos Suportados

  1. People - Gestão de pessoas

    • list_people, create_person, get_person, update_person, delete_person
    • Campos atualizados: name (objeto), emails (objeto), phones (objeto), linkedinLink, xLink
  2. Companies - Gestão de empresas

    • list_companies, create_company, get_company, update_company, delete_company
    • Campos brasileiros: cnpj, razaoSocial
  3. Opportunities - Gestão de oportunidades

    • list_opportunities, create_opportunity, get_opportunity, update_opportunity, delete_opportunity
    • Campos: amount (objeto), closeDate, stage, companyId, pointOfContactId
  4. Notes - Gestão de notas

    • list_notes, create_note, get_note, update_note, delete_note
    • Campos: title, body, position
  5. Tasks - Gestão de tarefas

    • list_tasks, create_task, get_task, update_task, delete_task
    • Campos: title, body, dueAt, status, assigneeId
  6. Conversas - Objeto customizado

    • list_conversas, create_conversa, get_conversa, update_conversa, delete_conversa
    • Campos: name, conversasId, agent, lead
  7. Faturas - Objeto customizado

    • list_faturas, create_fatura, get_fatura, update_fatura, delete_fatura
    • Campos: name, status

Paginação e Filtros

Todos os endpoints de listagem agora suportam:

  • filter - Query JSON para filtros
  • orderBy - Ordenação por campo
  • limit - Limite de resultados (max 100)
  • depth - Profundidade de relações
  • startingAfter / endingBefore - Cursores de paginação

Uso

# Configurar variáveis de ambiente
export TWENTY_API_KEY="your-api-key"
export TWENTY_BASE_URL="https://twenty.ambienz.com.br/rest"
export PORT=3000

# Executar servidor
node mcp/index.js

Deployment com Docker Compose

Para deployar a stack completa localmente:

# Copiar arquivo de ambiente
cp .env.example .env

# Iniciar todos os serviços
docker-compose up -d

# Verificar status
docker-compose ps

# Ver logs
docker-compose logs -f ambienz-twenty-mcp-server

O serviço Twenty CRM estará disponível na URL configurada (ex: https://twenty.ambienz.com.br) e o MCP Server na porta 3001.

Endpoints

  • GET /health - Health check
  • POST /tools/:toolName - Executar ferramenta específica
  • POST /mcp - Endpoint MCP via Server-Sent Events

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured