Connectto Google Calendar, LinkedIn, Slack MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Google Calendar, LinkedIn, Slack for enhanced automation capabilities in Klavis AI.

Google Calendar icon

Google Calendar

featured

Google Calendar is a time-management and scheduling calendar service

Available Tools:

  • google_calendar_list_calendars
  • google_calendar_create_event
  • google_calendar_list_events
  • +2 more tools
LinkedIn icon

LinkedIn

coming soon

LinkedIn is a business and employment-oriented online service

Slack icon

Slack

featured

Slack is a messaging app for business that connects people to the information they need

Available Tools:

  • slack_list_channels
  • slack_post_message
  • slack_reply_to_thread
  • +6 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"))

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

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

slack_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.SLACK,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
google_calendar_tools = await aget_tools_from_mcp_url(
    google_calendar_mcp_instance.server_url, 
    client=BasicMCPClient(google_calendar_mcp_instance.server_url)
)
linkedin_tools = await aget_tools_from_mcp_url(
    linkedin_mcp_instance.server_url, 
    client=BasicMCPClient(linkedin_mcp_instance.server_url)
)
slack_tools = await aget_tools_from_mcp_url(
    slack_mcp_instance.server_url, 
    client=BasicMCPClient(slack_mcp_instance.server_url)
)

google_calendar_agent = FunctionAgent(
    name="google_calendar_agent",
    tools=google_calendar_tools,
    llm=llm,
)

linkedin_agent = FunctionAgent(
    name="linkedin_agent",
    tools=linkedin_tools,
    llm=llm,
)

slack_agent = FunctionAgent(
    name="slack_agent",
    tools=slack_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[google_calendar_agent, linkedin_agent, slack_agent],
    root_agent="google_calendar_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