Elasticsearch MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENSEARCH_HOSTS | No | The OpenSearch server hosts URL | |
| ELASTICSEARCH_HOSTS | No | The Elasticsearch server hosts URL | |
| OPENSEARCH_PASSWORD | No | The OpenSearch password | |
| OPENSEARCH_USERNAME | No | The OpenSearch username | |
| ELASTICSEARCH_PASSWORD | No | The Elasticsearch password | |
| ELASTICSEARCH_USERNAME | No | The Elasticsearch username |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_indicesB | List all indices. |
| get_indexC | |
| create_indexC | |
| delete_indexC | |
| search_documentsD | |
| index_documentC | |
| get_documentC | |
| delete_documentC | |
| delete_by_queryC | |
| get_cluster_healthB | Returns basic information about the health of the cluster. |
| get_cluster_statsB | Returns high-level overview of cluster statistics. |
| list_aliasesB | List all aliases. |
| get_aliasC | |
| put_aliasC | |
| delete_aliasC | |
| create_data_streamB | Create a new data stream. |
| get_data_streamA | Get information about one or more data streams. |
| delete_data_streamA | Delete one or more data streams. |
| general_api_requestB | Perform a general HTTP API request. Use this tool for any Elasticsearch/OpenSearch API that does not have a dedicated tool. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/cr7258/elasticsearch-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server