mcp-server-elasticsearch

Из публичных источников

MCP-сервер для Elastic Search

Машинный перевод · Показать оригинал

MCP server for Elastic Search

MCP-серверКатегория: MCP-серверы · ИИ и память · Базы данных · Поиск и знанияOpen sourceданные проверены 22 окт. 2026 г.

Обзор

  • elasticsearch
  • mcp
  • mcp-server
  • vector-database

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    www.elastic.co/elasticsearch ↗
  • Файлы официального релизаИз публичных источниковиз последнего официального релиза
    github.com/elastic/mcp-server-elasticsearch/releases/tag/v0.4.6 ↗
  • Реестр пакетов языкаИз публичных источниковиз манифеста пакета — публикация в реестре не проверена
    cargo install elasticsearch-core-mcp-server

    Не проверено: перед установкой убедитесь, что пакет в реестре принадлежит этому проекту.

    crates.io/crates/elasticsearch-core-mcp-server ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/elastic/mcp-server-elasticsearch ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Claude (web & desktop)Неизвестно———
Claude CodeНеизвестно———
CursorНеизвестно———
VS CodeНеизвестно———
WindsurfНеизвестно———
ChatGPTНеизвестно———
WindowsСовместимоarm64официальная сборка в релизе v0.4.6: elasticsearch-core-mcp-server-v0.4.6-windows-arm64.exe0.70
Совместимоx86_64официальная сборка в релизе v0.4.6: elasticsearch-core-mcp-server-v0.4.6-windows-x86_64.exe0.70
macOSСовместимоarm64официальная сборка в релизе v0.4.6: elasticsearch-core-mcp-server-v0.4.6-macos-arm640.70
Совместимоx86_64официальная сборка в релизе v0.4.6: elasticsearch-core-mcp-server-v0.4.6-macos-x86_640.70
LinuxСовместимоx86_64официальная сборка в релизе v0.4.6: elasticsearch-core-mcp-server-v0.4.6-linux-x86_640.70

Релизы

проверено 29 окт. 2026 г.
v0.4.6Последний24 окт. 2025 г.Официальный источник ↗

Файлы версии 0.4.6

Маркетплейс не хранит эти файлы: загрузка идёт из официального источника. Мы их не сканировали.
ФайлПлатформаРазмерSHA-256Скачать из официального источника
elasticsearch-core-mcp-server-v0.4.6-linux-x86_64linux · x86_645,8 MB7ec9c2688d69…Официальный источник ↗
elasticsearch-core-mcp-server-v0.4.6-macos-arm64macos · arm644,4 MB91673f7f2784…Официальный источник ↗
elasticsearch-core-mcp-server-v0.4.6-macos-x86_64macos · x86_645,1 MB25443c5e821d…Официальный источник ↗
elasticsearch-core-mcp-server-v0.4.6-windows-arm64.exewindows · arm64 · exe5,5 MB90d838ffd9b4…Официальный источник ↗
elasticsearch-core-mcp-server-v0.4.6-windows-x86_64.exewindows · x86_64 · exe6,2 MB2e41c466dacb…Официальный источник ↗

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 22 окт. 2026 г.
Оценка качества89
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 0 days ago
Документация · 1513
README 10660 chars
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 108
3/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 356 days ago
Точность категории · 107
classifier confidence 0.65
Популярность · 107
718 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX Apache-2.0
Сообщество · 55
issues enabled, 159 forks

Лицензия

Apache-2.0
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/elastic/mcp-server-elasticsearchОсновной★ 718 звёздактивность 15 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

worldmonitorПохожий
Панель глобальной аналитики в реальном времени. Агрегация новостей с помощью ИИ, мониторинг геополитической обстановки и отслеживание инфраструктуры в едином интерфейсе ситуационной осведомлённостиAGPL-3.0 · MCP-серверы
ScraplingПохожий
🕷️ Адаптивный фреймворк для веб-скрапинга, который справляется со всем — от одиночного запроса до масштабного краулинга! Не стесняйтесь, присоединяйтесь здесь: https://discord.gg/EMgGbDceNQ и подписывайтесь здесь, чтобы получать ежедневные советы и хитрости: https://x.com/Scrapling_devBSD-3-Clause · MCP-серверы
context7Похожий
Context7 Platform — актуальная документация для ИИ-агентовMIT · MCP-серверы
gpt-researcherПохожий
Автономный агент, который проводит глубокое исследование любых данных с помощью любых провайдеров LLMApache-2.0 · MCP-серверы
python-sdkПохожий
Официальный SDK для Python для серверов и клиентов Model Context ProtocolMIT · MCP-серверы
apify-mcp-serverПохожий
MCP-сервер Apify позволяет вашим ИИ-агентам извлекать данные из социальных сетей, поисковых систем, карт, интернет-магазинов или любого другого веб-сайта с помощью тысяч готовых скраперов, краулеров и инструментов автоматизации, доступных в Apify Store.MIT · MCP-серверы

