# LlamaIndex MCP

LlamaIndex MCP lets agents use LlamaCloud: upload, parse, classify, split and extract structured data from documents, build and sync indexes over directories, and search or read indexed files.

Category: Developer. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/llamaindex-mcp/.

## Actions

- **Add files to directory**: Add already-uploaded files to a directory, so they can be indexed.
- **Classify file**: Classify a file (based on specific categories) providing its file ID.
- **Create directory**: Create a directory (folder) to hold source documents.
- **Create extraction config from schema**: Create an extraction configuration from a JSON Schema you already have, and return its configuration id for use with extractFile.
- **Create index**: Create an index over a directory, making its documents searchable with retrieveFromIndex and the other index tools.
- **Create project api key**: Create a LlamaCloud API key scoped to one project, for handing to an application or a teammate.
- **Estimate file complexity**: Estimate the parsing complexity of a PDF file (providing its file ID) using LiteParse.
- **Extract file**: Extract structured data from a file based on the configuration created with the generateExtractionConfig tool.
- **Extract file turbo**: Extract structured data from a file in real time using the Turbo tier.
- **Find files in index** (read-only): Search files within an index.
- **Generate extraction config**: Generate the configuration to extract structured data from a specific file using the Extract service from the LlamaParse Platform.
- **Get index status** (read-only): Check whether an index has finished building.
- **Get schema template** (read-only): Retrieve the full JSON Schema for one starter extraction template, by id, as returned by searchSchemaTemplates.
- **Get upload url**: Get a pre-signed URL to upload a file to the LlamaParse S3 storage.
- **Get user projects** (read-only): List the projects available to the user, with their names, so you can pass the right projectId to other tools.
- **Grep file from index** (read-only): Grep the content of a file from an index, providing its file ID, the pattern to grep for and, optionally, a number of context characters…
- **List directories** (read-only): List the directories in a project.
- **List directory** (read-only): List the files inside a directory, along with the directory itself.
- **List indexes** (read-only): List all the available indexes on the LlamaParse Platform.
- **Parse file**: Parse a file providing its file ID, retrieving markdown or plain text content of the file.
- **Parse with lite parse**: Parse a PDF file with LiteParse, a fast, in-process parser that does not consume credits from the LlamaParse Platform.
- **Read file from index** (read-only): Read the content of a file from an index, providing its file ID and, optionally, an offset and a maximum length (in characters) to read.
- **Retrieve from index** (read-only): Perform hybrid search on the index, providing a query and, optionally, the top K documents to retrieve and the top N documents to rerank.
- **Search schema templates** (read-only): Search the built-in library of starter extraction schemas (invoice, contract, resume, 10-K, patient intake and more) by keyword or category.
- **Split file**: Split a file into category-based segments providing its file ID.
- **Sync index**: Re-index a directory, picking up files added or changed since the last run.
- **Upload file by url**: Upload a file to LLamaParse S3 storage providing a URL to download the file data.
