productivitydeveloper-tools

EspoCRM

zaphod-black

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.

github stars

28

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

47 built-in toolsEmbedded AI chatbot interfaceMultiple authentication methods

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

  1. Clone the repository
git clone https://github.com/zaphod-black/EspoMCP.git
cd EspoMCP
  1. Install dependencies
npm install
  1. Configure environment
cp .env.example .env
# Edit .env with your EspoCRM credentials
  1. Build the project
npm run build
  1. Test the connection
npm run test:config

AI Chatbot Quick Start

Deploy Chatbot Interface

  1. Navigate to chatbot directory
cd chatbot-bridge
  1. Install dependencies
npm install
  1. Configure environment
cp .env.example .env
# Edit .env with your EspoCRM settings
  1. Start chatbot server
npm start
# Or with Docker: docker-compose up -d
  1. 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>
  1. Try the Demo Visit http://localhost:3001/widget to 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

VariableDescriptionRequiredDefault
ESPOCRM_URLYour EspoCRM instance URLYes-
ESPOCRM_API_KEYAPI key for authenticationYes-
ESPOCRM_AUTH_METHODAuthentication method (apikey or hmac)Yesapikey
ESPOCRM_SECRET_KEYSecret key for HMAC authNo-
MCP_TRANSPORTMCP transport methodNostdio
RATE_LIMITRequests per minute limitNo100
REQUEST_TIMEOUTRequest timeout in millisecondsNo30000
LOG_LEVELLogging levelNoinfo

Available Tools

The MCP server provides 47 comprehensive tools for EspoCRM integration:

Contact Management

  • create_contact - Create new contacts with full field support
  • search_contacts - Search and filter contacts with date range filtering
  • get_contact - Retrieve specific contact by ID

Account Management

  • create_account - Create new company/organization accounts
  • search_accounts - Search and filter accounts with date range filtering

Opportunity Management

  • create_opportunity - Create new sales opportunities
  • search_opportunities - Search opportunities with advanced filters including amount ranges

Meeting Management

  • create_meeting - Create meetings with attendee management and calendar integration
  • search_meetings - Search meetings with date ranges, status, and location filters
  • get_meeting - Retrieve detailed meeting information including attendees
  • update_meeting - Update existing meetings with support for all meeting fields

User Management

  • search_users - Search users by username, email, name, type, and status
  • get_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 dates
  • get_task - Retrieve detailed task information including relationships
  • update_task - Update task properties including status, priority, and due date
  • assign_task - Assign or reassign tasks to specific users

Lead Management

  • create_lead - Create new leads with full field support and validation
  • search_leads - Search leads by status, source, assignee, and date ranges
  • update_lead - Update lead properties and status
  • convert_lead - Convert leads to contacts, accounts, and/or opportunities
  • assign_lead - Assign or reassign leads to specific users

Team & Role Management

  • add_user_to_team - Add users to teams with optional position assignment
  • remove_user_from_team - Remove users from teams
  • assign_role_to_user - Assign roles to users for permissions management
  • get_user_teams - Get all teams that a user belongs to
  • get_team_members - Get all members of a specific team
  • search_teams - Search teams by name and description
  • get_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 selection
  • update_entity - Update any entity record by ID with flexible data
  • delete_entity - Delete any entity record by ID
  • get_entity - Get specific entity records with optional field selection

Relationship Management

  • link_entities - Create relationships between any two entity records
  • unlink_entities - Remove relationships between entity records
  • get_entity_relationships - Get all related records for an entity with relationship details

Communication Tools

  • create_call - Create call records with status, direction, and duration tracking
  • search_calls - Search calls by status, direction, contact, and date ranges
  • create_case - Create support cases with priority, type, and account linking
  • search_cases - Search cases by status, priority, type, and assignment
  • add_note - Add notes to any entity record for documentation and follow-up
  • search_notes - Search notes by parent entity, author, and date ranges
  • create_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 range
  • modifiedFrom / modifiedTo - Filter by modification date range
  • dateFrom / dateTo - Filter meetings by date range

Meeting-Specific Filters

  • status - Filter by meeting status (Planned, Held, Not Held)
  • location - Filter by meeting location
  • assignedUserName - Filter by assigned user

