Case study · AI Agent Engineering

AI Agent for Zoho CRM via Custom MCP Server

We engineered a custom Model Context Protocol server that connects Anthropic Claude and OpenAI directly to Zoho CRM, so LLMs can act on live CRM data from inside the CRM itself. It ships four composable server scopes and two native widget UIs, a chat and a bulk panel, and runs in production with zero tool call failures.

See the solution
0Tool call failures in production
4Composable server scopes
2LLM providers: Claude and OpenAI
2Native widget UIs: chat and bulk panel
PlatformCustom MCP server
LLM providersAnthropic (Claude) + OpenAI
Target systemZoho CRM
Key outcomeLLMs acting directly on live CRM data
Discovery & architecture

How the custom MCP server was built

A custom server, not a pre-packaged connector, that exposes scoped Zoho CRM tools to any MCP-compatible LLM client and handles authentication, tool registration, scope enforcement and response routing.

01

MCP server design & tool registration

Registered each CRM capability as a discrete, scoped tool: read contacts, leads and deals, create and update records, search modules, manage activities, send emails, trigger workflows, access pipeline data and customise modules.

02

Zoho CRM OAuth scope configuration

Configured precise scopes per tool (modules.READ, modules.WRITE, bulk.READ, settings.ALL, send_mail) so each tool operates only within its authorised boundary.

03

Multi-LLM provider configuration

Made the server LLM-agnostic: Claude via Claude Desktop and Claude Code, and OpenAI GPT-4o via the Agents SDK, using the client's existing API subscriptions.

04

Web search tool integration

Added web research to the toolset so the agent merges live findings with CRM data before responding to a request for enriched contact or account information.

05

Tool scope grouping

Structured tools into composable servers: Data Insights, Data Operations, Module Management, and Workflow & Automation. The agent can invoke one scope or all.

06

Testing, validation & deployment

Validated each tool against live CRM data. Authentication, error handling and response formatting were tested across both Claude and OpenAI before deployment.

Solution delivered

What the agent can do inside Zoho CRM

Composable server groups and agent capabilities, available through a chat interface and a bulk processing panel embedded in the CRM.

Zoho CRM
Zoho CRM

Data Insights

  • Query contacts, leads, accounts and deals in natural language
  • Pipeline stage analysis and trend forecasting
  • Activity history and engagement scoring
  • Deal risk flagging and at-risk detection
  • Sales rep performance summaries
1 of 8
Key engineering decisions

Critical technical choices that made this agent work

Custom MCP

Custom MCP, not a pre-built connector

We built the MCP server from scratch rather than using a third-party wrapper. That gave full control over which tools are exposed, how scopes are enforced, how responses are formatted and how both Claude and OpenAI clients are handled, with no third-party dependency in the agent path.

LLM-agnostic

LLM-agnostic tool layer

The same tool definitions and Zoho CRM scopes work identically whether requests come from Claude Desktop, Claude Code or the OpenAI Agents SDK. Switching provider requires zero changes to the MCP server; only the client configuration changes.

Least privilege

Composable scoped tool groups

The agent connects to all four server scopes or any subset. A read-only research session uses only Data Insights; a full onboarding workflow uses all four.

Grounded

CRM context + web research = grounded intelligence

The most powerful mode combines live CRM data with real-time web research. The agent cites what it found in CRM and what it found on the web, separately, before drafting or reasoning.

Zoho CRM dataLive webAgentcombines bothAnswerCRM citationWeb citationcited separately
Tools
Scopes
Auth
Routing
Key outcomes & results

What the AI agent delivers in production

Zero

Tool call failures

All MCP tools validated and running cleanly in production: auth, scopes and response routing operating reliably.

Native

CRM widget

Agent accessible inside Zoho CRM: chat UI for Q&A and a bulk panel for list-based operations.

2LLM providers
Multi-LLM

Flexibility

Same MCP server works with Claude Desktop, Claude Code and the OpenAI SDK, on the client's existing API subscriptions.

Personalised email at scale

CRM-grounded, web-enriched emails for individual contacts or bulk lists, sent on confirmation.

Pipeline intelligence

Pipeline summaries, at-risk deal flags and forecast reasoning in natural language on demand.

Web-grounded responses

CRM context plus live web research for factually grounded AI outputs.

Bulk CRM operations

Bulk lead qualification, deal updates and contact enrichment through natural language in a single session.

Deep reasoning mode

Claude's extended thinking and OpenAI reasoning models analyse complex deal situations beyond simple Q&A.

Technology stack

Platforms, protocols & tools

Model Context Protocol

Model Context Protocol (MCP)

Custom MCP server: tool registration, scope enforcement, auth routing, LLM-agnostic tool definitions.

Claude

Claude

Claude Desktop + Claude Code with the client's API subscription, extended thinking mode, CRM-grounded reasoning.

OpenAI

OpenAI

OpenAI Agents SDK with the client's API subscription, reasoning model, same MCP tool layer.

Zoho CRM

Zoho CRM

Contacts, leads, deals, activities, emails, workflows and pipeline, with OAuth scoped access via MCP.

Zoho CRM Widget

Zoho CRM Widget

Chat UI plus Bulk Processing Panel for list-based, configurable bulk actions.

Web searchZoho Mail

Web Search + Email Engine

Live web research for real-time enrichment, plus Zoho CRM send_mail for CRM-tracked delivery.

Put an AI agent to work on your CRM data

Tell us about your CRM and the workflows you want to automate, and we will scope a custom MCP agent around your tools and your LLM subscriptions.