Create powerful AI workflows by connecting multiple MCP servers including Moneybird, Airtable, Monday for enhanced automation capabilities in Klavis AI.
Moneybird is an online accounting software for entrepreneurs and small businesses. Manage contacts, create invoices, track time entries, handle financial accounts, and organize projects with comprehensive bookkeeping features
Airtable is a cloud-based database and spreadsheet platform that combines the flexibility of a spreadsheet with the power of a database, enabling teams to organize, track, and collaborate on projects with customizable views and powerful automation features
Monday.com is a work operating system that powers teams to run projects and workflows with confidence. Create boards, manage items, customize columns, organize groups, and collaborate with team members in a visual workspace
Follow these steps to connect LlamaIndex to these MCP servers
Sign up for KlavisAI to access our MCP server management platform.
Add your desired MCP servers 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, AgentWorkflow
# Initialize clients
klavis_client = Klavis(api_key=os.getenv("KLAVIS_API_KEY"))
moneybird_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.MONEYBIRD,
user_id="1234",
platform_name="Klavis",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
airtable_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.AIRTABLE,
user_id="1234",
platform_name="Klavis",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
monday_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.MONDAY,
user_id="1234",
platform_name="Klavis",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
moneybird_tools = await aget_tools_from_mcp_url(
moneybird_mcp_instance.server_url,
client=BasicMCPClient(moneybird_mcp_instance.server_url)
)
airtable_tools = await aget_tools_from_mcp_url(
airtable_mcp_instance.server_url,
client=BasicMCPClient(airtable_mcp_instance.server_url)
)
monday_tools = await aget_tools_from_mcp_url(
monday_mcp_instance.server_url,
client=BasicMCPClient(monday_mcp_instance.server_url)
)
moneybird_agent = FunctionAgent(
name="moneybird_agent",
tools=moneybird_tools,
llm=llm,
)
airtable_agent = FunctionAgent(
name="airtable_agent",
tools=airtable_tools,
llm=llm,
)
monday_agent = FunctionAgent(
name="monday_agent",
tools=monday_tools,
llm=llm,
)
workflow = AgentWorkflow(
agents=[moneybird_agent, airtable_agent, monday_agent],
root_agent="moneybird_agent",
)
Everything you need to know about connecting to these MCP servers
Join developers who are already using KlavisAI to power their LlamaIndex applications with these MCP servers.
Start For Free