Skip to main content
Glama
Edrient17

elasticsearch-investigation-mcp

by Edrient17

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ES_URLYesElasticsearch address (e.g., http://elasticsearch.example.com:9200)
MCP_HOSTNoBind address for the MCP server process
ES_API_KEYYesBase64-encoded API key (id:secret) with read and view_index_metadata permissions on the log index
ES_HOST_FIELDNoField containing the host name, must match Zabbix's host namehost.name
ES_MESSAGE_FIELDNoField containing the raw log messagemessage
ES_SERVICE_FIELDNoField containing the service nameservice.name
ES_MCP_AUTH_TOKENYesBearer token for MCP clients to authenticate
MCP_ALLOWED_HOSTSNoComma-separated list of allowed Host headers to defend against DNS rebinding
ES_TIMESTAMP_FIELDNoField containing the log timestamp@timestamp
INVESTIGATION_MAX_SHAPESNoMaximum number of message shapes25
ES_ALLOWED_INDEX_PATTERNSNoComma-separated list of allowed index patterns. Only '*' is a wildcard, '.' is literal. If empty, all indices allowed by the API key are used.
INVESTIGATION_MAX_FUTURE_HOURSNoMaximum allowed future time offset (in hours) before treating queries as errors2
INVESTIGATION_MAX_WINDOW_HOURSNoMaximum time span (in hours) a single call can cover26
INVESTIGATION_MAX_MESSAGE_CHARSNoMaximum number of characters for a single message600
INVESTIGATION_MAX_RETURNED_LINESNoMaximum number of log lines returned100
INVESTIGATION_MAX_FETCH_DOCUMENTSNoMaximum number of documents to fetch from Elasticsearch for one answer10000

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Edrient17/elasticsearch-investigation-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server