KZ

kkeeling/zoho-mcp

开发工具

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

38 stars 21 forks 质量 66 趋势 0MIT

kkeeling/zoho-mcp 是从 https://github.com/kkeeling/zoho-mcp. 导入的 MCP 服务器候选。

概览

kkeeling/zoho-mcp 是从 https://github.com/kkeeling/zoho-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

通过模型上下文协议(MCP),将您的Zoho Books账户连接到像Claude Desktop这样的AI助手。

快速启动

1.获取Zoho API凭证

  1. 前往Zoho API控制台
  2. 创建一个“基于服务器的应用程序”
  3. 添加重定向 URI:http://localhost:8099/callback
  4. 选择范围:ZohoBooks.fullaccess.all
  5. 保存您的客户ID、客户机密和组织ID

2.通过 uvx 安装

添加到你的Claude桌面配置中:

获取刷新代币:uvx zoho-books-mcp --setup-oauth

3.重启 Claude Desktop

找🔌图标来确认连接。

地方发展

关于 Claude Desktop 的本地开发:

可用功能

工具

发票:create_invoice、email_invoice、record_payment、send_payment_reminder、void_invoice、list_invoices、get_invoice、mark_invoice_as_sent

联系人:create_customer、create_vendor、update_contact、delete_contact、email_statement、list_contacts、get_contact

开销:create_expense、update_expense、categorize_expense、upload_receipt、list_expenses、get_expense

物品:create_item、update_item、list_items、get_item

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

README

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

Zoho Books MCP Server

Connect your Zoho Books account to AI assistants like Claude Desktop through the Model Context Protocol (MCP).

Quick Start

1. Get Zoho API Credentials

  1. Go to Zoho API Console
  2. Create a “Server-based Application”
  3. Add redirect URI: http://localhost:8099/callback
  4. Select scope: ZohoBooks.fullaccess.all
  5. Save your Client ID, Client Secret, and Organization ID

2. Install via uvx

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "zoho-books": {
      "command": "uvx",
      "args": ["zoho-books-mcp"],
      "env": {
        "ZOHO_CLIENT_ID": "your_client_id",
        "ZOHO_CLIENT_SECRET": "your_client_secret",
        "ZOHO_REFRESH_TOKEN": "your_refresh_token",
        "ZOHO_ORGANIZATION_ID": "your_organization_id",
        "ZOHO_REGION": "US"
      }
    }
  }
}

To get a refresh token: uvx zoho-books-mcp --setup-oauth

3. Restart Claude Desktop

Look for the 🔌 icon to verify connection.

Local Development

# Clone and setup
git clone https://github.com/kkeeling/zoho-mcp.git
cd zoho-mcp
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

# Run tests
pytest

# Run server
python server.py

For local development in Claude Desktop:

{
  "mcpServers": {
    "zoho-books": {
      "command": "/path/to/venv/bin/python",
      "args": ["/path/to/zoho-mcp/server.py"],
      "env": {
        "ZOHO_CLIENT_ID": "your_client_id",
        "ZOHO_CLIENT_SECRET": "your_client_secret",
        "ZOHO_REFRESH_TOKEN": "your_refresh_token",
        "ZOHO_ORGANIZATION_ID": "your_organization_id",
        "ZOHO_REGION": "US"
      }
    }
  }
}

Available Features

Tools

Invoices: create_invoice, email_invoice, record_payment, send_payment_reminder, void_invoice, list_invoices, get_invoice, mark_invoice_as_sent

Contacts: create_customer, create_vendor, update_contact, delete_contact, email_statement, list_contacts, get_contact

Expenses: create_expense, update_expense, categorize_expense, upload_receipt, list_expenses, get_expense

Items: create_item, update_item, list_items, get_item

Sales Orders: create_sales_order, update_sales_order, convert_to_invoice, list_sales_orders, get_sales_order

Resources

  • dashboard://summary - Business metrics overview
  • invoice://overdue - Overdue invoices list
  • invoice://unpaid - Unpaid invoices
  • payment://recent - Recent payments
  • contact://list - All contacts
  • expenses://summary - Expense overview

Prompts

  • invoice_collection_workflow - Complete invoice-to-payment cycle
  • monthly_invoicing - Bulk invoice creation
  • expense_tracking_workflow - Expense recording and categorization

Configuration

Regions

Troubleshooting

在 GitHub 查看完整 README

安装

uvx zoho-books-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "zoho-books": { "command": "uvx", "args": ["zoho-books-mcp"], "env": { "ZOHO_CLIENT_ID": "your_client_id", "ZOHO_CLIENT_SECRET": "your_client_secret", "ZOHO_REFRESH_TOKEN": "your_refresh_token", "ZOHO_ORGANIZATION_ID": "your_organization_id", "ZOHO_REGION": "US" } } } }