Twenty CRM MCP Server
Connects Twenty CRM with AI assistants like Claude, enabling natural language interactions with customer data. Supports CRUD operations for people, companies, tasks, notes, and advanced search.
README
<div align="center">
🤖 Twenty CRM MCP Server
Transform your CRM into an AI-powered assistant
A Model Context Protocol server that connects Twenty CRM with Claude and other AI assistants, enabling natural language interactions with your customer data.
🚀 Quick Start • 📖 Usage Examples • 🛠️ API Reference • 🤝 Contributing
</div>
✨ Features
<table> <tr> <td width="50%">
🔄 Complete CRUD Operations
Create, read, update, and delete people, companies, tasks, and notes with simple commands
🧠 Dynamic Schema Discovery
Automatically adapts to your Twenty CRM configuration and custom fields
🔍 Advanced Search
Search across multiple object types with intelligent filtering and natural language queries
</td> <td width="50%">
📊 Metadata Access
Retrieve schema information and field definitions dynamically
💬 Natural Language Interface
Use conversational commands to manage your CRM data effortlessly
⚡ Real-time Updates
All changes sync immediately with your Twenty CRM instance
</td> </tr> </table>
🚀 Installation
Prerequisites
- Node.js 18 or higher
- A Twenty CRM instance (cloud or self-hosted)
- Claude Desktop or compatible MCP client
Setup
- Clone the repository:
git clone https://github.com/mhenry3164/twenty-crm-mcp-server.git
cd twenty-crm-mcp-server
- Install dependencies:
npm install
-
Get your Twenty CRM API key:
- Log in to your Twenty CRM workspace
- Navigate to Settings → API & Webhooks (under Developers)
- Generate a new API key
-
Configure Claude Desktop:
Add the server to your claude_desktop_config.json:
{
"mcpServers": {
"twenty-crm": {
"command": "node",
"args": ["/path/to/twenty-crm-mcp-server/index.js"],
"env": {
"TWENTY_API_KEY": "your_api_key_here",
"TWENTY_BASE_URL": "https://api.twenty.com"
}
}
}
}
For self-hosted Twenty instances, change TWENTY_BASE_URL to your domain.
- Restart Claude Desktop to load the new server.
💬 Usage
Once configured, you can use natural language to interact with your Twenty CRM:
👥 People Management
"List the first 10 people in my CRM"
"Create a new person named John Doe with email john@example.com"
"Update Sarah's job title to Senior Developer"
"Find all people working at tech companies"
🏢 Company Management
"Show me all companies with more than 100 employees"
"Create a company called Tech Solutions with domain techsolutions.com"
"Update Acme Corp's annual revenue to $5M"
✅ Task Management
"Create a task to follow up with John next Friday"
"Show me all overdue tasks"
"Mark the task 'Call client' as completed"
📝 Notes & Search
"Add a note about my meeting with the client today"
"Search for any records mentioning 'blockchain'"
"Find all contacts without LinkedIn profiles"
🛠️ API Reference
The server provides the following tools:
<details> <summary><strong>👥 People Operations</strong></summary>
create_person- Create a new personget_person- Get person details by IDupdate_person- Update person informationlist_people- List people with filteringdelete_person- Delete a person
</details>
<details> <summary><strong>🏢 Company Operations</strong></summary>
create_company- Create a new companyget_company- Get company details by IDupdate_company- Update company informationlist_companies- List companies with filteringdelete_company- Delete a company
</details>
<details> <summary><strong>✅ Task Operations</strong></summary>
create_task- Create a new taskget_task- Get task details by IDupdate_task- Update task informationlist_tasks- List tasks with filteringdelete_task- Delete a task
</details>
<details> <summary><strong>📝 Note Operations</strong></summary>
create_note- Create a new noteget_note- Get note details by IDupdate_note- Update note informationlist_notes- List notes with filteringdelete_note- Delete a note
</details>
<details> <summary><strong>🔍 Metadata & Search</strong></summary>
get_metadata_objects- Get all object types and schemasget_object_metadata- Get metadata for specific objectsearch_records- Search across multiple object types
</details>
⚙️ Configuration
Environment Variables
TWENTY_API_KEY(required): Your Twenty CRM API keyTWENTY_BASE_URL(optional): Twenty CRM base URL (defaults tohttps://api.twenty.com)
Custom Fields
The server automatically discovers and supports custom fields in your Twenty CRM instance. No configuration changes needed when you add new fields.
🤝 Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Development
- Clone the repo:
git clone https://github.com/mhenry3164/twenty-crm-mcp-server.git
cd twenty-crm-mcp-server
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env
# Edit .env with your API key
- Test the server:
npm test
🐛 Troubleshooting
Common Issues
Authentication Error: Verify your API key is correct and has appropriate permissions.
Connection Failed: Check that your TWENTY_BASE_URL is correct (especially for self-hosted instances).
Field Not Found: The server automatically discovers fields. If you're getting field errors, try getting the metadata first: "Show me the available fields for people"
📄 License
MIT License - see LICENSE file for details.
🙏 Acknowledgments
- Twenty CRM for providing an excellent open-source CRM
- Anthropic for the Model Context Protocol
- The MCP community for inspiration and examples
🔗 Links
<div align="center">
Made with ❤️ for the open-source community
⭐ Star this repo if you find it helpful!
</div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。