McpMux
Back to Registry

Elasticsearch (Docker) MCP Server

Community

Contributed 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

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"
        }
      }
    ]
  }
}
Details
TransportLocal (stdio)
Hostinglocal
AuthAPI Key
Capabilities
Tools

Categories

Tags

elasticsearchelasticsearchdatabasequery-dslindicesdocker

Supported AI Clients

The Elasticsearch (Docker) MCP server works with all MCP-compatible AI clients through McpMux:

CursorClaude DesktopClaude CodeVS CodeChatGPTWindsurfJetBrainsZedClineGemini CLIAmazon Q

Related MCP Servers

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.