EspoCRM▌

by zaphod-black
Integrate with EspoCRM for full CRUD operations, advanced search, filtering, pagination, and health monitoring of your c
Integrates with EspoCRM to provide complete CRUD operations for contacts, accounts, and opportunities with advanced search, filtering, pagination, and health monitoring capabilities.
best for
- / Sales teams managing CRM data through AI assistants
- / Developers building EspoCRM integrations
- / Organizations automating customer relationship workflows
- / Teams needing natural language CRM access
capabilities
- / Create, read, update, delete EspoCRM entities
- / Search and filter contacts, accounts, opportunities with pagination
- / Manage meetings with calendar integration and attendee management
- / Handle task and lead lifecycle management
- / Manage users with lookup capabilities
- / Monitor EspoCRM system health
what it does
Provides complete CRUD operations for EspoCRM entities like contacts, accounts, opportunities, and meetings with advanced search and filtering. Includes an AI chatbot interface that embeds directly into EspoCRM.
about
EspoCRM is a community-built MCP server published by zaphod-black that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with EspoCRM for full CRUD operations, advanced search, filtering, pagination, and health monitoring of your c It is categorized under productivity, developer tools.
how to install
You can install EspoCRM in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
EspoCRM is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
EspoCRM MCP Server
A comprehensive Model Context Protocol (MCP) server for seamless integration with EspoCRM. This server enables AI assistants to interact with your EspoCRM instance through a standardized interface, providing complete CRUD operations for Contacts, Accounts, Opportunities, Meetings, Users, Tasks, Leads, and advanced system management capabilities.
** NEW: AI Chatbot Integration** - Now includes a complete chatbot interface that embeds directly into your EspoCRM, providing natural language access to all 47 MCP tools!
Features
Core Capabilities
- Complete CRUD Operations - Create, read, update, and delete entities
- Multi-Entity Support - Contacts, Accounts, Opportunities, Meetings, Users, Tasks, and Leads
- Advanced Search & Filtering - Flexible search with date ranges, pagination, and complex filters
- Task Management - Complete task lifecycle with parent relationships and user assignment
- Lead Management - Full lead pipeline from creation to conversion
- Meeting Management - Full calendar integration with attendee management
- User Management - Comprehensive user search and lookup capabilities
- Real-time Validation - Zod-based schema validation for all operations
- Comprehensive Logging - Winston-powered logging with multiple levels
Authentication & Security
- Multiple Auth Methods - API Key and HMAC authentication support
- Secure Configuration - Environment-based configuration management
- Rate Limiting - Built-in rate limiting for API protection
- Error Handling - Robust error handling with detailed logging
Calendar Integration
- Meeting Operations - Create, search, update, and manage meetings
- Attendee Management - Link contacts and users to meetings
- Date/Time Filtering - Advanced date range search capabilities
- Google Calendar Sync Compatibility - Designed for calendar synchronization workflows
AI Chatbot Integration
- Floating Chat Widget - Beautiful, non-intrusive chat bubble interface
- Natural Language Processing - Chat in plain English to perform CRM operations
- Real-time Communication - WebSocket-powered instant responses
- 47 MCP Tools Access - Complete CRM functionality via chat
- EspoCRM Embedding - Integrates directly into your EspoCRM interface
- Mobile Responsive - Works seamlessly on all devices
Developer Experience
- TypeScript - Full TypeScript support with strict typing
- Docker Support - Containerized deployment ready
- Comprehensive Testing - Multiple test scripts and validation tools
- MCP 2024/2025 Compliant - Latest MCP specification support
Quick Start
Prerequisites
- Node.js 18+
- npm or yarn
- EspoCRM instance with API access
- Valid API credentials
Installation
- Clone the repository
git clone https://github.com/zaphod-black/EspoMCP.git
cd EspoMCP
- Install dependencies
npm install
- Configure environment
cp .env.example .env
# Edit .env with your EspoCRM credentials
- Build the project
npm run build
- Test the connection
npm run test:config
AI Chatbot Quick Start
Deploy Chatbot Interface
- Navigate to chatbot directory
cd chatbot-bridge
- Install dependencies
npm install
- Configure environment
cp .env.example .env
# Edit .env with your EspoCRM settings
- Start chatbot server
npm start
# Or with Docker: docker-compose up -d
- Integrate with EspoCRM Add to your EspoCRM footer template:
<script>
window.ESPOCRM_CHAT_SERVER = 'http://your-server:3001';
</script>
<script src="http://your-server:3001/socket.io/socket.io.js"></script>
<script src="http://your-server:3001/api/widget.js"></script>
- Try the Demo
Visit
http://localhost:3001/widgetto see the chatbot in action!
Environment Configuration
Create a .env file with your EspoCRM configuration:
# EspoCRM Configuration
ESPOCRM_URL=https://your-espocrm-instance.com
ESPOCRM_API_KEY=your-api-key-here
ESPOCRM_AUTH_METHOD=apikey
# Optional: HMAC Authentication
# ESPOCRM_SECRET_KEY=your-secret-key
# ESPOCRM_AUTH_METHOD=hmac
# Server Configuration (Optional)
MCP_TRANSPORT=stdio
RATE_LIMIT=100
REQUEST_TIMEOUT=30000
LOG_LEVEL=info
Required Configuration
| Variable | Description | Required | Default |
|---|---|---|---|
ESPOCRM_URL | Your EspoCRM instance URL | Yes | - |
ESPOCRM_API_KEY | API key for authentication | Yes | - |
ESPOCRM_AUTH_METHOD | Authentication method (apikey or hmac) | Yes | apikey |
ESPOCRM_SECRET_KEY | Secret key for HMAC auth | No | - |
MCP_TRANSPORT | MCP transport method | No | stdio |
RATE_LIMIT | Requests per minute limit | No | 100 |
REQUEST_TIMEOUT | Request timeout in milliseconds | No | 30000 |
LOG_LEVEL | Logging level | No | info |
Available Tools
The MCP server provides 47 comprehensive tools for EspoCRM integration:
Contact Management
create_contact- Create new contacts with full field supportsearch_contacts- Search and filter contacts with date range filteringget_contact- Retrieve specific contact by ID
Account Management
create_account- Create new company/organization accountssearch_accounts- Search and filter accounts with date range filtering
Opportunity Management
create_opportunity- Create new sales opportunitiessearch_opportunities- Search opportunities with advanced filters including amount ranges
Meeting Management
create_meeting- Create meetings with attendee management and calendar integrationsearch_meetings- Search meetings with date ranges, status, and location filtersget_meeting- Retrieve detailed meeting information including attendeesupdate_meeting- Update existing meetings with support for all meeting fields
User Management
search_users- Search users by username, email, name, type, and statusget_user_by_email- Direct email-based user lookup for calendar sync operations
Task Management
create_task- Create tasks with parent entity support (Lead, Account, Contact, Opportunity)search_tasks- Search tasks by assignee, status, priority, parent entity, and due datesget_task- Retrieve detailed task information including relationshipsupdate_task- Update task properties including status, priority, and due dateassign_task- Assign or reassign tasks to specific users
Lead Management
create_lead- Create new leads with full field support and validationsearch_leads- Search leads by status, source, assignee, and date rangesupdate_lead- Update lead properties and statusconvert_lead- Convert leads to contacts, accounts, and/or opportunitiesassign_lead- Assign or reassign leads to specific users
Team & Role Management
add_user_to_team- Add users to teams with optional position assignmentremove_user_from_team- Remove users from teamsassign_role_to_user- Assign roles to users for permissions managementget_user_teams- Get all teams that a user belongs toget_team_members- Get all members of a specific teamsearch_teams- Search teams by name and descriptionget_user_permissions- Get effective permissions for a user based on roles
Generic Entity Operations
create_entity- Create records for any entity type (including custom entities)search_entity- Search any entity type with flexible filters and field selectionupdate_entity- Update any entity record by ID with flexible datadelete_entity- Delete any entity record by IDget_entity- Get specific entity records with optional field selection
Relationship Management
link_entities- Create relationships between any two entity recordsunlink_entities- Remove relationships between entity recordsget_entity_relationships- Get all related records for an entity with relationship details
Communication Tools
create_call- Create call records with status, direction, and duration trackingsearch_calls- Search calls by status, direction, contact, and date rangescreate_case- Create support cases with priority, type, and account linkingsearch_cases- Search cases by status, priority, type, and assignmentadd_note- Add notes to any entity record for documentation and follow-upsearch_notes- Search notes by parent entity, author, and date rangescreate_document- Create document records with file attachments and metadata
System Tools
health_check- Verify server and EspoCRM connectivity across all entities
Enhanced Search Capabilities
All search tools now support advanced filtering options:
Date Range Filtering
createdFrom/createdTo- Filter by creation date rangemodifiedFrom/modifiedTo- Filter by modification date rangedateFrom/dateTo- Filter meetings by date range
Meeting-Specific Filters
status- Filter by meeting status (Planned, Held, Not Held)location- Filter by meeting locationassignedUserName- Filter by assigned user
User-Specific Filters
userName- Search by usernameemailAddress- Search by email addressfirstName/lastName- Search by name componentsisActive- Filter by active statustype- Filter by user type (admin, regular, portal, api)
Usage Examples
Task Management
// Create a task assigned to a user with parent relationship
await client.callTool('create_task', {
name: 'Follow up on lead discussion',
assignedUserId: 'user123',
par
---
FAQ
- What is the EspoCRM MCP server?
- EspoCRM is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for EspoCRM?
- This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
Ratings
4.5★★★★★10 reviews- ★★★★★Shikha Mishra· Oct 10, 2024
EspoCRM is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Piyush G· Sep 9, 2024
We evaluated EspoCRM against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Chaitanya Patil· Aug 8, 2024
Useful MCP listing: EspoCRM is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Sakshi Patil· Jul 7, 2024
EspoCRM reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Ganesh Mohane· Jun 6, 2024
I recommend EspoCRM for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Oshnikdeep· May 5, 2024
Strong directory entry: EspoCRM surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Dhruvi Jain· Apr 4, 2024
EspoCRM has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Rahul Santra· Mar 3, 2024
According to our notes, EspoCRM benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Pratham Ware· Feb 2, 2024
We wired EspoCRM into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Yash Thakker· Jan 1, 2024
EspoCRM is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.