Zoho Analytics MCP Server logo

Zoho Analytics MCP Server

Organization
zoho

The Zoho Analytics MCP Server (Beta) implements the Model Context Protocol (MCP), a standardized interface that enables AI models to interact seamlessly with applications. This middleware solution…

Publisherzoho
Repositoryanalytics-mcp-server
LanguagePython
Forks
13
Stars
11
Available tools
0
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Zoho Analytics MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    11 stars and 13 forks from the linked repository.

Zoho Analytics MCP Server

The Zoho Analytics MCP Server (Beta) implements the Model Context Protocol (MCP), a standardized interface that enables AI models to interact seamlessly with applications. This middleware solution bridges the connection between AI agents and Zoho Analytics, providing powerful data analysis capabilities through a unified interface.

Note: The Zoho Analytics MCP project is currently in its early development (Beta) phase. As we continue to improve and refine its features, the available tools and functionalities may change.

Getting Started

  1. Docker Image Setup
  2. Configuring Environment Variables
  3. Remote MCP Server Setup (Hosted Option)
  4. Integrating with MCP Hosts

1. Docker Image Setup

System Requirements To build the Zoho Analytics MCP server from source, you need to have Docker installed on your system. Before setup, please make sure to have docker and a container runtime installed in your device.

Pull Docker Image

If you prefer to use the pre-built Docker image, you can pull it directly from Docker Hub:

bash
docker pull zohoanalytics/mcp-server:latest

2. Configuring Environment Variables

Obtaining OAuth Credentials To configure the Zoho Analytics MCP Server, you need to provide OAuth credentials (Client ID, Client Secret, and Refresh Token) as environment variables. Follow these steps to generate them:

  1. Go to the Zoho Developer Console
  2. Create a new Self-Client application.
  3. Enable the Zoho Analytics API scope.
  4. Generate your Refresh Token. For detailed instructions, refer to the official API Authentication Documentation.

Required Environment Variables

Configure these essential variables before integrating with the MCP Hosts:

Other Environment variables

The following is a list of other optional environment variables:

3. Remote MCP Server Setup (Self-Hosted)

Remote MCP lets you host Zoho Analytics MCP once and share it with your organization over HTTP(S), removing local Docker installs, manual OAuth steps, and per-user updates. Authentication, token lifecycle, and upgrades are handled centrally so end users just point their MCP client to a single URL.

Client configuration

Any MCP host that supports the HTTP transport can point to your hosted instance:

json
{
  "mcpServers": {
    "ZohoAnalyticsMCP": {
      "url": "<hosted-mcp-server-url>",
      "type": "http"
    }
  }
}

or simply add the in the corresponding location the MCP host requires. Check the documentation of your MCP host for more details.

Self-hosting Setup Instructions

  1. Register a static OAuth client in the Zoho Developer Console (server-based application). Set the redirect URI to <your-public-url>/auth/callback and record the client ID/secret.
  2. Create a .env file for the hosted server with the variables below:

Before configuring and running the Remote MCP server, please check the Security Guidelines for best practices on securing your hosted instance.

  1. Run the Remote MCP container on the host machine:
bash
docker run --name remote-mcp-server \
    --network=host \
    --env-file .env \
    zohoanalytics/mcp-server:remote-v1.1

Once the container is running, share MCP_SERVER_PUBLIC_URL with your users; their MCP clients will connect over HTTP without any local setup.

4. Integrate with MCP Hosts

Zoho Analytics MCP Server can be integrated with any MCP host. Below are some sample integrations that demonstrate how this can be done.

Claude Desktop Configuration

To configure the Zoho Analytics MCP server with Claude Desktop, add the following configuration to your Claude settings:

  1. Install Claude Desktop in your system.
  2. Open the Claude Desktop application and navigate to Settings > Developer tab.
  3. Click Edit Config to configure (claude_desktop_config.json) with your MCP server details.
