Skip to main content
Glama
csimi

elastic-mcp

by csimi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ELASTICSEARCH_URLYesEndpoint URL, optionally including a base path.
ELASTICSEARCH_API_KEYNoBase64 API key; takes precedence over basic auth.
ELASTICSEARCH_PASSWORDNoBasic-auth password.
ELASTICSEARCH_USERNAMENoBasic-auth username.
ELASTICSEARCH_TLS_VERIFYNoDefaults to true; set to false to accept self-signed/invalid certs (dev only).
ELASTICSEARCH_API_VERSIONNo8, 9, or auto (default). Selects the client major.
ELASTICSEARCH_ENABLE_WRITESNoSet to true to register the write tools. Off by default.
ELASTICSEARCH_CA_FINGERPRINTNoSHA-256 fingerprint of the CA certificate.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Run an Elasticsearch search using Query DSL and return the matching hits and aggregations.

countA

Count the documents in an index that match an optional Query DSL query.

get_documentA

Fetch a single document from an index by its id.

list_indicesA

List indices with their health, status, document count, and size (equivalent to _cat/indices). Falls back to the index-level _resolve/index API (names only) when the cluster "monitor" privilege is missing.

get_mappingA

Get the field mappings for one or more indices. Falls back to the read-level _field_caps API (field names and types) when the index "view_index_metadata" privilege is missing.

get_settingsA

Get the settings for one or more indices.

get_aliasesA

List index aliases, optionally filtered by name (equivalent to _cat/aliases). Falls back to the index-level _resolve/index API when the cluster "monitor" privilege is missing.

list_shardsA

List the cluster's shards with their primary/replica role, state, document count, store size, and hosting node (equivalent to _cat/shards). The docs and store columns come back null without the cluster "monitor" privilege; there is no lower-privilege source for per-shard rows, so a missing privilege surfaces as an error.

cluster_healthB

Get the health of the cluster, optionally scoped to specific indices.

cluster_statsA

Get cluster-wide statistics covering indices, nodes, shards, and resource usage.

cluster_infoA

Get basic cluster information: name, UUID, and Elasticsearch version (the root endpoint).

list_nodesA

List the nodes in the cluster with role, heap, CPU, and load information (equivalent to _cat/nodes).

get_kibana_objectA

Fetch a Kibana saved object (visualization, lens, dashboard, index-pattern, search, map, tag, ...) by ":" reference. Decodes the JSON-as-string fields Kibana stores inline (visState, searchSourceJSON, ...) and resolves references[] to the titles of the objects they point at. Reads .kibana_analytics and .kibana directly, so the API key needs read access to those indices.

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/csimi/elastic-mcp'

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