Elasticsearch/OpenSearch MCP Server
by Rbedoyag
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENSEARCH_HOSTS | No | The hosts for the OpenSearch cluster, e.g., https://localhost:9200 | |
| ELASTICSEARCH_HOSTS | No | The hosts for the Elasticsearch cluster, e.g., https://localhost:9200 | |
| OPENSEARCH_PASSWORD | No | The password for OpenSearch authentication | |
| OPENSEARCH_USERNAME | No | The username for OpenSearch authentication | |
| ELASTICSEARCH_PASSWORD | No | The password for Elasticsearch authentication | |
| ELASTICSEARCH_USERNAME | No | The username for Elasticsearch authentication | |
| OPENSEARCH_VERIFY_CERTS | No | Whether to verify certificates for OpenSearch connections (e.g., 'false') |
Capabilities
Features and capabilities supported by this server
| 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_indices | List all indices. |
| get_index | |
| create_index | |
| delete_index | |
| search_documents | |
| index_document | |
| get_document | |
| delete_document | |
| delete_by_query | |
| get_cluster_health | Returns basic information about the health of the cluster. |
| get_cluster_stats | Returns high-level overview of cluster statistics. |
| list_aliases | List all aliases. |
| get_alias | |
| put_alias | |
| delete_alias | |
| general_api_request | 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/Rbedoyag/Elasticsearch-MCP-SERVER'
If you have feedback or need assistance with the MCP directory API, please join our Discord server