json
{
  "mcpServers": {
    "ZohoAnalyticsMCP": {
      "command": "docker",
      "args": [
        "run",
        "-e", "ANALYTICS_CLIENT_ID=<YOUR_ANALYTICS_CLIENT_ID>",
        "-e", "ANALYTICS_CLIENT_SECRET=<YOUR_ANALYTICS_CLIENT_SECRET>",
        "-e", "ANALYTICS_REFRESH_TOKEN=<YOUR_ANALYTICS_REFRESH_TOKEN>",
        "-e", "ANALYTICS_ORG_ID=<YOUR_ANALYTICS_ORG_ID>",
        "-e", "ANALYTICS_MCP_DATA_DIR=<YOUR_ANALYTICS_MCP_DATA_DIR>",
        "--network=host",
        "-i",
        "--rm",
        "-v", "<YOUR_ANALYTICS_MCP_DATA_DIR>:<YOUR_ANALYTICS_MCP_DATA_DIR>",
        "zohoanalytics/mcp-server"
      ]
    }
  }
}

VSCode Configuration

To configure the Zoho Analytics MCP server with Visual Studio Code:

  1. Install the VSCode in your system.
  2. Open the VSCode application and navigate to Settings.
  3. In the Settings page, search for MCP configurations. Select the Edit in settings.json option to configure the MCP server.
json
{
  "servers": {
    "zoho_analytics_mcp_server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-e", "ANALYTICS_CLIENT_ID=<YOUR_ANALYTICS_CLIENT_ID>",
        "-e", "ANALYTICS_CLIENT_SECRET=<YOUR_ANALYTICS_CLIENT_SECRET>",
        "-e", "ANALYTICS_REFRESH_TOKEN=<YOUR_ANALYTICS_REFRESH_TOKEN>",
        "-e", "ANALYTICS_ORG_ID=<YOUR_ANALYTICS_ORG_ID>",
        "-e", "ANALYTICS_MCP_DATA_DIR=<YOUR_LOCAL_DATA_DIR>",
        "--network=host",
        "-i",
        "--rm",
        "-v", "<YOUR_LOCAL_DATA_DIR>:<YOUR_LOCAL_DATA_DIR>",
        "zohoanalytics/mcp-server"
      ]
    }
  }
}

Cursor Configuration

To configure the Zoho Analytics MCP server with Cursor:

  1. Install the Cursor in your system.
  2. Open the Cursor application and navigate to Settings > Tools and Integrations.
  3. Click the Add Custom MCP menu to enter your server configuration details, and Save.
json
{
  "mcpServers": {
    "ZohoAnalyticsMCP": {
      "command": "docker",
      "args": [
        "run",
        "-e", "ANALYTICS_CLIENT_ID=<YOUR_ANALYTICS_CLIENT_ID>",
        "-e", "ANALYTICS_CLIENT_SECRET=<YOUR_ANALYTICS_CLIENT_SECRET>",
        "-e", "ANALYTICS_REFRESH_TOKEN=<YOUR_ANALYTICS_REFRESH_TOKEN>",
        "-e", "ANALYTICS_ORG_ID=<YOUR_ANALYTICS_ORG_ID>",
        "-e", "ANALYTICS_MCP_DATA_DIR=<YOUR_ANALYTICS_MCP_DATA_DIR>",
        "--network=host",
        "-i",
        "--rm",
        "-v", "<YOUR_ANALYTICS_MCP_DATA_DIR>:<YOUR_ANALYTICS_MCP_DATA_DIR>",
        "zohoanalytics/mcp-server"
      ]
    }
  }
}

Tools List

The Zoho Analytics MCP server provides various tools for interacting with Zoho Analytics.

Example Prompts

Here are some example prompts illustrating how you can interact with the Zoho Analytics MCP Server and the kinds of responses you might receive:

Example 1: Data Queries

Prompt:

Can you provide me with details of the top 5 best-selling products in the last quarter, including their names, sales figures, and profit margins?

Response:

Sure! Here are the details of the top 5 best-selling products in the last quarter:
1. XPro Smartphone
   - Sales Figures: $500,000
   - Profit Margin: 20%
