Integrating Zapier MCP with MaxKB: Expanding External Tool Capabilities for AI Applications

Integrating Zapier MCP with MaxKB: Expanding External Tool Capabilities for AI Applications

Overview

Through Model Context Protocol (MCP) integration, your MaxKB AI application can seamlessly call over 7,000 apps and 30,000 operations - from sending emails to updating CRMs or sending Slack notifications - greatly expanding the practical utility of AI applications.

Introduction to Model Context Protocol (MCP)

What is MCP?

Model Context Protocol (MCP) is a standard protocol launched by Anthropic in late 2024, considered the "USB-C interface" of the AI world. It defines clear rules enabling AI models to discover, understand, and safely call various external tools or APIs.

Benefits of MCP

  • Simplified Development: Developers no longer need to write complex custom integrations for each external service
  • Expanded Capabilities: Users can easily leverage thousands of third-party applications, transforming AI interactions from conversation to action
  • Standardization: Provides a unified interface, simplifying integration processes

MCP Implementation in MaxKB

MaxKB supports connecting to external MCP services like Zapier through MCP Workflow Policies, integrating MCP directly into workflow nodes, allowing AI to make independent decisions and call external tools based on defined logic.

Integration Guide

Prerequisites

Step 1: Configure Zapier MCP

  1. Access Settings Page

    Visit the Zapier MCP settings page 

  2. Get Endpoint Link

    Copy your unique MCP server endpoint link

  3. Add Tools and Actions

    Click "Edit MCP Actions" to add new tools:

    • Select an application (like Gmail)

    • Choose and configure specific actions (like "Send Email")

    • Connect and authorize your account

    • Configure AI dynamic content generation

  4. Expand Toolbox

    Repeat this process to add more required actions 

Step 2: Configure MCP in MaxKB

  1. Add MCP Node

    Add an MCP node in the workflow designer

  2. Configure Single MCP Server

    Use the following JSON configuration (replace with your Zapier MCP server URL):

{
  "zapier": {
    "url": "https://actions.zapier.com/mcp/*******/sse",
    "headers": {},
    "timeout": 5,
    "sse_read_timeout": 300
  }
}
  1. Configure Multiple MCP Servers (Optional)

    To integrate multiple MCP servers, configure as follows:

{
  "zapier": {
    "url": "https://actions.zapier.com/mcp/*******/sse",
    "headers": {},
    "timeout": 5,
    "sse_read_timeout": 300
  },
  "other_mcp_server": {
    "url": "https://other-mcp-server.com/sse"
  }
}
  1. MCP Node Configuration

    The MCP Call node after configuration: 

  2. Workflow Integration

    Configure workflow nodes to leverage Zapier MCP to perform tasks as part of automated processes

Advanced Application Scenarios

Automatic Contact Information Matching

By uploading contact Excel files to the MaxKB knowledge base, applications can automatically match recipient emails when users only provide names and message content, simplifying interaction processes.

Secure Confirmation Processes

Implement user confirmation mechanisms to ensure user approval before executing critical operations (like sending emails). Example prompt template:

# Role
You are an email sending assistant.

# Capabilities
1. Able to use a tool named `gmail_send_email` to send emails.
2. Able to automatically look up contact email addresses in the knowledge base.

# Workflow
1. User {{user_name}} is the sender. Based on the user's request, determine the recipient, subject, and email body. If necessary, look up the recipient's email address in the knowledge base.
2. Before calling the tool to send the email, you MUST show the complete email content (recipient, subject, body) to user {{user_name}} and request confirmation.
3. After receiving user confirmation, prepare to call the tool to send the email.

# Tool Call Requirements (Core Instructions)
1. You MUST call, and ONLY call, the tool named `gmail_send_email` to send emails.
2. When calling the `gmail_send_email` tool, build a JSON object that MUST include these three keys:
   `to`: value is the recipient's email address (string).
   `subject`: value is the email subject (string).
   `body`: value is the email body content (string).
3. Then, serialize this complete JSON object into a JSON-standard compliant string, and pass that string as the `arguments` parameter to the `gmail_send_email` tool.

Tool call format example (using gmail_send_email):
```json
{
  "mcp_sse_call_tool": {
    "tool_name": "gmail_send_email",
    "arguments": "{\"to\":\"recipient_email_address\",\"subject\":\"email_subject\",\"body\":\"This is the email body content.\"}"
  }
}

Future Outlook

As MaxKB continues to evolve, we are developing more native MCP support features, making configuration of Zapier MCP and other external services simpler and more intuitive, creating a richer and more powerful integration experience for all users.

Summary

Through the integration of Zapier MCP with MaxKB, you can significantly expand the functional boundaries of AI applications, enabling capabilities from sending emails to updating CRM systems, from creating calendar events to sending Slack notifications, making AI truly an intelligent hub connecting various services.

Back to blog