# LlamaIndex MCP MCP Server

> **LlamaIndex MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to LlamaIndex MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/llamaindex-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

LlamaParse MCP lets AI agents extract structured, machine-readable data from complex documents using LlamaParse, supporting document parsing, OCR, tables, images, and agentic document workflows.

---

## Details

- Server ID: `llamaindex-mcp`
- Version: 0.1.0
- Tools: 27
- Authentication: OAuth, managed by MewCP
- Calls served: 2
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — LlamaIndex MCP has to be in the toolset
first. In order:

1. Add LlamaIndex MCP to your toolset at https://mewcp.com/mcp/llamaindex-mcp
2. Connect your LlamaIndex MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `list_accounts(provider)` — only when one app has several connected accounts
- `call_tool(server_maskedId, tool_name, args)` — execute

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (27)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `getUploadUrl` _(write)_ — Get a pre-signed URL to upload a file to the LlamaParse S3 storage. Not available when authenticating with an API key — use uploadFileByUrl instead.
- `uploadFileByUrl` _(write)_ — Upload a file to LLamaParse S3 storage providing a URL to download the file data. On upload completion, the file will be sent to LlamaParse S3 storage, so that…
- `getUserProjects` _(read)_ — List the projects available to the user, with their names, so you can pass the right projectId to other tools. Use this whenever a tool needs a projectId and…
- `createProjectApiKey` _(write)_ — Create a LlamaCloud API key scoped to one project, for handing to an application or a teammate. The key can only reach that project. The secret is returned…
- `parseFile` _(write)_ — Parse a file providing its file ID, retrieving markdown or plain text content of the file. Use with file IDs obtained with the getUploadUrl/uploadFileByUrl…
- `classifyFile` _(write)_ — Classify a file (based on specific categories) providing its file ID. Use with file IDs obtained with the getUploadUrl/uploadFileByUrl tool or that the user…
- `splitFile` _(write)_ — Split a file into category-based segments providing its file ID. Use with file IDs obtained with the getUploadUrl/uploadFileByUrl tool or that the user provided
- `searchSchemaTemplates` _(read)_ — Search the built-in library of starter extraction schemas (invoice, contract, resume, 10-K, patient intake and more) by keyword or category. Returns matching…
- `getSchemaTemplate` _(read)_ — Retrieve the full JSON Schema for one starter extraction template, by id, as returned by `searchSchemaTemplates`. Pass the schema to…
- `createExtractionConfigFromSchema` _(write)_ — Create an extraction configuration from a JSON Schema you already have, and return its configuration id for use with `extractFile`. Supply either a…
- `generateExtractionConfig` _(write)_ — Generate the configuration to extract structured data from a specific file using the Extract service from the LlamaParse Platform. Provide a prompt describing…
- `extractFile` _(write)_ — Extract structured data from a file based on the configuration created with the `generateExtractionConfig` tool. Returns the extracted structured data.
- `extractFileTurbo` _(write)_ — Extract structured data from a file in real time using the Turbo tier: one call, schema supplied inline, structured JSON back in seconds — no saved…
- `listIndexes` _(read)_ — List all the available indexes on the LlamaParse Platform. Indexes are vector-indexed directories with the possibility of searching/reading/grepping files and…
- `findFilesInIndex` _(read)_ — Search files within an index. Optionally provide the file name to filter for or a substring that should be contained in the file name
- `readFileFromIndex` _(read)_ — 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. Returned document text…
- `grepFileFromIndex` _(read)_ — 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 and a maximum number…
- `retrieveFromIndex` _(read)_ — Perform hybrid search on the index, providing a query and, optionally, the top K documents to retrieve and the top N documents to rerank. Results carry…
- `createDirectory` _(write)_ — Create a directory (folder) to hold source documents. A directory is what an index is built over: upload files, add them to a directory with…
- `listDirectories` _(read)_ — List the directories in a project. Returns one page at a time — pass the returned nextPageToken to fetch more. By default only user directories are listed;…
- `listDirectory` _(read)_ — List the files inside a directory, along with the directory itself. Returns one page at a time — pass the returned nextPageToken to fetch more. Use…
- `addFilesToDirectory` _(write)_ — Add already-uploaded files to a directory, so they can be indexed. Takes file IDs from getUploadUrl or uploadFileByUrl. Files are added one by one, so the…
- `createIndex` _(write)_ — Create an index over a directory, making its documents searchable with retrieveFromIndex and the other index tools. The directory must already contain the…
- `getIndexStatus` _(read)_ — Check whether an index has finished building. Indexing is asynchronous, so an index created or synced moments ago will not return results yet. Poll this until…
- `syncIndex` _(write)_ — Re-index a directory, picking up files added or changed since the last run. Indexes do not refresh on their own, so this is the only way an existing index sees…
- `parseWithLiteParse` _(read)_ — Parse a PDF file with LiteParse, a fast, in-process parser that does not consume credits from the LlamaParse Platform. The tool needs a file ID obtained with…
- `estimateFileComplexity` _(read)_ — Estimate the parsing complexity of a PDF file (providing its file ID) using LiteParse. Returns a JSON object mapping each page with the LlamaParse tier it…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/llamaindex-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/llamaindex-mcp/connect/chatgpt
- VS Code: https://mewcp.com/mcp/llamaindex-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/llamaindex-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/llamaindex-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/llamaindex-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/llamaindex-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/llamaindex-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/llamaindex-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/llamaindex-mcp/connect/hermes
- DeepSeek Harness: https://mewcp.com/mcp/llamaindex-mcp/connect/dsh
- Python: https://mewcp.com/mcp/llamaindex-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/llamaindex-mcp/connect/typescript