2. UltraHD 4K Smart TV (55")
   - Sales Figures: $450,000
   - Profit Margin: 25%
3. Wireless Noise-Cancelling Headphones
   - Sales Figures: $419,500
   - Profit Margin: 15%
4. Fit Pro Smartwatch
   - Sales Figures: $350,000
   - Profit Margin: 30%
5. Home Assistant Smart Speaker
   - Sales Figures: $300,700
   - Profit Margin: 18%

Example 2: Entity Creation

Prompt:

Can you create a new table called "Customer Feedback" with the following columns: Customer ID, Product ID, Feedback Date, Rating (1-5), and Comments?

Once done, can you also insert a sample record into the "Customer Feedback" table with the following details: Customer ID: 12345, Product ID: 67890, Feedback Date: 2024-06-01, Rating: 4, Comments: "Great product, but delivery was delayed."

Response:

Table "Customer Feedback" created successfully with the specified columns, and the sample record has been inserted. Please check the table at: analytics.zoho.com/workspaces/<workspace-id>/view/<view-id>

Example 3: Report Creation

Prompt:

Can you create a report that shows the monthly sales for the top 3 products over the last year?

Response:

The report showing the monthly sales for the top 3 products over the last year has been created.

The created report in analytics:

Report Example

Troubleshooting

For common issues:

  1. Authentication Problems:
    • Verify all OAuth credentials
    • Ensure tokens have proper permissions
    • Check token expiration status
  2. Connection Issues:
    • Confirm if the Docker container is running
    • Validate network connectivity
    • Check firewall settings
  3. Data Center Errors:
    • Verify ANALYTICS_SERVER_URL and ACCOUNTS_SERVER_URL matches your organization's region
    • Ensure the location code is correct (case-sensitive)
  4. File System Problems:
    • Confirm if the data directory exists
    • Check directory permissions
    • Verify sufficient disk space

Installation

TypingMind
{
  "mcpServers": {
    "analytics-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-e",
        "ANALYTICS_CLIENT_ID={{config.ANALYTICS_CLIENT_ID}}",
        "-e",
        "ANALYTICS_CLIENT_SECRET={{config.ANALYTICS_CLIENT_SECRET}}",
        "-e",
        "ANALYTICS_REFRESH_TOKEN={{config.ANALYTICS_REFRESH_TOKEN}}",
        "-e",
        "ANALYTICS_ORG_ID={{config.ANALYTICS_ORG_ID}}",
        "-e",
        "ANALYTICS_MCP_DATA_DIR={{config.ANALYTICS_MCP_DATA_DIR}}",
        "--network=host",
        "-i",
        "--rm",
        "-v",
        "{{config.ANALYTICS_MCP_DATA_DIR}}:{{config.ANALYTICS_MCP_DATA_DIR}}",
        "zohoanalytics/mcp-server"
      ],
      "env": {
        "ANALYTICS_CLIENT_ID": "<ANALYTICS_CLIENT_ID>",
        "ANALYTICS_CLIENT_SECRET": "<ANALYTICS_CLIENT_SECRET>",
        "ANALYTICS_REFRESH_TOKEN": "<ANALYTICS_REFRESH_TOKEN>",
        "ANALYTICS_ORG_ID": "<ANALYTICS_ORG_ID>",
        "ANALYTICS_MCP_DATA_DIR": "<ANALYTICS_MCP_DATA_DIR>"
      }
    }
  }
}

Use Zoho Analytics MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Zoho Analytics MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Zoho Analytics MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Zoho Analytics MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "analytics-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Zoho Analytics MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Zoho Analytics MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Zoho Analytics MCP Server to help me with this task?
Zoho Analytics MCP Server
Sure. I read it.
Here is what I found using Zoho Analytics MCP Server.

Option 2: Add an MCP server URL

Use this when Zoho Analytics MCP Server is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter the MCP server URL from the provider in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste the MCP server URL from the provider into the Server URL field.
  2. Enter a connection name for Zoho Analytics MCP Server.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Zoho Analytics MCP Server connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Zoho Analytics MCP Server tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Zoho Analytics MCP Server tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Zoho Analytics MCP Server to help me with this task?
Zoho Analytics MCP Server
Sure. I read it.
Here is what I found using Zoho Analytics MCP Server.

Frequently asked questions

What is the Zoho Analytics MCP Server MCP server used for?

Zoho Analytics MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Zoho Analytics MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Zoho Analytics MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Zoho Analytics MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Zoho Analytics MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Zoho Analytics MCP Server MCP to TypingMind?

Zoho Analytics MCP Server can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does Zoho Analytics MCP Server MCP provide in TypingMind?

Zoho Analytics MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Zoho Analytics MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Zoho Analytics MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