Purpose
mcp-server-llamacloud is an MCP server used to connect to multiple managed indexes on LlamaCloud. It enables MCP clients (such as Claude Desktop, Windsurf, or Cursor) to access specific indexes in LlamaCloud, thereby performing search queries on the index contents.
Main capabilities
- An MCP server built with TypeScript.
- Creates a separate tool for each index you define.
- Each tool provides a query parameter for searching its corresponding specific index.
- Automatically generates tool names based on the index name, for example get_information_index_name.
Usage
Add the corresponding configuration to your MCP client configuration to use it with MCP clients such as Claude Desktop, Windsurf, or Cursor. The LLAMA_CLOUD_PROJECT_NAME environment variable is optional; when unset, it defaults to Default.
For Claude, the MCP configuration file locations are:
- MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%/Claude/claude_desktop_config.json
Tool definition format
In the args array of the MCP configuration, you can define multiple tools by providing --index and --description parameters in pairs. Each pair of parameters defines one tool. You can also optionally specify --topK to limit the number of results.
Example: Add a tool for the LlamaCloud index 10k-SEC-Tesla to the MCP server, and configure it to return the top 5 results.
Installation and build
Install dependencies and build the server. During development, automatic rebuild can be used. To use the development version, you can replace npx @llamaindex/mcp-server-llamacloud with node ./build/index.js in the MCP configuration.
Debugging
Because the MCP server communicates via stdio, debugging may be difficult. MCP Inspector is recommended, and it is provided as a package script. Inspector will provide a URL for accessing the debugging tools in a browser.
Applicable scenarios
Suitable for scenarios where MCP clients need to connect to LlamaCloud managed indexes and perform query retrieval, for example, after connecting specific indexes to clients such as Claude Desktop, Windsurf, or Cursor, searching index contents through tool calls.
Limitations
This project has been archived and is no longer supported. For the latest information on connecting agents to the LlamaParse Platform API, please refer to the documentation.Debugging may be relatively difficult. MCP Inspector is recommended, and it is provided as a package script. Inspector will provide a URL for accessing the debugging tools in a browser.
Applicable scenarios
Suitable for scenarios where MCP clients need to connect to LlamaCloud managed indexes and perform query retrieval, for example, after connecting specific indexes to clients such as Claude Desktop, Windsurf, or Cursor, searching index contents through tool calls.
Limitations
This project has been archived and is no longer supported. For the latest information on connecting agents to the LlamaParse Platform API, please refer to the documentation.