Elasticsearch/OpenSearch MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENSEARCH_HOSTS | No | The OpenSearch hosts URL. | |
| ELASTICSEARCH_HOSTS | No | The Elasticsearch 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. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
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 | |
| 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 | |
TDQS
Scored across 16 tools
Most tools have clearly distinct resource/action targets: index management, document CRUD, aliases, cluster health/stats, and a general fallback. The main ambiguity is the intentional catch-all general_api_request, which overlaps with every dedicated tool, and alias tools are similar but still distinguishable by description.
Tool names are consistently snake_case and mostly follow a verb_noun pattern such as get_index, create_index, search_documents, and delete_document. Minor deviations include delete_by_query and general_api_request, but overall the convention is predictable.
Sixteen tools is reasonable for an Elasticsearch/OpenSearch server covering indices, documents, aliases, cluster status, and a generic API escape hatch. It is slightly above the typical 3-15 range but each tool maps to a meaningful operation.
Core lifecycle operations are covered for indices and documents, including create/get/list/delete, search, document indexing, and delete-by-query, plus alias management and cluster health/stats. Some gaps remain, such as explicit index settings/mapping updates, bulk operations, and count, though general_api_request provides a workaround.