zoho-crm-mcp

zoho-crm-mcp

Provides live Zoho CRM data access via MCP tools, enabling queries on modules, records, fields, and related lists without syncing data.

Category
Visit Server

README

Zoho CRM MCP

MCP server and optional FastAPI wrapper for live Zoho CRM data access.

This project does not sync CRM data into a database or knowledge graph. Zoho remains the source of truth. The server discovers your Zoho modules, fields, and related lists, then exposes generic tools that can query standard modules, custom modules, subforms, and linking modules through Zoho's API names.

What This Provides

  • MCP server for agent/client integrations.
  • FastAPI /docs UI for manual testing.
  • Single plain-text /query endpoint for simple natural-language CRM lookups.
  • Zoho metadata discovery for modules, fields, and related lists.
  • Generic module-aware tools instead of hardcoded Contacts/Deals-only logic.

Repository Safety

These files are intentionally ignored and should not be committed:

  • .env
  • zoho_metadata.json
  • knowledge_graph.db
  • __pycache__/

zoho_metadata.json contains schema metadata from your Zoho org. It does not contain synced CRM records, but it can still reveal internal module and field names, so keep it local.

Setup

Create a local .env:

ZOHO_CLIENT_ID=...
ZOHO_CLIENT_SECRET=...
ZOHO_REFRESH_TOKEN=...
OPENAI_API_KEY=...

Optional, depending on your Zoho data center:

ZOHO_ACCOUNTS_URL=https://accounts.zoho.in
ZOHO_API_DOMAIN=https://www.zohoapis.in
OPENAI_MODEL=gpt-4o-mini

Install dependencies:

python3 -m pip install -r requirements.txt

Discover modules, fields, and related lists:

python3 discover_zoho.py

This creates local zoho_metadata.json.

Run MCP Server

python3 zoho_mcp_server.py

Example MCP client config:

{
  "mcpServers": {
    "zoho-crm": {
      "command": "python3",
      "args": [
        "/absolute/path/to/zoho_mcp_server.py"
      ]
    }
  }
}

MCP Tools

  • refresh_metadata
  • list_modules
  • get_module_fields
  • get_related_lists
  • search_records
  • get_records
  • get_record
  • get_related_records
  • query_coql

Note: query_coql requires a Zoho refresh token with the correct COQL scope. If the token does not include that scope, normal record tools still work.

Optional Swagger UI

Start FastAPI:

uvicorn api:app --host 127.0.0.1 --port 8000

Open:

http://127.0.0.1:8000/docs

Useful endpoints:

  • POST /query
  • GET /query
  • GET /modules
  • GET /modules/{module}/fields
  • GET /modules/{module}/related-lists
  • GET /records/{module}
  • POST /records
  • GET /records/{module}/search
  • POST /records/search
  • GET /record/{module}/{record_id}
  • POST /related-records
  • POST /coql

Plain-Text Query Endpoint

POST /query takes a raw text body and returns plain text. By default it uses the LLM agent wrapper above the MCP tools.

Example body:

latest contacts

Other examples:

find contacts matching Amit
top 5 revenue accounts
deals closing this month
what fields are in Accounts
what related lists are in Contacts
latest invoices

The /query endpoint is intentionally pragmatic. It handles common CRM lookups and a few analytical shortcuts. For deep analytics, add COQL scope or later add a materialized analytical store such as Postgres or DuckDB.

Use the deterministic rule-based fallback if needed:

POST /query?mode=rules

Use the LLM tool-calling agent:

POST /query?mode=agent

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured