Create powerful AI workflows by connecting multiple MCP servers including Vercel, Pipedrive for enhanced automation capabilities in Klavis AI.
Vercel is a cloud platform for static sites and serverless functions that enables developers to host websites and web services. Deploy projects, manage domains, configure environment variables, and monitor deployments with ease
Pipedrive is a sales CRM and pipeline management tool. Manage deals, contacts, organizations, activities, and track your sales pipeline via OpenAPI integration
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"))
vercel_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.VERCEL,
user_id="1234",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
pipedrive_mcp_instance = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.PIPEDRIVE,
user_id="1234",
connection_type=ConnectionType.STREAMABLE_HTTP,
)
vercel_tools = await aget_tools_from_mcp_url(
vercel_mcp_instance.server_url,
client=BasicMCPClient(vercel_mcp_instance.server_url)
)
pipedrive_tools = await aget_tools_from_mcp_url(
pipedrive_mcp_instance.server_url,
client=BasicMCPClient(pipedrive_mcp_instance.server_url)
)
vercel_agent = FunctionAgent(
name="vercel_agent",
tools=vercel_tools,
llm=llm,
)
pipedrive_agent = FunctionAgent(
name="pipedrive_agent",
tools=pipedrive_tools,
llm=llm,
)
workflow = AgentWorkflow(
agents=[vercel_agent, pipedrive_agent],
root_agent="vercel_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