Back to Home
elastic icon

mcp-server-elasticsearch

Verified Safe

by elastic

Overview

Connects Model Context Protocol (MCP) clients to Elasticsearch instances, enabling natural language queries and interactions with Elasticsearch indices and data.

Installation

Run Command
docker run --rm -e ES_URL='<elasticsearch-cluster-url>' -e ES_API_KEY='<elasticsearch-API-key>' -p 8080:8080 docker.elastic.co/mcp/elasticsearch http

Environment Variables

  • ES_URL
  • ES_API_KEY
  • ES_USERNAME
  • ES_PASSWORD
  • ES_SSL_SKIP_VERIFY
  • CONTAINER_MODE
  • HTTP_ADDRESS
  • CLI_ARGS

Security Notes

The server is implemented in Rust, offering strong memory safety. Authentication relies on standard Elasticsearch API keys or username/password, typically provided via environment variables, or passed through an 'Authorization' HTTP header from the MCP client. The `ES_SSL_SKIP_VERIFY` option, if set to `true`, bypasses critical SSL/TLS certificate verification, which is a significant security risk and should be avoided in production environments. No 'eval' or similar dynamic code execution patterns are observed.

Similar Servers

Stats

Interest Score97
Security Score8
Cost ClassMedium
Avg Tokens500
Stars596
Forks121
Last Update2026-01-19

Tags

ElasticsearchMCPAISearchDataRust