KosmoKrator

communication

Zoho Mail MCP Integration for Vercel AI SDK

Connect Zoho Mail to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 5 read 1 write Manual OAuth token auth

Connect Zoho Mail to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Zoho Mail MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "mcpServers": {
    "kosmokrator-zoho-mail": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=zoho-mail",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=zoho-mail --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Zoho Mail instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Zoho Mail Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Zoho Mail integration catalog.

MCP toolSource functionTypeDescription
integration__zoho_mail__zohomail_list_messages zoho-mail.zohomail_list_messages Read List email messages in a Zoho Mail folder. Returns message summaries including sender, subject, and date.
integration__zoho_mail__zohomail_get_message zoho-mail.zohomail_get_message Read Get a single email message from Zoho Mail by ID. Returns full message content, headers, and attachment info.
integration__zoho_mail__zohomail_send_message zoho-mail.zohomail_send_message Write Send a new email message via Zoho Mail. Supports to, cc, bcc, subject, and HTML or plain text content.
integration__zoho_mail__zohomail_list_folders zoho-mail.zohomail_list_folders Read List all email folders in a Zoho Mail account, including Inbox, Sent, Drafts, Trash, and custom folders.
integration__zoho_mail__zohomail_list_tasks zoho-mail.zohomail_list_tasks Read List tasks from Zoho Mail. Returns task details including title, status, due date, and priority.
integration__zoho_mail__zohomail_get_current_user zoho-mail.zohomail_get_current_user Read Get the current user's Zoho Mail account information. Returns account IDs needed for other Zoho Mail operations.

Related Zoho Mail Pages