# How to integrate Espocrm MCP with OpenClaw

```json
{
  "title": "How to integrate Espocrm MCP with OpenClaw",
  "toolkit": "Espocrm",
  "toolkit_slug": "espocrm",
  "framework": "OpenClaw",
  "framework_slug": "openclaw",
  "url": "https://composio.dev/toolkits/espocrm/framework/openclaw",
  "markdown_url": "https://composio.dev/toolkits/espocrm/framework/openclaw.md",
  "updated_at": "2026-05-12T10:10:36.677Z"
}
```

## Introduction

OpenClaw is the fastest growing agent harness out there, which can work 24/7 to automate almost any kind of tasks. However, its capabilities are limited to the tools it has access to. Composio allows your OpenClaw to access Espocrm with authentication management handled for you. You can execute actions on Espocrm via your favorite OpenClaw interface (Telegram, WhatsApp, TUI, etc), whichever you prefer.

## Also integrate Espocrm with

- [OpenAI Agents SDK](https://composio.dev/toolkits/espocrm/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/espocrm/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/espocrm/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/espocrm/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/espocrm/framework/codex)
- [Hermes](https://composio.dev/toolkits/espocrm/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/espocrm/framework/cli)
- [Google ADK](https://composio.dev/toolkits/espocrm/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/espocrm/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/espocrm/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/espocrm/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/espocrm/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/espocrm/framework/crew-ai)

## TL;DR

### Why use Composio?
Apart from a managed and hosted MCP server, you will get:
- Programmatic tool calling allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
- Handling Large tool responses out of LLM context to minimize context rot.
- Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so LLMs aren't overwhelmed by tools you don't need.

## Connect Espocrm to OpenClaw

### How to install Espocrm with OpenClaw
### Using Composio API Key and Setup Prompt
- Go to [dashboard.composio.dev](https://dashboard.composio.dev/login?next=/~/org/connect/clients/openclaw&utm_source=toolkits&utm_medium=framework_template&utm_campaign=openclaw&utm_content=setup_prompt)
- Copy the setup prompt
- Run it in your OpenClaw chat interface.
- Authenticate Espocrm from the [dashboard](https://dashboard.composio.dev/login?next=/~/org/connect/clients/openclaw&utm_source=toolkits&utm_medium=framework_template&utm_campaign=openclaw&utm_content=authenticate)
- Go back to your OpenClaw interface and start asking questions.
### Using OpenClaw/Composio Plugin
1. Install OpenClaw Composio plugin

```bash
openclaw plugins install @composio/openclaw-plugin
```

## What is the Espocrm MCP server, and what's possible with it?

The Espocrm MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Espocrm account. It provides structured and secure access to your CRM data, so your agent can perform actions like retrieving user profiles, accessing system configuration, and managing user preferences on your behalf.
- Retrieve current session user details: Allow your agent to securely fetch information about the logged-in user, including access tokens, roles, and preferences for personalized automation.
- Access EspoCRM system metadata: Instantly pull system configuration, user details, permissions, and translation data to help your agent understand and navigate your CRM environment.
- Automate user-specific tasks: Enable your agent to tailor workflows and responses based on the authenticated user’s profile and preferences.
- Discover CRM capabilities programmatically: Let your agent analyze available modules, user permissions, and ACL settings to ensure actions are compliant and context-aware.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ESPOCRM_GET_APP_USER` | Get App User | Tool to retrieve current user data including token, ACL, and preferences. Use after successful authentication to fetch session-specific profile. |
| `ESPOCRM_GET_METADATA` | Get Metadata | Test connectivity to the Docparser API by calling the ping endpoint. Use this tool to verify that your API credentials are valid and the service is reachable. Returns a simple 'pong' message on success. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

The Espocrm MCP server provides comprehensive access to Espocrm operations through Composio. Once connected, you can perform all major Espocrm actions directly from OpenClaw using natural language commands.

## Complete Code

None listed.

## Conclusion

### Conclusion
You've successfully integrated Espocrm with OpenClaw using Composio plugin. Now interact with Espocrm directly from your terminal, Web UI, or any messenger app using natural language commands.
Key benefits of this setup:
- Seamless integration across TUI, Web UIs, and Messenger apps like Telegram, WhatsApp, Slack, etc.
- Natural language commands for Espocrm operations
- Managed authentication through Composio
- Access to 20,000+ tools across 1000+ apps for cross-app workflows
- Programmatic tool calling for complex tool chaining
Next steps:
- Try asking OpenClaw to perform various Espocrm operations
- Explore cross-app workflows by connecting more toolkits like Calendar, Slack, Notion, etc.
- Build complex automation scripts that leverage OpenClaw's 24/7 running capabilities

## How to build Espocrm MCP Agent with another framework

- [OpenAI Agents SDK](https://composio.dev/toolkits/espocrm/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/espocrm/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/espocrm/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/espocrm/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/espocrm/framework/codex)
- [Hermes](https://composio.dev/toolkits/espocrm/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/espocrm/framework/cli)
- [Google ADK](https://composio.dev/toolkits/espocrm/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/espocrm/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/espocrm/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/espocrm/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/espocrm/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/espocrm/framework/crew-ai)

## Related Toolkits

- [Hubspot](https://composio.dev/toolkits/hubspot) - HubSpot is an all-in-one marketing, sales, and customer service platform. It lets teams nurture leads, automate outreach, and track every customer interaction in one place.
- [Pipedrive](https://composio.dev/toolkits/pipedrive) - Pipedrive is a sales management platform offering pipeline visualization, lead tracking, and workflow automation. It helps sales teams keep deals moving forward efficiently and never miss a follow-up.
- [Salesforce](https://composio.dev/toolkits/salesforce) - Salesforce is a leading CRM platform that helps businesses manage sales, service, and marketing. It centralizes customer data, enabling teams to drive growth and build strong relationships.
- [Apollo](https://composio.dev/toolkits/apollo) - Apollo is a CRM and lead generation platform that helps businesses discover contacts and manage sales pipelines. Use it to streamline customer outreach and track your deals from one place.
- [Attio](https://composio.dev/toolkits/attio) - Attio is a customizable CRM and workspace for managing your team's relationships and workflows. It helps teams organize contacts, automate tasks, and collaborate more efficiently.
- [Acculynx](https://composio.dev/toolkits/acculynx) - AccuLynx is a cloud-based roofing business management software for contractors. It streamlines project tracking, lead management, and document sharing.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Affinity](https://composio.dev/toolkits/affinity) - Affinity is a relationship intelligence CRM that helps private capital investors find, manage, and close more deals. It streamlines deal flow and surfaces key connections to help you win opportunities.
- [Agencyzoom](https://composio.dev/toolkits/agencyzoom) - AgencyZoom is a sales and performance platform built for P&C insurance agencies. It helps agents boost sales, retain clients, and analyze producer results in one place.
- [Bettercontact](https://composio.dev/toolkits/bettercontact) - Bettercontact is a smart contact enrichment tool for finding emails and phone numbers. It helps boost lead generation with automated, waterfall search across multiple sources.
- [Blackbaud](https://composio.dev/toolkits/blackbaud) - Blackbaud provides cloud-based software for nonprofits, schools, and healthcare institutions. It streamlines fundraising, donor management, and mission-driven operations.
- [Brilliant directories](https://composio.dev/toolkits/brilliant_directories) - Brilliant Directories is an all-in-one platform for building and managing online membership communities and business directories. It streamlines listings, member management, and engagement tools into a single, easy interface.
- [Capsule crm](https://composio.dev/toolkits/capsule_crm) - Capsule CRM is a user-friendly CRM platform for managing contacts and sales pipelines. It helps businesses organize relationships and streamline their sales process efficiently.
- [Centralstationcrm](https://composio.dev/toolkits/centralstationcrm) - CentralStationCRM is an easy-to-use CRM software focused on collaboration and long-term customer relationships. It helps teams manage contacts, deals, and communications all in one place.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Close](https://composio.dev/toolkits/close) - Close is a CRM platform built for sales teams, combining calling, email automation, and predictive dialers. It streamlines sales workflows and boosts productivity with all-in-one communication tools.
- [Dropcontact](https://composio.dev/toolkits/dropcontact) - Dropcontact is a B2B email finder and data enrichment service for professionals. It delivers verified email addresses and enriches contact info with up-to-date data.
- [Dynamics365](https://composio.dev/toolkits/dynamics365) - Dynamics 365 is Microsoft's platform combining CRM, ERP, and productivity apps. It streamlines sales, marketing, service, and operations in one place.
- [Fireberry](https://composio.dev/toolkits/fireberry) - Fireberry is a CRM platform that streamlines customer and sales management. It helps businesses organize contacts, automate sales, and integrate with other business tools.
- [Firmao](https://composio.dev/toolkits/firmao) - Firmao is a business information platform offering company, industry, and market data. Use it to quickly research firms and gain competitive market insights.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Espocrm MCP?

With a standalone Espocrm MCP server, the agents and LLMs can only access a fixed set of Espocrm tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Espocrm and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with OpenClaw?

Yes, you can. OpenClaw fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Espocrm tools.

### Can I manage the permissions and scopes for Espocrm while using Tool Router?

Yes, absolutely. You can configure which Espocrm scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Espocrm data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
