MCP ServerSTDIOOfficialv0.7.2

Elasticsearch MCP Server

Elasticsearch MCP Server with multi-version support (ES 5.x-9.x) and comprehensive API access

io.github.TocharianOU/elasticsearch

Hosted URL

https://github.com/TocharianOU/elasticsearch-mcp

Transport

STDIO

Auth

3 required env vars

Connect to Elasticsearch

Hosted endpoint — paste into any MCP client.

https://github.com/TocharianOU/elasticsearch-mcp

Environment variables

Configuration this server reads at startup.

  • ES_URLRequired

    Your Elasticsearch instance URL (e.g., https://localhost:9200)

  • MCP_TRANSPORTRequired

    Transport mode selection

  • ES_URLRequired

    Your Elasticsearch instance URL (e.g., https://localhost:9200)

  • ES_API_KEYSecret

    Elasticsearch API key for authentication

  • ES_USERNAME

    Elasticsearch username for basic authentication

  • ES_PASSWORDSecret

    Elasticsearch password for basic authentication

  • ES_CA_CERT

    Path to custom CA certificate for Elasticsearch SSL/TLS

  • NODE_TLS_REJECT_UNAUTHORIZED

    Set to '0' to disable SSL certificate validation (development only)

  • MAX_TOKEN_CALL

    Maximum tokens per API call

  • MCP_HTTP_PORT

    HTTP server port (when using HTTP transport)

  • MCP_HTTP_HOST

    HTTP server host (when using HTTP transport)

  • ES_API_KEYSecret

    Elasticsearch API key for authentication

  • ES_USERNAME

    Elasticsearch username for basic authentication

  • ES_PASSWORDSecret

    Elasticsearch password for basic authentication

  • ES_CA_CERT

    Path to custom CA certificate for Elasticsearch SSL/TLS

  • NODE_TLS_REJECT_UNAUTHORIZED

    Set to '0' to disable SSL certificate validation (development only)

  • MAX_TOKEN_CALL

    Maximum tokens per API call

Resources

Where to find authoritative docs and source for Elasticsearch.

Try Elasticsearch with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground