1. Conduid
  2. Productivity
  3. Zocli
MCP server · Productivity

Zocli

CLI, MCP server, and MCP Apps for Zoho Mail, Zoho Calendar, and Zoho WorkDrive.

34Low

Scored 6 months ago · breakdown

About Zocli

Zocli is an MCP server in the Productivity category: cLI, MCP server, and MCP Apps for Zoho Mail, Zoho Calendar, and Zoho WorkDrive.

Install

From source
git clone https://github.com/NextStat/zocli

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Zocli

Powered by Claude · Grounded in docs

I know everything about Zocli. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

zocli connects Zoho Mail, Zoho Calendar, and Zoho WorkDrive behind one clean contract for humans and agents. The same binary covers daily terminal work, agent-facing MCP integration, and hosted MCP Apps without forcing each client to learn three different service APIs.

Installation

macOS and Linux

curl -fsSL https://raw.githubusercontent.com/NextStat/zocli/main/scripts/install.sh | sh

Windows

irm https://raw.githubusercontent.com/NextStat/zocli/main/scripts/install.ps1 | iex

Prebuilt binaries for macOS x86_64/arm64, Linux x86_64/arm64, and Windows x86_64 are published in GitHub Releases.

cargo install --path .
zocli update
zocli update --check

For a private release mirror:

export ZOCLI_UPDATE_BASE_URL='https://mirror.example.test/releases/download/v0.2.4'
zocli update --check

Quick Start

Install zocli, register one Zoho account, authenticate once, and verify the core surfaces:

curl -fsSL https://raw.githubusercontent.com/NextStat/zocli/main/scripts/install.sh | sh
zocli add me@zoho.com
zocli login
zocli mcp install --client claude

If your Zoho account lives outside the default com datacenter, pass it explicitly during account setup, for example:

zocli add me@company.com --datacenter eu

Then verify the runtime:

zocli status
zocli mail folders
zocli calendar calendars
zocli drive info

What you get immediately:

  • a local CLI for Zoho Mail, Calendar, and WorkDrive;
  • an MCP server for Claude, Codex, Gemini, Cursor, and other compatible clients;
  • embedded prompts, skills, resources, and a hosted dashboard for MCP Apps;
  • one stable discovery surface through zocli guide.

Start with the guide

zocli guide is the source of truth for the stable CLI contract:

zocli guide
zocli guide --topic mail
zocli guide --topic calendar
zocli guide --topic drive

Daily Commands

Accounts and Auth

zocli add me@zoho.com
zocli accounts
zocli use work
zocli whoami
zocli status
zocli login
zocli logout mail
  • add derives the account alias from the email unless you pass one explicitly.
  • add no longer requires account_id; zocli login auto-discovers it after the first successful OAuth flow.
  • add can use the shared/default zocli OAuth app automatically. Use --client-id and --client-secret only as advanced overrides.
  • --datacenter matters for non-com Zoho accounts. Valid values are com, eu, in, com.au, jp, zohocloud.ca, sa, and uk.
  • login authenticates Zoho OAuth2 for mail, calendar, and drive unless you scope it to one service.
  • --profile <alias> can override the current account on any service command.

Mail

zocli mail folders
zocli mail list --limit 10
zocli mail search "invoice"
zocli mail read --folder-id 1111111111111111111 2222222222222222222
zocli mail send person@example.com "Meeting" "See you at 3pm"
zocli mail send person@example.com "Report" "Attached." --attachment ./report.pdf
zocli mail reply --folder-id 1111111111111111111 2222222222222222222 "Got it, thanks"
zocli mail forward --folder-id 1111111111111111111 2222222222222222222 person@example.com "FYI"
  • mail read, mail reply, and mail forward require both the folder ID and the message ID.
  • mail search is the fastest way to discover the message ID before a read or reply.
  • mail send supports text, HTML, cc, bcc, and repeated --attachment flags.

Calendar

zocli calendar calendars
zocli calendar events
zocli calendar events 2026-03-16 2026-03-23 --limit 20
zocli calendar create "Team Sync" 2026-03-16T09:00:00Z 2026-03-16T10:00:00Z
zocli calendar delete <event-uid>
  • Without explicit dates, events defaults to the next 30 days.
  • --calendar <calendar-uid> targets a non-default calendar.

WorkDrive

zocli drive info
zocli drive list
zocli drive list <folder-id> --limit 50
zocli drive upload ./report.pdf <folder-id>
zocli drive download <file-id> --output ./report.pdf
  • drive list without a folder ID lists available teams/workspaces.
  • WorkDrive operations use IDs, not path-like virtual locations.
  • drive download requires --output, and --force enables overwriting an existing file.

MCP

Run the server

zocli mcp
zocli mcp --transport http --listen 127.0.0.1:8787
zocli mcp --transport http --listen 127.0.0.1:8787 --public-url https://mcp.example.com/zocli

stdio works for traditional local MCP hosts. http adds Streamable HTTP plus SSE notifications for hosts that support remote MCP servers and UI resources.

Install into supported clients

zocli mcp install
zocli mcp install --client claude --client codex --client gemini

The installer registers the MCP server and writes embedded skills where the target client exposes a skill surface.

What an MCP client gets

  • account and auth tools;
  • mail, calendar, and WorkDrive tools, including zocli.mail.attachment_export;
  • hosted dashboard at ui://zocli/dashboard;
  • embedded prompts and skill resources;
  • completion hints for accounts, calendars, and dashboard views.

Multi-Account

zocli is account-first. One current account stays active until you switch it.

zocli add personal@zoho.com
zocli add work@zoho.com
zocli use work
zocli login
zocli use personal
zocli mail list --limit 5
zocli use work
zocli mail list --limit 5

Each account keeps its own credentials and service status. Use --profile <alias> when you need an explicit override without switching the current account globally.

Why zocli

Surface What it gives you
One runtime Mail, calendar, and WorkDrive live in one binary, one config surface, and one discovery contract.
MCP-native The repo ships CLI commands, MCP tools, resources, prompts, and hosted app metadata together.
Ship-ready Release packaging, installers, Homebrew formula generation, Winget manifests, and smoke scripts are part of the repo.
Agent-friendly zocli guide, structured JSON output, and MCP prompts reduce orchestration overhead for AI clients.

Limitations

  • Calendar-invite import from mail is not part of the current stable public surface.
  • Mail attachment export is available through the MCP tool zocli.mail.attachment_export; there is no separate CLI command for it.
  • WorkDrive uses real folder IDs and file IDs, not a virtual disk:/... path layer.
  • MCP prompts and embedded skills only document workflows that are backed by live tools in this repository.

Verification

The repository keeps a stable-product gate for the public surface:

cargo build --workspace
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
sh ./scripts/smoke-product-surface.sh target/debug/zocli

Disclaimer

zocli is an independent open-source project from NextStat. It is not an official Zoho product and is not endorsed by Zoho.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Zocli

How do I install Zocli?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Zocli safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Zocli still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.