mcp-server-llamacloud

This repository hosts a TypeScript-based MCP server that connects to multiple LlamaCloud managed indexes, creating individual tools for each index based on command-line arguments. Each tool allows querying its specific index.

73
10

LlamaCloud MCP Server

This is a TypeScript-based MCP server designed to connect to multiple managed indexes on LlamaCloud, enabling you to query specific indexes through separate tools. Each tool is defined via command-line arguments, offering a flexible way to integrate LlamaCloud indexes into your MCP client.

Features

  • Tools: Creates individual tools for each defined index on LlamaCloud.
  • Query Parameter: Each tool provides a query parameter to search its associated index.
  • Auto-Generated Names: Tool names are automatically generated based on the index name (e.g., get_information_index_name).

Installation

To integrate with your MCP Client, add a configuration block to your MCP client config, specifying the command and arguments to launch the LlamaCloud MCP server. The args array defines tools using --index and --description pairs. Environment variables LLAMA_CLOUD_PROJECT_NAME and LLAMA_CLOUD_API_KEY are required for authentication.

Development

Install dependencies using npm install, build the server with npm run build, and use npm run watch for auto-rebuild during development. For debugging, the README recommends using the MCP Inspector via npm run inspector.

Repository

RU
run-llama

run-llama/mcp-server-llamacloud

Created

December 4, 2024

Updated

March 28, 2025

Language

JavaScript

Category

AI