Skip to main content
Glama
run-llama

LlamaCloud MCP Server

by run-llama

LlamaCloud MCP-сервер

Сервер MCP, подключающийся к нескольким управляемым индексам в LlamaCloud

Это MCP-сервер на основе TypeScript, который создает несколько инструментов, каждый из которых подключен к определенному управляемому индексу на LlamaCloud. Каждый инструмент определяется через аргументы командной строки.

Функции

Инструменты

  • Создает отдельный инструмент для каждого определенного вами индекса

  • Каждый инструмент предоставляет параметр query для поиска по своему конкретному индексу.

  • Автоматически генерирует имена инструментов, такие как get_information_index_name , на основе имен индексов

Related MCP server: MCP Docs RAG Server

Установка

Для использования с вашим клиентом MCP (например, Claude Desktop, Windsurf или Cursor) добавьте следующую конфигурацию в конфигурацию вашего клиента MCP:

{
  "mcpServers": {
    "llamacloud": {
      "command": "npx",
      "args": [
        "-y",
        "@llamaindex/mcp-server-llamacloud",
        "--index",
        "10k-SEC-Tesla",
        "--description",
        "10k SEC documents from 2023 for Tesla",
        "--index",
        "10k-SEC-Apple",
        "--description",
        "10k SEC documents from 2023 for Apple"
      ],
      "env": {
        "LLAMA_CLOUD_PROJECT_NAME": "<YOUR_PROJECT_NAME>",
        "LLAMA_CLOUD_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Конфигурацию MCP для Клода можно найти здесь:

  • На MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • В Windows: %APPDATA%/Claude/claude_desktop_config.json

Формат определения инструмента

В массиве args конфигурации MCP можно определить несколько инструментов, указав пары аргументов --index и --description . Каждая пара определяет новый инструмент.

Например:

--index "10k-SEC-Tesla" --description "10k SEC documents from 2023 for Tesla"

Добавляет инструмент для индекса 10k-SEC-Tesla LlamaCloud на сервер MCP.

Разработка

Установите зависимости:

npm install

Сборка сервера:

npm run build

Для разработки с автоматической пересборкой:

npm run watch

Чтобы использовать версию для разработки, замените в конфигурации MCP npx @llamaindex/mcp-server-llamacloud на node ./build/index.js .

Отладка

Поскольку серверы MCP взаимодействуют через stdio, отладка может быть сложной. Мы рекомендуем использовать MCP Inspector , который доступен как пакетный скрипт:

npm run inspector

Инспектор предоставит URL-адрес для доступа к инструментам отладки в вашем браузере.

A
license - permissive license
-
quality - not tested
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    A TypeScript-based MCP server that enables LLM agents to interact with Gel databases through natural language, providing tools to learn database schemas, validate and execute EdgeQL queries.
    2
    11
    12
    ISC
  • F
    license
    A
    quality
    F
    maintenance
    A TypeScript MCP server that allows querying documents using LLMs with context from locally stored repositories and text files through a RAG (Retrieval-Augmented Generation) system.
    4
    18
  • A
    license
    -
    quality
    F
    maintenance
    A local MCP server that integrates with Claude Desktop, enabling RAG capabilities to provide Claude with up-to-date private information from custom LlamaCloud indices.
    225
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/run-llama/mcp-server-llamacloud'

If you have feedback or need assistance with the MCP directory API, please join our Discord server