Zoho Campaign MCP Server for Mastra AI 13 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Zoho Campaign through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"zoho-campaign": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Zoho Campaign Agent",
instructions:
"You help users interact with Zoho Campaign " +
"using 13 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Zoho Campaign?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Zoho Campaign MCP Server
What you can do
Supercharge your email marketing with AI agents controlling Zoho Campaign. Automate your entire workflow:
Mastra's agent abstraction provides a clean separation between LLM logic and Zoho Campaign tool infrastructure. Connect 13 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- Create and manage email campaigns with custom subjects, senders, and mailing lists
- Review campaign analytics including opens, clicks, bounces, and unsubscribes
- Build and segment mailing lists for targeted audience reach
- Import and export contacts with bulk add/remove operations
- Track contact engagement and subscription status across all lists
- Monitor blocked contacts to maintain list hygiene and deliverability
The Zoho Campaign MCP Server exposes 13 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect Zoho Campaign to Mastra AI via MCP
Follow these steps to integrate the Zoho Campaign MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 13 tools from Zoho Campaign via MCP
Why Use Mastra AI with the Zoho Campaign MCP Server
Mastra AI provides unique advantages when paired with Zoho Campaign through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Zoho Campaign without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Zoho Campaign tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Zoho Campaign + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Zoho Campaign MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Zoho Campaign, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Zoho Campaign as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Zoho Campaign on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Zoho Campaign tools alongside other MCP servers
Zoho Campaign MCP Tools for Mastra AI (13)
These 13 tools become available when you connect Zoho Campaign to Mastra AI via MCP:
add_contacts_to_list
Each contact requires at minimum an email address. Optionally include first name, last name, phone, company, and custom fields. Contacts must be provided as a JSON array of objects. Returns count of successfully added contacts. Add contacts to a Zoho Campaign mailing list
create_campaign
Requires campaign name, subject line, sender name, sender email, and reply-to email. Optionally set campaign type, template ID, and scheduling. Returns created campaign details including the new campaign key. Create a new email campaign in Zoho Campaign
create_list
Requires list name. Optionally set description and welcome message for new subscribers. Returns the created list details including the new list key needed for adding contacts. Create a new mailing list in Zoho Campaign
get_blocked_contacts
Returns email, reason, and date blocked. Use this to maintain list hygiene and avoid sending to invalid addresses. List blocked/bounced contacts in Zoho Campaign
get_campaign_details
Use this to review full campaign configuration before sending or editing. Get details of a specific Zoho Campaign email
get_campaign_report
Includes metrics: total sent, delivered, bounced, opened, clicked, unsubscribed, spam complaints, and forwarded. Also provides engagement breakdown by contact. Use this to analyze campaign ROI and engagement rates. Get analytics report for a Zoho Campaign
get_campaigns
Returns campaign name, subject line, status, sent date, and basic metrics (sent count, opened, clicked). Use this to review campaign portfolio and performance overview. List all email campaigns in Zoho Campaign
get_contact
Use this to review individual subscriber details before sending targeted campaigns or troubleshooting delivery issues. Get details of a specific Zoho Campaign contact
get_list_contacts
Returns contact email, name, subscription status, added date, and custom fields. Use this to review subscriber base, segment audiences, or verify contacts before sending campaigns. List contacts in a Zoho Campaign mailing list
get_lists
Returns list name, description, contact count, creation date, and status. Mailing lists are used to organize contacts for targeted email campaigns. Use this to review available lists before creating campaigns or adding contacts. List all mailing lists in Zoho Campaign
get_recent_campaigns
Useful for quick review of latest activity. Type can filter by: all, sent, draft, scheduled. Returns basic campaign info including name, subject, status, and date. Get recently created or sent campaigns
remove_contacts_from_list
Requires list key and comma-separated email addresses. Use this to manage unsubscribes, clean up lists, or segment contacts. Returns count of successfully removed contacts. Remove contacts from a Zoho Campaign mailing list
update_contact
Only pass the fields you want to modify. The contact is identified by email address. Returns updated contact data. Update an existing Zoho Campaign contact
Example Prompts for Zoho Campaign in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Zoho Campaign immediately.
"Show me all campaigns sent in the last 30 days with their open rates"
"Create a new campaign called 'Spring Sale 2026' for our newsletter list with subject 'Exclusive Spring Discounts Inside'"
"Add these 50 contacts from my CRM export to the 'Prospects Q2' list"
Troubleshooting Zoho Campaign MCP Server with Mastra AI
Common issues when connecting Zoho Campaign to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpZoho Campaign + Mastra AI FAQ
Common questions about integrating Zoho Campaign MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Connect Zoho Campaign with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Zoho Campaign to Mastra AI
Get your token, paste the configuration, and start using 13 tools in under 2 minutes. No API key management needed.
