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.
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.
query
parameter to search its associated index.get_information_index_name
).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.
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
.
run-llama/mcp-server-llamacloud
December 4, 2024
March 28, 2025
JavaScript