Seamlessly integrate your LlamaIndex and AI applications with Cal.com using Klavis AI's comprehensive MCP server connection guide.
Cal.com is an open-source scheduling platform that helps you schedule meetings without the back-and-forth emails. Manage event types, bookings, availability, and integrate with calendars for seamless appointment scheduling
Follow these steps to connect LlamaIndex to this MCP server
Sign up for KlavisAI to access our MCP server management platform.
Add the MCP server to LlamaIndex and configure authentication settings.
Verify your connections work correctly and start using your enhanced AI capabilities.
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
# Initialize clients
klavis_client = Klavis(api_key=os.getenv("KLAVIS_API_KEY"))
cal.com_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.CAL.COM,
user_id="1234",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
cal.com_tools = await aget_tools_from_mcp_url(
cal.com_mcp_instance.server_url,
client=BasicMCPClient(cal.com_mcp_instance.server_url)
)
cal.com_agent = FunctionAgent(
name="cal.com_agent",
tools=cal.com_tools,
llm=llm,
)
Everything you need to know about connecting to this MCP server
Join developers who are already using KlavisAI to power their LlamaIndex applications with this MCP server.
Start For Free