Elasticsearch MCP Server
by cr7258
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
ELASTIC_HOST | Yes | The URL of the Elasticsearch cluster | https://localhost:9200 |
ELASTIC_PASSWORD | Yes | Password for Elasticsearch authentication | test123 |
ELASTIC_USERNAME | Yes | Username for Elasticsearch authentication | elastic |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
list_indices | List all indices in the Elasticsearch cluster |
get_mapping | Get index mapping |
get_settings | Get index settings |
search_documents | Search documents in an index with a custom query |
get_cluster_health | Get cluster health status |
get_cluster_stats | Get cluster statistics |