Connectto WordPress, Google Drive, Hacker News MCP Servers

Create powerful AI workflows by connecting multiple MCP servers including WordPress, Google Drive, Hacker News for enhanced automation capabilities in Klavis AI.

WordPress icon

WordPress

featured

WordPress is an open-source content management system for building websites and blogs

Available Tools:

  • wordpress_create_post
  • wordpress_get_posts
  • wordpress_update_post
  • +4 more tools
Google Drive icon

Google Drive

featured

Google Drive is a cloud storage service

Available Tools:

  • google_drive_search_documents
  • google_drive_search_and_retrieve_documents
  • google_drive_get_file_tree_structure
Hacker News icon

Hacker News

featured

Access the latest tech news, discussions, and stories from Hacker News. Fetch top stories, newest posts, best stories, show HN posts, ask HN posts, job listings, and user profiles from the popular tech community platform

Available Tools:

  • hackerNews_item
  • hackerNews_user
  • hackerNews_topstories
  • +6 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"))

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

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

hacker_news_mcp_instance = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.HACKER_NEWS,
    user_id="1234",
    platform_name="Klavis",
    connection_type=ConnectionType.STREAMABLE_HTTP,
)
wordpress_tools = await aget_tools_from_mcp_url(
    wordpress_mcp_instance.server_url, 
    client=BasicMCPClient(wordpress_mcp_instance.server_url)
)
google_drive_tools = await aget_tools_from_mcp_url(
    google_drive_mcp_instance.server_url, 
    client=BasicMCPClient(google_drive_mcp_instance.server_url)
)
hacker_news_tools = await aget_tools_from_mcp_url(
    hacker_news_mcp_instance.server_url, 
    client=BasicMCPClient(hacker_news_mcp_instance.server_url)
)

wordpress_agent = FunctionAgent(
    name="wordpress_agent",
    tools=wordpress_tools,
    llm=llm,
)

google_drive_agent = FunctionAgent(
    name="google_drive_agent",
    tools=google_drive_tools,
    llm=llm,
)

hacker_news_agent = FunctionAgent(
    name="hacker_news_agent",
    tools=hacker_news_tools,
    llm=llm,
)
workflow = AgentWorkflow(
    agents=[wordpress_agent, google_drive_agent, hacker_news_agent],
    root_agent="wordpress_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