Connectto Gmail, Supabase, Resend MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Gmail, Supabase, Resend for enhanced automation capabilities in Klavis AI.

Gmail icon

Gmail

featured

Gmail is a free email service provided by Google

Available Tools:

  • send_email
  • draft_email
  • read_email
  • +5 more tools
Supabase icon

Supabase

featured

Supabase official MCP Server

Available Tools:

  • supabase_list_projects
  • supabase_get_project
  • supabase_get_cost
  • +21 more tools
Resend icon

Resend

featured

Resend is a modern email API for sending and receiving emails programmatically

Available Tools:

  • resend_send_email
  • resend_create_audience
  • resend_get_audience
  • +12 more tools

Quick Setup Guide

Follow these steps to connect LlamaIndex to these MCP servers

1

Create Your Account

Sign up for KlavisAI to access our MCP server management platform.

2

Configure Connections

Add your desired MCP servers to LlamaIndex and configure authentication settings.

3

Test & Deploy

Verify your connections work correctly and start using your enhanced AI capabilities.

LlamaIndex + KlavisAI Integration Snippets

import os
from klavis import Klavis
from klavis.types import McpServerName, ConnectionType
from llama_index.tools.mcp import (
    BasicMCPClient,
    get_tools_from_mcp_url,
    aget_tools_from_mcp_url,
)
from llama_index.core.agent.workflow import FunctionAgent, AgentWorkflow

# Initialize clients
klavis_client = Klavis(api_key=os.getenv("KLAVIS_API_KEY"))

gmail_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.GMAIL,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)

supabase_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.SUPABASE,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)

resend_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.RESEND,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
gmail_tools = await aget_tools_from_mcp_url(
    gmail_mcp_instance.server_url, 
    client=BasicMCPClient(gmail_mcp_instance.server_url)
)
supabase_tools = await aget_tools_from_mcp_url(
    supabase_mcp_instance.server_url, 
    client=BasicMCPClient(supabase_mcp_instance.server_url)
)
resend_tools = await aget_tools_from_mcp_url(
    resend_mcp_instance.server_url, 
    client=BasicMCPClient(resend_mcp_instance.server_url)
)

gmail_agent = FunctionAgent(
    name="gmail_agent",
    tools=gmail_tools,
    llm=llm,
)

supabase_agent = FunctionAgent(
    name="supabase_agent",
    tools=supabase_tools,
    llm=llm,
)

resend_agent = FunctionAgent(
    name="resend_agent",
    tools=resend_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[gmail_agent, supabase_agent, resend_agent],
    root_agent="gmail_agent",
)

Frequently Asked Questions

Everything you need to know about connecting to these MCP servers

Ready to Get Started?

Join developers who are already using KlavisAI to power their LlamaIndex applications with these MCP servers.

Start For Free