
zoho creator mcp
Zoho Creator API MCP Server Impl
Repository Info
About This Server
Zoho Creator API MCP Server Impl
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Zoho Creator MCP Server
This repository contains a Model Context Protocol (MCP) server implementation for Zoho Creator, allowing you to interact with Zoho Creator applications programmatically through the Model Context Protocol (MCP).
Overview
The Zoho Creator MCP server acts as a bridge between AI assistants that implement the Model Context Protocol (like Claude) and the Zoho Creator API. This allows AI assistants to perform operations on your Zoho Creator applications, such as fetching records, updating data, and more.
Prerequisites
- Node.js (v18 or later)
- npm (v8 or later)
- Zoho Creator account with API access
- Git
Getting Started
Clone the Repository
git clone https://github.com/kamal157/zoho-creator-mcp.git
cd zoho-creator-mcp
Install Dependencies
npm install
Configuration
- Create a
.envfile in the root directory with the following variables:
ZOHO_CLIENT_ID=your_client_id
ZOHO_CLIENT_SECRET=your_client_secret
ZOHO_REDIRECT_URI=http://localhost:3000/oauth/callback
ZOHO_ACCOUNT_OWNER=your_zoho_account_email
MCP_PORT=8000
ZOHO_ACCOUNTS_DOMAIN=https://accounts.zoho.in
ZOHO_API_DOMAIN=https://zohoapis.in/creator
Replace your_client_id and your_client_secret with your Zoho API credentials.
Important:
ZOHO_ACCOUNT_OWNERshould be set to your Zoho account email address. This is crucial for API access.ZOHO_ACCOUNTS_DOMAINandZOHO_API_DOMAINare region-specific. Modify them based on your Zoho Creator domain:- US:
https://accounts.zoho.comandhttps://zohoapis.com/creator - India:
https://accounts.zoho.inandhttps://zohoapis.in/creator - Europe:
https://accounts.zoho.euandhttps://zohoapis.eu/creator - Australia:
https://accounts.zoho.com.auandhttps://zohoapis.com.au/creator - Others: Check Zoho documentation for your specific region
- US:
- Alternatively, you can update the
.zoho-creator-credentials.jsonfile with your access token information.
Setting Up Zoho Creator API Access
- Go to the Zoho Developer Console
- Create a new client (Server Based-Client)
- Set the redirect URI to
http://localhost:3000/oauth/callback - Make a note of the Client ID and Client Secret
- Add these values to your
.envfile
Running the Server
Development Mode
npm run dev
This runs the server using ts-node for development purposes.
Production Mode
npm run build
npm run start
The build command compiles TypeScript to JavaScript in the dist directory, and start runs the compiled code.
Authentication Flow
When you start the MCP server for the first time:
- The server will detect that you don't have valid authentication tokens
- It will initiate the OAuth flow by opening your browser to the Zoho authorization page
node ./dist/zc-mcp-server.js -- auth or npm run start -- auth - Copy the URL displayed on the Terminal and navigate,You'll be prompted to log in to your Zoho account and authorize the application
- After authorization, Zoho will redirect to your callback URL (
http://localhost:3000/oauth/callback) - The server will process the callback, extract the authorization code, and exchange it for access and refresh tokens
- These tokens will be stored in the
.zoho-creator-credentials.jsonfile for future use
When you authorize the application, you'll see a screen like this:
!Zoho Creator Authorization Screen
The application will request permissions to access your Zoho Creator data, including:
- Get the list of dashboard applications
- Get the list of sections or components
- View records in a report
- Add/modify/delete records in Creator applications
- Read form metadata and options
API Endpoints
The MCP server implements the following Model Context Protocol endpoints:
POST /mcp/list_tools: List available tools for Zoho CreatorPOST /mcp/call_tool: Call a specific Zoho Creator tool
Additionally, the server provides:
- OAuth authentication flow for Zoho Creator
- Token refresh mechanism
Available Tools
The server provides tools to interact with Zoho Creator, including:
- Fetching applications
- Getting forms and reports
- Retrieving, adding, updating, and deleting records
- Getting field metadata
Authentication Process
The server automatically handles authentication through OAuth 2.0:
- When first accessing protected endpoints, the server will attempt to use the stored tokens
- If tokens are expired or missing, the server will initiate the OAuth flow
- After successful authentication, tokens are saved for future use
!Zoho Creator MPC Authentication Flow
Troubleshooting
Common Issues
Token Expiration
If you encounter authentication errors, your token might be expired. The server should handle token refresh automatically, but you may need to re-authenticate occasionally.
API Limits
Be mindful of Zoho Creator API limits. If you encounter rate limit errors, reduce the frequency of your requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Integration with AI Assistants
GitHub Copilot
To integrate with GitHub Copilot, add the following configuration to GitHub settings.json file:
"zoho-creator-mcp":{
"type": "sse",
"url": "http://localhost:8000/mcp"
},
Claude IDE
To integrate with Claude IDE, add the following configuration to your Claude settings:
"mcp": {
"providers": {
"zoho-creator-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8000/mcp"
]
}
}
}
Acknowledgments
- Model Context Protocol for the SDK
- Zoho Creator for the API
Quick Start
Clone the repository
git clone https://github.com/kamal157/zoho-creator-mcpInstall dependencies
cd zoho-creator-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.