zoho-crm-mcp
Provides tools for querying and managing Zoho CRM data, including modules, fields, records, and related lists, with support for COQL queries and metadata discovery.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@zoho-crm-mcpshow deals closing this month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
/docsUI for manual testing.Single plain-text
/queryendpoint 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.
Related MCP server: Zoho CRM MCP Server
Repository Safety
These files are intentionally ignored and should not be committed:
.envzoho_metadata.jsonknowledge_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-miniInstall dependencies:
python3 -m pip install -r requirements.txtDiscover modules, fields, and related lists:
python3 discover_zoho.pyThis creates local zoho_metadata.json.
Run MCP Server
python3 zoho_mcp_server.pyExample MCP client config:
{
"mcpServers": {
"zoho-crm": {
"command": "python3",
"args": [
"/absolute/path/to/zoho_mcp_server.py"
]
}
}
}MCP Tools
refresh_metadatalist_modulesget_module_fieldsget_related_listssearch_recordsget_recordsget_recordget_related_recordsquery_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 8000Open:
http://127.0.0.1:8000/docsUseful endpoints:
POST /queryGET /queryGET /modulesGET /modules/{module}/fieldsGET /modules/{module}/related-listsGET /records/{module}POST /recordsGET /records/{module}/searchPOST /records/searchGET /record/{module}/{record_id}POST /related-recordsPOST /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 contactsOther 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 invoicesThe /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=rulesUse the LLM tool-calling agent:
POST /query?mode=agentThis server cannot be deployed
Maintenance
Related MCP Connectors
Let AI agents query data and act across all your business apps via MCP.
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
The HubSpot MCP Server acts as a bridge that enables AI assistants and Large Language Models to securely interact with HubSpot CRM data through natural conversation, without requiring users to understand complex API structures. It provides read-only access to standard CRM objects (contacts, companies, deals, tickets, products, invoices, and more) and their associations, secured via OAuth 2.0, allowing AI agents to perform tasks like summarizing deals, fetching company updates, and looking up record changes.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables read-only interaction with Zoho CRM data through natural language queries, allowing users to search records, list modules, retrieve field information, and count records using secure OAuth authentication.2-
- FlicenseBqualityDmaintenanceExposes Zoho CRM v6 REST API as structured tools for LLM agents via MCP, enabling CRUD operations, search, COQL queries, and more.113-
- AlicenseNot gradedqualityCmaintenanceEnables querying and modifying Salesforce data (Accounts, Contacts, Opportunities, Leads, Cases) via MCP tools.31 npmMIT
- FlicenseAqualityBmaintenanceEnables users to connect to Salesforce and perform CRUD operations, run SOQL/SOSL queries, and manage records through a lightweight MCP server with built-in safety gates for writes.9-