ZA

zoho/analytics-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 17 forks 质量 87 趋势 38MIT

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

概览

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. 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. If you prefer to use the pre-built Docker image, you can pull it directly from Docker Hub: To configure the Zoho Analytics MCP Server, you need to provide OAuth credentials (Client ID, Client Secret, and Refresh Token) as environment variables.

README

以下为原文 README 节选,完整内容请查看原文。

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:

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:

  Variable
  Description




  ANALYTICS_CLIENT_ID
  Your Zoho Analytics OAuth client ID


  ANALYTICS_CLIENT_SECRET
  Your Zoho Analytics OAuth client secret


  ANALYTICS_REFRESH_TOKEN
  Your Zoho Analytics OAuth refresh token


  ANALYTICS_ORG_ID
  Your Zoho Analytics organization ID


  ANALYTICS_MCP_DATA_DIR
  Directory for storing temporary data files


  ACCOUNTS_SERVER_URL
  Your Zoho Analytics Accounts Domain URL (https://accounts.zoho.com)


  ANALYTICS_SERVER_URL
在 GitHub 查看完整 README

安装

docker 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
新手?先看 mcpskill.org 教程 →

配置

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