mcp-server-elasticsearch
Verified Safeby elastic
Overview
Connects Model Context Protocol (MCP) clients to Elasticsearch instances, enabling natural language queries and interactions with Elasticsearch indices and data.
Installation
docker run --rm -e ES_URL='<elasticsearch-cluster-url>' -e ES_API_KEY='<elasticsearch-API-key>' -p 8080:8080 docker.elastic.co/mcp/elasticsearch httpEnvironment 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
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
opensearch-mcp-server-py
Enables AI assistants and LLMs to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface through built-in and dynamic tools.
mcp-server
A Model Context Protocol (MCP) server that integrates with SerpApi to provide comprehensive search engine results and data extraction to an LLM.