Connectto Stripe, Cloudflare, Motion MCP Servers

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

Stripe icon

Stripe

coming soon

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

Cloudflare icon

Cloudflare

featured

Cloudflare provides content delivery network services, DDoS protection, and security.

Motion icon

Motion

featured

Motion is an intelligent project management and calendar application that automatically schedules your tasks, meetings, and projects to optimize your productivity and help you focus on what matters most

Available Tools:

  • motion_get_workspaces
  • motion_get_users
  • motion_get_my_user
  • +11 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"))

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

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

motion_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.MOTION,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
stripe_tools = await aget_tools_from_mcp_url(
    stripe_mcp_instance.server_url, 
    client=BasicMCPClient(stripe_mcp_instance.server_url)
)
cloudflare_tools = await aget_tools_from_mcp_url(
    cloudflare_mcp_instance.server_url, 
    client=BasicMCPClient(cloudflare_mcp_instance.server_url)
)
motion_tools = await aget_tools_from_mcp_url(
    motion_mcp_instance.server_url, 
    client=BasicMCPClient(motion_mcp_instance.server_url)
)

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

cloudflare_agent = FunctionAgent(
    name="cloudflare_agent",
    tools=cloudflare_tools,
    llm=llm,
)

motion_agent = FunctionAgent(
    name="motion_agent",
    tools=motion_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[stripe_agent, cloudflare_agent, motion_agent],
    root_agent="stripe_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