Elasticsearch (Docker) MCP Server
CommunityContributed by Elastic
Connect to Elasticsearch clusters via Docker. List indices, inspect field mappings, and run full-text and query-DSL searches over your data, in an isolated container.
About the Elasticsearch (Docker) MCP Server
The Elasticsearch (Docker) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Connect to Elasticsearch clusters via Docker. List indices, inspect field mappings, and run full-text and query-DSL searches over your data, in an isolated container. This is a community-contributed MCP server by Elastic.
Install the Elasticsearch (Docker) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires an API key — McpMux securely stores your credentials with AES-256-GCM encryption.
Transport Configuration
{
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"ES_URL",
"-e",
"ES_API_KEY",
"docker.elastic.co/mcp/elasticsearch",
"stdio"
],
"env": {
"ES_URL": "${input:ES_URL}",
"ES_API_KEY": "${input:ES_API_KEY}"
},
"metadata": {
"inputs": [
{
"id": "ES_URL",
"label": "Elasticsearch URL",
"description": "The URL of your Elasticsearch cluster. Use host.docker.internal instead of localhost to reach a local cluster from inside the container (e.g., https://host.docker.internal:9200).",
"type": "url",
"required": true,
"secret": false,
"placeholder": "https://your-deployment.es.region.cloud.es.io"
},
{
"id": "ES_API_KEY",
"label": "Elasticsearch API Key",
"description": "An Elasticsearch API key used to authenticate to the cluster. Create one in Kibana under Stack Management > Security > API keys, or via the Elastic Cloud console.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "<your-elasticsearch-api-key>",
"obtain": {
"url": "https://www.elastic.co/guide/en/kibana/current/api-keys.html",
"instructions": "1. Open Kibana for your deployment\n2. Go to Stack Management > Security > API keys\n3. Click Create API key and set the name and privileges\n4. Copy the encoded API key value\n\nElastic Cloud: open your deployment in the Elastic Cloud console to find Kibana and the Elasticsearch endpoint URL.",
"button_label": "Create API Key"
}
}
]
}
}Supported AI Clients
The Elasticsearch (Docker) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
MongoDB (Docker)
Connect to MongoDB databases and Atlas clusters via Docker. Query collections, inspect schemas, manage indexes, and run aggregation pipelines in an isolated container.
MongoDB (npx)
Connect to MongoDB databases and Atlas clusters. Query collections, inspect schemas, manage indexes, and run aggregation pipelines through the official MongoDB MCP server.

PostgreSQL (Docker)
Query PostgreSQL databases, analyze performance, and optimize indexes via Docker. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks.

PostgreSQL (uvx)
Query PostgreSQL databases, analyze performance, and optimize indexes. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks via Postgres MCP Pro.
Redis (Docker)
Interact with Redis databases via Docker. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.
Redis (uvx)
Interact with Redis databases. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.
Install Elasticsearch (Docker) with McpMux
One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.