README

Из elastic/mcp-server-elasticsearch · лицензия Apache-2.0 · загружено 22 окт. 2026 г.

Elasticsearch MCP Server

[!CAUTION] This MCP server is deprecated and will only receive critical security updates going forward. It has been superseded by the Elastic Agent Builder MCP endpoint, which is available in Elastic 9.2.0+ and Elasticsearch Serverless projects.

Use the Elasticsearch MCP Server for AI Agents

The Elasticsearch MCP Server connects your AI agents to Elasticsearch data using the Model Context Protocol (MCP). It enables natural language interactions with your Elasticsearch indices, allowing agents to query, analyze, and retrieve data without custom APIs.

Follow these steps to deploy and configure the Elasticsearch MCP Server container image from AWS Marketplace.

Before you begin

Before you start, ensure you have:

  • An Elasticsearch cluster (version 8.x or 9.x) accessible from your AWS environment
  • Elasticsearch authentication credentials:
  • Docker installed and running in your AWS environment (for example, on an EC2 instance or in a container service)
  • An MCP client configured (such as Claude Desktop, Cursor, VS Code, or another MCP-compatible tool)
  • Network connectivity between your deployment environment and your Elasticsearch cluster

[!NOTE]

These instructions apply to Elasticsearch MCP Server 0.4.0 and later. For versions 0.3.1 and earlier, refer to the README for v0.3.1.

Deploy the Elasticsearch MCP Server

The Elasticsearch MCP Server is provided as a Docker container image available from AWS Marketplace. You can run it using either the stdio protocol (for direct client connections) or the streamable-HTTP protocol (for web-based integrations).

Choose a protocol

The server supports two protocols:

  • stdio: Direct communication between the MCP client and server. Use this when your client supports stdio and runs in the same environment.
  • streamable-HTTP: HTTP-based protocol recommended for web integrations, stateful sessions, and concurrent clients.

Note: Server-Sent Events (SSE) is deprecated. Use streamable-HTTP instead.

Configure the stdio protocol

Use the stdio protocol when your MCP client connects directly to the server process.

Set environment variables for stdio mode

Set the following environment variables:

  • ES_URL: The URL of your Elasticsearch cluster (for example, https://your-cluster.es.amazonaws.com:9200)
  • For authentication, use one of these options:
    • API key: Set ES_API_KEY to your Elasticsearch API key
    • Basic authentication: Set ES_USERNAME and ES_PASSWORD to your Elasticsearch credentials
  • (Optional) ES_SSL_SKIP_VERIFY: Set to true to skip SSL/TLS certificate verification when connecting to Elasticsearch. Only use this for development or testing environments.
Run the container in stdio mode

Start the MCP server in stdio mode:

docker run -i --rm \
  -e ES_URL \
  -e ES_API_KEY \
  docker.elastic.co/mcp/elasticsearch \
  stdio
Configure Claude Desktop

Add this configuration to your Claude Desktop configuration file:

{
  "mcpServers": {
    "elasticsearch-mcp-server": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "ES_URL",
        "-e", "ES_API_KEY",
        "docker.elastic.co/mcp/elasticsearch",
        "stdio"
      ],
      "env": {
        "ES_URL": "<elasticsearch-cluster-url>",
        "ES_API_KEY": "<elasticsearch-API-key>"
      }
    }
  }
}

Replace <elasticsearch-cluster-url> with your Elasticsearch cluster URL and <elasticsearch-API-key> with your API key.

Configure the streamable-HTTP protocol

Use the streamable-HTTP protocol for web-based integrations or when you need to support multiple concurrent clients.

Set environment variables for HTTP mode

Set the same environment variables as the stdio protocol:

  • ES_URL: The URL of your Elasticsearch cluster
  • For authentication, use one of these options:
    • API key: Set ES_API_KEY to your Elasticsearch API key
    • Basic authentication: Set ES_USERNAME and ES_PASSWORD to your Elasticsearch credentials
  • (Optional) ES_SSL_SKIP_VERIFY: Set to true to skip SSL/TLS certificate verification
Run the container in HTTP mode

Start the MCP server in HTTP mode:

docker run --rm \
  -e ES_URL \
  -e ES_API_KEY \
  -p 8080:8080 \
  docker.elastic.co/mcp/elasticsearch \
  http

