QZ

qpiai/zoho-projects-mcp

开发工具

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

9 stars 7 forks 质量 66 趋势 7MIT

这是用于 Zoho 项目的 mcp 服务器

概览

一个提供与Zoho Projects API集成的模型上下文协议(MCP)服务器. 这个服务器使AI助手能够与Zoho Projects互动,管理项目,任务,问题,里程碑等等. - 列出所有门户 - 获取门户细节 - 列出项目 - 获取项目细节 - 创建新项目 - 更新现有项目 - 删除项目(移至废件) - 列表任务(门户或工程级别) - 获取任务细节 - 创建任务 - 更新任务 - 删除任务 - 清单问题(门户或项目层面) - 获取问题细节 - 创建问题 - 更新问题 - 跨门户或项目搜索 - 按模块过滤(项目、任务、问题、里程碑、论坛、活动) 1. (v18或更高) 2. 有API访问 3. 1.去Zoho API Console 2. 点击按钮 3. 选择(推荐个人使用)或 4. 填写申请详情: - 例如:.

概述(AI 翻译)

一个提供与Zoho Projects API集成的模型上下文协议(MCP)服务器. 这个服务器使AI助手能够与Zoho Projects互动,管理项目,任务,问题,里程碑等等.

□ 特性

  • 支助业务
  • ** 门户管理**

  • 列出所有门户

  • 获取门户细节

  • ** 项目管理**

  • 列出项目

  • 获取项目细节

  • 创建新项目

  • 更新现有项目

  • 删除工程(移至垃圾)

  • ** 任务管理**

  • 清单任务(门户或项目级别)

  • 获取任务细节

  • 创建任务

  • 更新任务

  • 删除任务

  • ** 议题管理**

  • 清单问题(门户或项目一级)

  • 获取问题的细节

  • 创造问题

  • 最新情况

  • ** 阶段/石块管理**

  • 清单阶段

  • 创建阶段

  • ** 搜索**

  • 跨门户或项目搜索

  • 按模块过滤(项目、任务、问题、里程碑、论坛、活动)

  • 用户管理

  • 门户或项目中的用户名单

□ 先决条件

  1. 节点js(v18或以上)
  2. Zoho项目账户 具有API访问权限
  3. ** Zoho OAuth 全权证书**

□ 设置

  1. 获得Zoho OAuth证书(详细指南)

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

README

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

Zoho Projects MCP Server

A Model Context Protocol (MCP) server that provides integration with Zoho Projects API. This server enables AI assistants to interact with Zoho Projects for managing projects, tasks, issues, milestones, and more.

Features

Supported Operations

  • Portal Management

    • List all portals
    • Get portal details
  • Project Management

    • List projects
    • Get project details
    • Create new projects
    • Update existing projects
    • Delete projects (move to trash)
  • Task Management

    • List tasks (portal or project level)
    • Get task details
    • Create tasks
    • Update tasks
    • Delete tasks
  • Issue Management

    • List issues (portal or project level)
    • Get issue details
    • Create issues
    • Update issues
  • Phase/Milestone Management

    • List phases
    • Create phases
  • Search

    • Search across portal or project
    • Filter by module (projects, tasks, issues, milestones, forums, events)
  • User Management

    • List users in portal or project

Prerequisites

  1. Node.js (v18 or higher)
  2. Zoho Projects Account with API access
  3. Zoho OAuth Credentials

Setup

1. Get Zoho OAuth Credentials (Detailed Guide)

Step 1: Create a Zoho Developer Application

  1. Go to Zoho API Console
  2. Click “Add Client” button
  3. Choose “Self Client” (recommended for personal use) or “Server-based Applications”
  4. Fill in the application details:
    • Client Name: e.g., “Zoho Projects MCP”
    • Homepage URL: Your website or http://localhost for testing
    • Authorized Redirect URIs: http://localhost:8080/callback (or your preferred redirect URL)
  5. Click “Create” and note down:
    • Client ID (e.g., 1000.XXXXXXXXXX)
    • Client Secret (keep this secure!)

Step 2: Generate Authorization Code

  1. Build the authorization URL with required scopes:

    https://accounts.zoho.{REGION}/oauth/v2/auth?
      scope=ZohoProjects.portals.ALL,ZohoProjects.projects.ALL,ZohoProjects.tasks.ALL,ZohoProjects.bugs.ALL,ZohoProjects.milestones.ALL,ZohoProjects.users.READ,ZohoSearch.securesearch.READ
      &client_id=YOUR_CLIENT_ID
      &response_type=code
      &access_type=offline
      &redirect_uri=YOUR_REDIRECT_URI
    

    Replace {REGION} with your region:

    • US: com
    • EU: eu
    • IN: in
    • AU: com.au
    • CN: com.cn
  2. Open this URL in your browser

  3. Log in to your Zoho account and authorize the application

  4. You’ll be redirected to your redirect URI with a code parameter in the URL:

    http://localhost:8080/callback?code=1000.XXXXX.XXXXX&location=in&accounts-server=https://accounts.zoho.in
    
  5. Copy the code value (valid for ~2 minutes, use it immediately!)

Step 3: Exchange Code for Tokens

Use this curl command to get your access and refresh tokens:

curl -X POST https://accounts.zoho.{REGION}/oauth/v2/token \
  -d "code=YOUR_AUTHORIZATION_CODE" \
在 GitHub 查看完整 README

安装

docker run -i --rm --env-file /absolute/path/to/zoho-mcp/.env zoho-mcp-stdio
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "zoho-projects": { "command": "node", "args": ["/absolute/path/to/zoho-mcp/dist/index.js"], "env": { "ZOHO_ACCESS_TOKEN": "your_access_token_here", "ZOHO_REFRESH_TOKEN": "your_refresh_token_here", "ZOHO_CLIENT_ID": "your_client_id_here", "ZOHO_CLIENT_SECRET": "your_client_secret_here", "ZOHO_PORTAL_ID": "your_portal_id_here", "ZOHO_API_DOMAIN": "https://projectsapi.zoho.in", "ZOHO_ACCOUNTS_DOMAIN": "https://accounts.zoho.in" } } } }