Elasticsearch

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

communityapplication

Package Details

Transportstdio

Environment Variables

ES_URL(str)
Required

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

ES_API_KEY(str)
Secret

Elasticsearch API key for authentication

ES_USERNAME(str)

Elasticsearch username for basic authentication

ES_PASSWORD(str)
Secret

Elasticsearch password for basic authentication

ES_CA_CERT(file)

Path to custom CA certificate for Elasticsearch SSL/TLS

NODE_TLS_REJECT_UNAUTHORIZED(str)
Default:1

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

MAX_TOKEN_CALL(num)
Default:20000

Maximum tokens per API call

TransportStreamable HTTP

Environment Variables

MCP_TRANSPORT(str)
Default:http
Required

Transport mode selection

MCP_HTTP_PORT(num)
Default:3000

HTTP server port (when using HTTP transport)

MCP_HTTP_HOST(str)
Default:localhost

HTTP server host (when using HTTP transport)

ES_URL(str)
Required

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

ES_API_KEY(str)
Secret

Elasticsearch API key for authentication

ES_USERNAME(str)

Elasticsearch username for basic authentication

ES_PASSWORD(str)
Secret

Elasticsearch password for basic authentication

ES_CA_CERT(file)

Path to custom CA certificate for Elasticsearch SSL/TLS

NODE_TLS_REJECT_UNAUTHORIZED(str)
Default:1

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

MAX_TOKEN_CALL(num)
Default:20000

Maximum tokens per API call