The streamable-HTTP endpoint is available at http://<host>:8080/mcp. A health check endpoint is available at http://<host>:8080/ping.

Configure Claude Desktop with HTTP proxy

If you're using Claude Desktop (free edition) which only supports the stdio protocol, use mcp-proxy to bridge stdio to streamable-HTTP:

  1. Install mcp-proxy:

    uv tool install mcp-proxy
    

    For alternative installation options, refer to mcp-proxy/README.md.

  2. Add this configuration to Claude Desktop:

    {
      "mcpServers": {
        "elasticsearch-mcp-server": {
          "command": "/<home-directory>/.local/bin/mcp-proxy",
          "args": [
            "--transport=streamablehttp",
            "--header", "Authorization", "ApiKey <elasticsearch-API-key>",
            "http://<mcp-server-host>:<mcp-server-port>/mcp"
          ]
        }
      }
    }
    

    Replace <home-directory>, <elasticsearch-API-key>, <mcp-server-host>, and <mcp-server-port> with your values.

Verify the connection

After configuring your MCP client, verify the connection works:

  1. Start your MCP client (for example, Claude Desktop or Cursor).
  2. Check that the Elasticsearch MCP Server appears in your available MCP servers.
  3. Test a simple query through your agent interface to confirm it can access your Elasticsearch indices.

If the connection fails, verify:

  • Your Elasticsearch cluster URL is correct and accessible from your AWS environment
  • Your authentication credentials are valid and have the necessary permissions
  • Network connectivity exists between the container and your Elasticsearch cluster (check security groups and network ACLs)
  • Docker is running and the container started successfully (check container logs with docker logs <container-id>)

Monitor health and status

Monitor the health and proper function of the Elasticsearch MCP Server using these methods:

Check container status

Verify the container is running:

docker ps | grep elasticsearch-mcp-server

The container should appear in the list with a status of Up.

Test the health endpoint (HTTP mode)

If you're using the streamable-HTTP protocol, test the health check endpoint:

curl http://<host>:8080/ping

A successful response returns pong, indicating the server is running and healthy.

Check container logs

View container logs to identify any issues:

docker logs <container-id>

Look for error messages related to:

  • Elasticsearch connection failures
  • Authentication errors
  • Network connectivity issues
Verify Elasticsearch connectivity

Test connectivity to your Elasticsearch cluster from the container:

docker exec <container-id> curl -k -u <username>:<password> <ES_URL>

Or with an API key:

docker exec <container-id> curl -k -H "Authorization: ApiKey <api-key>" <ES_URL>

A successful response indicates the container can reach your Elasticsearch cluster.

Security and sensitive information

The Elasticsearch MCP Server handles authentication credentials securely:

Credential storage
  • API keys and passwords: Stored only in environment variables passed to the container. They are not persisted to disk or logged.
  • Environment variables: Set when you run the container. Use AWS Secrets Manager or AWS Systems Manager Parameter Store to manage credentials securely in production environments.
Data encryption
  • In transit: The MCP server communicates with Elasticsearch over HTTPS when your ES_URL uses the https:// protocol. Ensure your Elasticsearch cluster has SSL/TLS enabled.
  • At rest: The container does not store data locally. All data remains in your Elasticsearch cluster, which uses your cluster's encryption settings.
Best practices
  • Rotate API keys regularly (every 30-90 days for production environments)
  • Use API keys with minimal required permissions (read-only access to specific indices when possible)
  • Never commit credentials to version control or share them in logs
  • Use AWS Secrets Manager or Parameter Store to inject credentials at runtime instead of hardcoding them

AWS service quotas

The Elasticsearch MCP Server runs as a container in your AWS environment. Consider these AWS service quotas:

  • EC2 instance limits: If running on EC2, ensure your instance type supports your expected workload
  • Elastic Container Service (ECS): If using ECS, review ECS service quotas
  • Elastic Kubernetes Service (EKS): If using EKS, review EKS service quotas
  • Network bandwidth: Ensure sufficient network bandwidth between your container and Elasticsearch cluster

To request quota increases, use the AWS Service Quotas console or refer to the AWS General Reference Guide.

Available tools

Once connected, the MCP server provides these tools to your agent:

  • list_indices: List all available Elasticsearch indices
  • get_mappings: Get field mappings for a specific Elasticsearch index
  • search: Perform an Elasticsearch search using query DSL
  • esql: Execute an ES|QL query
  • get_shards: Get shard information for all or specific indices

Your agent can use these tools to interact with your Elasticsearch data through natural language conversations.

Next steps

  • Learn about AI-powered features available in the Elastic platform
  • Explore Agent Builder for building custom AI agents with Elasticsearch
Открыть репозиторий ↗