Connectto ClickUp, Postgres, Calendly MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including ClickUp, Postgres, Calendly for enhanced automation capabilities in Klavis AI.

ClickUp icon

ClickUp

featured

ClickUp is a comprehensive project management and productivity platform that helps teams organize tasks, manage projects, and collaborate effectively with customizable workflows and powerful tracking features

Available Tools:

  • clickup_get_teams
  • clickup_get_workspaces
  • clickup_get_spaces
  • +18 more tools
Postgres icon

Postgres

featured

PostgreSQL is a powerful, open source object-relational database system

Available Tools:

  • query
Calendly icon

Calendly

coming soon

Manage scheduling and appointments with your agents.

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"))

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

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

calendly_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.CALENDLY,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
clickup_tools = await aget_tools_from_mcp_url(
    clickup_mcp_instance.server_url, 
    client=BasicMCPClient(clickup_mcp_instance.server_url)
)
postgres_tools = await aget_tools_from_mcp_url(
    postgres_mcp_instance.server_url, 
    client=BasicMCPClient(postgres_mcp_instance.server_url)
)
calendly_tools = await aget_tools_from_mcp_url(
    calendly_mcp_instance.server_url, 
    client=BasicMCPClient(calendly_mcp_instance.server_url)
)

clickup_agent = FunctionAgent(
    name="clickup_agent",
    tools=clickup_tools,
    llm=llm,
)

postgres_agent = FunctionAgent(
    name="postgres_agent",
    tools=postgres_tools,
    llm=llm,
)

calendly_agent = FunctionAgent(
    name="calendly_agent",
    tools=calendly_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[clickup_agent, postgres_agent, calendly_agent],
    root_agent="clickup_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