Connectto Discord, Google Docs, HubSpot MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Discord, Google Docs, HubSpot for enhanced automation capabilities in Klavis AI.

Discord icon

Discord

featured

Discord is a VoIP and instant messaging social platform

Available Tools:

  • discord_get_server_info
  • discord_list_members
  • discord_create_text_channel
  • +6 more tools
Google Docs icon

Google Docs

featured

Google Docs is a word processor included as part of the free, web-based Google Docs Editors suite

Available Tools:

  • google_docs_get_document_by_id
  • google_docs_get_all_documents
  • google_docs_insert_text_at_end
  • +2 more tools
HubSpot icon

HubSpot

coming soon

HubSpot is a developer and marketer of software products for inbound marketing, sales, and customer service

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

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

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

hubspot_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.HUBSPOT,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
discord_tools = await aget_tools_from_mcp_url(
    discord_mcp_instance.server_url, 
    client=BasicMCPClient(discord_mcp_instance.server_url)
)
google_docs_tools = await aget_tools_from_mcp_url(
    google_docs_mcp_instance.server_url, 
    client=BasicMCPClient(google_docs_mcp_instance.server_url)
)
hubspot_tools = await aget_tools_from_mcp_url(
    hubspot_mcp_instance.server_url, 
    client=BasicMCPClient(hubspot_mcp_instance.server_url)
)

discord_agent = FunctionAgent(
    name="discord_agent",
    tools=discord_tools,
    llm=llm,
)

google_docs_agent = FunctionAgent(
    name="google_docs_agent",
    tools=google_docs_tools,
    llm=llm,
)

hubspot_agent = FunctionAgent(
    name="hubspot_agent",
    tools=hubspot_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[discord_agent, google_docs_agent, hubspot_agent],
    root_agent="discord_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