Connectto Affinity, Heygen, Google Jobs MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Affinity, Heygen, Google Jobs for enhanced automation capabilities in Klavis AI.

Affinity icon

Affinity

featured

Affinity is a relationship intelligence platform that helps teams manage relationships, track deals, and leverage network insights to drive business growth with powerful CRM and relationship mapping capabilities

Available Tools:

  • affinity_get_current_user
  • affinity_get_all_list_entries_on_a_list
  • affinity_get_metadata_on_all_lists
  • +20 more tools
Heygen icon

Heygen

featured

HeyGen is an AI video generation platform that creates professional videos with AI avatars and voices. Generate avatar videos with customizable text, voices, and avatars, manage your video library, and track generation status

Available Tools:

  • heygen_get_remaining_credits
  • heygen_get_voices
  • heygen_get_voice_locales
  • +7 more tools
Google Jobs icon

Google Jobs

featured

Google Jobs is a comprehensive job search platform that aggregates listings from across the web. Search for jobs by location, company, employment type, and more, with detailed information about requirements, benefits, and application processes

Available Tools:

  • google_jobs_search
  • google_jobs_get_details
  • google_jobs_search_by_company
  • +2 more tools

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

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

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

google_jobs_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.GOOGLE_JOBS,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
affinity_tools = await aget_tools_from_mcp_url(
    affinity_mcp_instance.server_url, 
    client=BasicMCPClient(affinity_mcp_instance.server_url)
)
heygen_tools = await aget_tools_from_mcp_url(
    heygen_mcp_instance.server_url, 
    client=BasicMCPClient(heygen_mcp_instance.server_url)
)
google_jobs_tools = await aget_tools_from_mcp_url(
    google_jobs_mcp_instance.server_url, 
    client=BasicMCPClient(google_jobs_mcp_instance.server_url)
)

affinity_agent = FunctionAgent(
    name="affinity_agent",
    tools=affinity_tools,
    llm=llm,
)

heygen_agent = FunctionAgent(
    name="heygen_agent",
    tools=heygen_tools,
    llm=llm,
)

google_jobs_agent = FunctionAgent(
    name="google_jobs_agent",
    tools=google_jobs_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[affinity_agent, heygen_agent, google_jobs_agent],
    root_agent="affinity_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