Connectto Close, Firecrawl Web Search, Mem0 MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Close, Firecrawl Web Search, Mem0 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
Firecrawl Web Search icon

Firecrawl Web Search

featured

Advanced web crawling, scraping, and search capabilities powered by Firecrawl

Available Tools:

  • firecrawl_scrape
  • firecrawl_map
  • firecrawl_crawl
  • +6 more tools
Mem0 icon

Mem0

featured

Mem0 is an intelligent memory layer for AI applications that provides long-term memory storage and retrieval. Store code snippets, implementation details, and programming knowledge for seamless context retention across conversations

Available Tools:

  • mem0_add_memory
  • mem0_get_all_memories
  • mem0_search_memories
  • +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"))

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

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

mem0_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.MEM0,
    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)
)
firecrawl_web_search_tools = await aget_tools_from_mcp_url(
    firecrawl_web_search_mcp_instance.server_url, 
    client=BasicMCPClient(firecrawl_web_search_mcp_instance.server_url)
)
mem0_tools = await aget_tools_from_mcp_url(
    mem0_mcp_instance.server_url, 
    client=BasicMCPClient(mem0_mcp_instance.server_url)
)

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

firecrawl_web_search_agent = FunctionAgent(
    name="firecrawl_web_search_agent",
    tools=firecrawl_web_search_tools,
    llm=llm,
)

mem0_agent = FunctionAgent(
    name="mem0_agent",
    tools=mem0_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[close_agent, firecrawl_web_search_agent, mem0_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