Skip to main content
Glama

octodet-elasticsearch-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ES_URLNoElasticsearch server URLhttp://localhost:9200
ES_API_KEYNoAPI key for authentication
ES_CA_CERTNoPath to custom CA certificate
ES_VERSIONNoElasticsearch version (8 or 9)8
ES_PASSWORDNoPassword for authentication
ES_USERNAMENoUsername for authentication
ES_PATH_PREFIXNoPath prefix for Elasticsearch
ES_SSL_SKIP_VERIFYNoSkip SSL verificationfalse

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_indices

List all available Elasticsearch indices with detailed information

get_mappings

Get field mappings for a specific Elasticsearch index

search

Perform an Elasticsearch search with the provided query DSL and highlighting

get_cluster_health

Get health information about the Elasticsearch cluster

get_shards

Get shard information for all or specific indices

add_document

Add a new document to a specific Elasticsearch index

update_document

Update an existing document in a specific Elasticsearch index

delete_document

Delete a document from a specific Elasticsearch index

update_by_query

Update documents in an Elasticsearch index based on a query

delete_by_query

Delete documents in an Elasticsearch index based on a query

bulk

Perform multiple document operations (create, update, delete) in a single API call

create_index

Create a new Elasticsearch index with optional settings and mappings

delete_index

Delete an Elasticsearch index

count_documents

Count documents in an index, optionally filtered by a query

get_templates

Get index templates from Elasticsearch

get_aliases

Get index aliases from Elasticsearch

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/Octodet/elasticsearch-mcp'

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