User-Specific Filters

  • userName - Search by username
  • emailAddress - Search by email address
  • firstName / lastName - Search by name components
  • isActive - Filter by active status
  • type - 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 37 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.4 out of 5—verify behavior in your own environment before production use.

Use Cases

Extended AI Capabilities

Add new capabilities to Claude beyond text generation

Example

Access external data sources, execute code, interact with tools and services

Transform Claude from chatbot to action-taking agent

Context Enhancement

Provide Claude with access to relevant context and data

Example

Load project documentation, access knowledge bases, query databases

Get more accurate, context-aware responses

Workflow Automation

Automate multi-step workflows combining AI and external tools

Example

Research → Summarize → Create document → Send notification

Complete complex tasks end-to-end without manual steps

Implementation Guide

Prerequisites

  • Claude Desktop 0.7.0+ or Cursor IDE with MCP support
  • Basic understanding of MCP architecture and capabilities
  • Access credentials for integrated services (if required)
  • Willingness to experiment and iterate on configuration

Time Estimate

15-60 minutes depending on server complexity

Installation Steps

  1. 1.Install MCP server: npm install -g [package-name] or via GitHub
  2. 2.Add server configuration to ~/.claude/mcp.json
  3. 3.Provide required credentials and configuration
  4. 4.Restart Claude Desktop to load new server
  5. 5.Test basic functionality with simple prompts
  6. 6.Explore capabilities and experiment with use cases
  7. 7.Document successful patterns for reuse

Troubleshooting

  • MCP server not loading: Check config syntax, verify installation
  • Connection errors: Check network, firewall, credentials
  • Feature not working: Read server docs, check required parameters
  • Performance issues: Monitor resource usage, check for network latency
  • Conflicts with other servers: Check port assignments, namespace collisions

Best Practices

✓ Do

  • +Read server documentation thoroughly before setup
  • +Start with simple use cases to validate functionality
  • +Test in non-production environment first
  • +Monitor resource usage and performance
  • +Keep servers updated for bug fixes and new features
  • +Document configuration for team members
  • +Use environment variables for sensitive configuration

✗ Don't

  • Don't grant overly permissive access to MCP servers
  • Don't skip reading security considerations in docs
  • Don't expose sensitive data without proper controls
  • Don't run untrusted MCP servers without code review
  • Don't ignore error messages—investigate root cause

💡 Pro Tips

  • Combine multiple MCP servers for powerful workflows
  • Create custom MCP servers for your specific needs
  • Share successful configurations with team
  • Use MCP inspector for debugging
  • Join MCP community for tips and troubleshooting

Technical Details

Architecture

Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.

Protocols

  • Model Context Protocol (MCP)
  • JSON-RPC 2.0
  • stdio or HTTP transport

Compatibility

  • Claude Desktop
  • Cursor IDE
  • Custom MCP clients

When to Use This

✓ Use When

Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.

✗ Avoid When

Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.

Integration

  • Tool composition: Chain multiple MCP tools in workflows
  • Context augmentation: Provide AI with relevant external data
  • Action delegation: Let AI execute tasks on external systems
  • Bidirectional sync: Keep AI context and external systems in sync

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.

List & Promote Your MCP Server

Share your MCP server with the developer community

GET_STARTED →
MCP server reviews

Ratings

4.437 reviews
  • Layla Menon· Dec 24, 2024

    I recommend EspoCRM for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Olivia Khanna· Dec 12, 2024

    Strong directory entry: EspoCRM surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Aditi Brown· Dec 4, 2024

    We evaluated EspoCRM against two servers with overlapping tools; this profile had the clearer scope statement.

  • Lucas Desai· Nov 23, 2024

    Useful MCP listing: EspoCRM is the kind of server we cite when onboarding engineers to host + tool permissions.

  • James Mehta· Nov 11, 2024

    We evaluated EspoCRM against two servers with overlapping tools; this profile had the clearer scope statement.

  • Aditi Nasser· Oct 14, 2024

    EspoCRM reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • James Martinez· Oct 2, 2024

    EspoCRM is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Yash Thakker· Sep 25, 2024

    EspoCRM is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Rahul Santra· Sep 5, 2024

    I recommend EspoCRM for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Evelyn Ndlovu· Sep 5, 2024

    EspoCRM has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

showing 1-10 of 37

1 / 4