Create powerful AI workflows by connecting multiple MCP servers including Dropbox, Cloudflare, GitHub for enhanced automation capabilities in Klavis AI.
Complete file management solution for Dropbox cloud storage. Upload, download, organize files and folders, manage sharing and collaboration, handle file versions, create file requests, and perform batch operations on your Dropbox files and folders
Cloudflare provides content delivery network services, DDoS protection, and security.
Enhanced GitHub MCP Server
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"))
dropbox_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.DROPBOX,
user_id="1234",
platform_name="Klavis",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
cloudflare_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.CLOUDFLARE,
user_id="1234",
platform_name="Klavis",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
github_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.GITHUB,
user_id="1234",
platform_name="Klavis",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
dropbox_tools = await aget_tools_from_mcp_url(
dropbox_mcp_instance.server_url,
client=BasicMCPClient(dropbox_mcp_instance.server_url)
)
cloudflare_tools = await aget_tools_from_mcp_url(
cloudflare_mcp_instance.server_url,
client=BasicMCPClient(cloudflare_mcp_instance.server_url)
)
github_tools = await aget_tools_from_mcp_url(
github_mcp_instance.server_url,
client=BasicMCPClient(github_mcp_instance.server_url)
)
dropbox_agent = FunctionAgent(
name="dropbox_agent",
tools=dropbox_tools,
llm=llm,
)
cloudflare_agent = FunctionAgent(
name="cloudflare_agent",
tools=cloudflare_tools,
llm=llm,
)
github_agent = FunctionAgent(
name="github_agent",
tools=github_tools,
llm=llm,
)
workflow = AgentWorkflow(
agents=[dropbox_agent, cloudflare_agent, github_agent],
root_agent="dropbox_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