What authentication methods are supported?
Basic authentication (username/password) for both Elasticsearch and OpenSearch, and API key authentication for Elasticsearch. API key authentication is recommended for Elasticsearch.
@cr7258
Basic information
A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"elasticsearch-mcp-server": {
"command": "uvx",
"args": [
"elasticsearch-mcp-server"
],
"env": {
"ELASTICSEARCH_CLUSTERS": "{\"prod\": {\"hosts\": [\"https://prod-es:9200\"], \"api_key\": \"<PROD_API_KEY>\", \"verify_certs\": true}, \"staging\": {\"hosts\": [\"https://staging-es:9200\"], \"username\": \"elastic\", \"password\": \"<STAGING_PASSWORD>\"}}",
"DEFAULT_CLUSTER": "prod"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
A Model Context Protocol (MCP) server that provides Elasticsearch and OpenSearch interaction. It enables searching documents, analyzing indices, and managing clusters through a set of tools. Designed for developers and operators who need AI‑assisted database access.
Install via uvx (automatically from PyPI) or clone the repo and run with uv. Configure environment variables for host, authentication (username/password or API key), and optional multi-cluster settings. Add the configuration to your MCP client (e.g., Claude Desktop) using either the stdio or SSE transport.
Basic authentication (username/password) for both Elasticsearch and OpenSearch, and API key authentication for Elasticsearch. API key authentication is recommended for Elasticsearch.
Set the `ELASTICSEARCH_CLUSTERS` or `OPENSEARCH_CLUSTERS` environment variable to a JSON object with named clusters. Alternatively, use `ELASTICSEARCH_CLUSTERS_FILE` or `OPENSEARCH_CLUSTERS_FILE` to point to a JSON file. Every tool accepts an optional `cluster` parameter.
Yes, set `DISABLE_HIGH_RISK_OPERATIONS=true` to hide all write tools (create/delete index, document operations, alias changes, etc.). You can also disable specific operations with `DISABLE_OPERATIONS`.
No, `VERIFY_CERTS` defaults to `false`. You can set it to `true` to verify SSL certificates.
Set the `MCP_API_KEY` environment variable to enable Bearer token authentication for SSE and Streamable HTTP transports. Without it, the server is accessible without authentication. The `stdio` transport does not require this.
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.

nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi

Local database MCP server: your agent reads the schema and sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server, SQLite and more, with no database credentials.

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.
MCP server for interacting with Neon Management API and databases
Comments