Connectto Markdown2doc, Salesforce, WhatsApp MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including Markdown2doc, Salesforce, WhatsApp for enhanced automation capabilities in Klavis AI.

Markdown2doc icon

Markdown2doc

featured

Convert markdown text to different file formats (pdf, docx, doc, html), based on Pandoc

Available Tools:

  • convert_markdown_to_file
Salesforce icon

Salesforce

featured

Salesforce is the world's leading customer relationship management (CRM) platform that helps businesses connect with customers, partners, and potential customers

Available Tools:

  • salesforce_get_accounts
  • salesforce_create_account
  • salesforce_update_account
  • +24 more tools
WhatsApp icon

WhatsApp

featured

WhatsApp Business API integration that enables sending text messages, media, and managing conversations with customers. Perfect for customer support, marketing campaigns, and automated messaging workflows through the official WhatsApp Business platform.

Available Tools:

  • whatsapp_send_text

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

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

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

whatsapp_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.WHATSAPP,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
markdown2doc_tools = await aget_tools_from_mcp_url(
    markdown2doc_mcp_instance.server_url, 
    client=BasicMCPClient(markdown2doc_mcp_instance.server_url)
)
salesforce_tools = await aget_tools_from_mcp_url(
    salesforce_mcp_instance.server_url, 
    client=BasicMCPClient(salesforce_mcp_instance.server_url)
)
whatsapp_tools = await aget_tools_from_mcp_url(
    whatsapp_mcp_instance.server_url, 
    client=BasicMCPClient(whatsapp_mcp_instance.server_url)
)

markdown2doc_agent = FunctionAgent(
    name="markdown2doc_agent",
    tools=markdown2doc_tools,
    llm=llm,
)

salesforce_agent = FunctionAgent(
    name="salesforce_agent",
    tools=salesforce_tools,
    llm=llm,
)

whatsapp_agent = FunctionAgent(
    name="whatsapp_agent",
    tools=whatsapp_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[markdown2doc_agent, salesforce_agent, whatsapp_agent],
    root_agent="markdown2doc_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