# Elasticsearch

> Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. It provides real-time search and…

Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. It provides real-time search and analytics for all types of data.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Elasticsearch** authenticates with an API key. Generate the credential in your Elasticsearch account, then paste it into FlyMyAI the first time an agent uses an Elasticsearch action.

[Get your Elasticsearch credential →](https://localhost:9200)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Username` | Username for basic auth _(required)_ |
| `Password` | Password for basic auth _(required)_ |
| `Elasticsearch Base URL` | Your cluster's web address including https:// and port, e.g. https://localhost:9200. In Elastic Cloud: Manage deployment → Copy endpoint next to Elasticsearch. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `ELASTICSEARCH_GET_INDEX_SCHEMA` | Tool to get the complete schema/mapping of a specific elasticsearch index. use when you need to understand the structure, field types, and mappings of an index. | `index_name` |
| `ELASTICSEARCH_LIST_INDICES` | Tool to list all available elasticsearch indices. use when you need to get a list of indices in your elasticsearch cluster, optionally filtering by pattern, health status, or other criteria. | - |
| `ELASTICSEARCH_QUERY_INDEX` | Tool to query an elasticsearch index with various filters, time ranges, and pagination support. use when you need to search for documents in an index with complex filtering criteria. | `index_name` |

## Links

- [Elasticsearch website](https://www.elastic.co/elasticsearch)
- [Get API key / credential](https://localhost:9200)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
