Logo Zoho Analytics MCP Server

Zoho Analytics MCP Server

Tổ chức
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…

Nhà phát hànhzoho
Kho mãanalytics-mcp-server
Ngôn ngữPython
Bản fork
13
Sao
11
Công cụ có sẵn
0
Phương thức truyền tảistdio, streamable-http
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Zoho Analytics MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    11 sao và 13 bản fork từ kho mã được liên kết.

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

Cài đặt

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>"
      }
    }
  }
}

Dùng MCP Zoho Analytics MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Zoho Analytics MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: Dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Zoho Analytics MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Zoho Analytics MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "analytics-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Zoho Analytics MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Zoho Analytics MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Zoho Analytics MCP Server giúp tôi làm việc này không?
Zoho Analytics MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Zoho Analytics MCP Server.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi Zoho Analytics MCP Server đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ.
  2. Nhập tên kết nối cho Zoho Analytics MCP Server.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối Zoho Analytics MCP Server hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của Zoho Analytics MCP Server trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của Zoho Analytics MCP Server trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Zoho Analytics MCP Server giúp tôi làm việc này không?
Zoho Analytics MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Zoho Analytics MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Zoho Analytics MCP Server dùng để làm gì?

Zoho Analytics MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Zoho Analytics MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Zoho Analytics MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Zoho Analytics MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Zoho Analytics MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Zoho Analytics MCP Server với TypingMind?

Bạn có thể kết nối Zoho Analytics MCP Server trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

MCP Zoho Analytics MCP Server cung cấp những công cụ nào trong TypingMind?

Zoho Analytics MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Zoho Analytics MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Zoho Analytics MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