Connectto Close, Stripe, HubSpot MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Close, Stripe, HubSpot for enhanced automation capabilities in Klavis AI.

Close icon

Close

featured

Close is a modern CRM platform built for sales teams, providing powerful lead management, contact organization, and sales pipeline tracking to help businesses close more deals

Available Tools:

  • close_create_lead
  • close_get_lead
  • close_search_leads
  • +20 more tools
Stripe icon

Stripe

coming soon

Stripe is a suite of payment APIs that powers commerce for online businesses

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

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

stripe_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.STRIPE,
    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,
)
close_tools = await aget_tools_from_mcp_url(
    close_mcp_instance.server_url, 
    client=BasicMCPClient(close_mcp_instance.server_url)
)
stripe_tools = await aget_tools_from_mcp_url(
    stripe_mcp_instance.server_url, 
    client=BasicMCPClient(stripe_mcp_instance.server_url)
)
hubspot_tools = await aget_tools_from_mcp_url(
    hubspot_mcp_instance.server_url, 
    client=BasicMCPClient(hubspot_mcp_instance.server_url)
)

close_agent = FunctionAgent(
    name="close_agent",
    tools=close_tools,
    llm=llm,
)

stripe_agent = FunctionAgent(
    name="stripe_agent",
    tools=stripe_tools,
    llm=llm,
)

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