Elasticsearch MCP Server
Official
by elastic
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
ES_URL | Yes | Your Elasticsearch URL | |
ES_API_KEY | Yes | Your Elasticsearch API key with appropriate permissions |
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 available Elasticsearch indices |
get_mappings | Get field mappings for a specific Elasticsearch index |
search | Perform an Elasticsearch search with the provided query DSL. Highlights are always enabled. |