Connectto Klaviyo, Microsoft Teams MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Klaviyo, Microsoft Teams for enhanced automation capabilities in Klavis AI.

Klaviyo icon

Klaviyo

featured

Klaviyo is an email and SMS marketing automation platform. Create campaigns, manage lists, track metrics, and automate customer communications via OpenAPI integration

Microsoft Teams icon

Microsoft Teams

featured

Microsoft Teams is a collaboration platform that combines workplace chat, meetings, calling, and file sharing. Manage teams, channels, messages, meetings, and collaborate with your organization seamlessly

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"))

klaviyo_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.KLAVIYO,
    user_id="1234",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)

microsoft_teams_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.MICROSOFT_TEAMS,
    user_id="1234",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
klaviyo_tools = await aget_tools_from_mcp_url(
    klaviyo_mcp_instance.server_url, 
    client=BasicMCPClient(klaviyo_mcp_instance.server_url)
)
microsoft_teams_tools = await aget_tools_from_mcp_url(
    microsoft_teams_mcp_instance.server_url, 
    client=BasicMCPClient(microsoft_teams_mcp_instance.server_url)
)

klaviyo_agent = FunctionAgent(
    name="klaviyo_agent",
    tools=klaviyo_tools,
    llm=llm,
)

microsoft_teams_agent = FunctionAgent(
    name="microsoft_teams_agent",
    tools=microsoft_teams_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[klaviyo_agent, microsoft_teams_agent],
    root_agent="klaviyo_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