LlamaIndex MCP server for data indexing
## LlamaCloud MCP Server: Enterprise LlamaIndex Platform The **LlamaCloud MCP Server** connects Google Antigravity to LlamaCloud, the managed platform for production LlamaIndex applications. This service handles parsing, indexing, and retrieval at enterprise scale with minimal configuration. ### Why LlamaCloud MCP? LlamaCloud simplifies production RAG: - **Managed Parsing**: Parse any document format - **Auto Indexing**: Automatic chunking and embedding - **Enterprise Scale**: Handle millions of documents - **LlamaParse**: Best-in-class document parsing - **Observability**: Built-in monitoring and analytics ### Key Features #### 1. Document Parsing ```python from llama_cloud import LlamaCloud client = LlamaCloud(api_key="your-key") # Parse complex documents result = client.parse( file_path="financial_report.pdf", parsing_instruction="Extract tables and charts as structured data" ) for page in result.pages: print(page.text) for table in page.tables: print(table.to_dataframe()) ``` #### 2. Managed Index ```python # Create and manage indexes index = client.create_index( name="company-docs", embedding_model="text-embedding-3-small" ) # Add documents index.add_documents([ "policy.pdf", "handbook.docx", "procedures.md" ]) # Query results = index.query("What is the vacation policy?") ``` #### 3. Pipeline Integration ```python from llama_index.indices.managed.llama_cloud import LlamaCloudIndex # Use in LlamaIndex pipelines index = LlamaCloudIndex( name="my-index", api_key="your-key" ) query_engine = index.as_query_engine() response = query_engine.query("Summarize key policies") ``` ### Configuration ```json { "mcpServers": { "llamacloud": { "command": "npx", "args": ["-y", "@anthropic/mcp-llamacloud"], "env": { "LLAMA_CLOUD_API_KEY": "llx-your-key" } } } } ``` ### Use Cases **Enterprise RAG**: Build production RAG systems with managed infrastructure. **Document Processing**: Parse and index complex documents at scale. **Knowledge Management**: Create searchable knowledge bases from any content. The LlamaCloud MCP Server brings managed RAG infrastructure to Antigravity.
{
"mcpServers": {
"llamacloud": {
"mcpServers": {
"llamacloud": {
"env": {
"LLAMA_CLOUD_API_KEY": "YOUR_LLAMACLOUD_API_KEY"
},
"args": [
"-y",
"@llamaindex/mcp-server"
],
"command": "npx"
}
}
}
}
}