Rank Eval on Elasticsearch

POST /_rank_eval with body_json.

Generate MCP URL

Use Case

Overview: POST /_rank_eval with body_json through Elasticsearch.

Benefits:

  • Build powerful search experiences with full-text search.
  • Analyze log data and metrics in real-time.

Common Use Cases:

  • Index application logs for debugging and monitoring.
  • Power site search with typo-tolerant matching.

Use Cases for Elasticsearch MCP

1. Intelligent Log Analysis & Alerting

AI agents query Elasticsearch indices to detect anomalies in application logs, infrastructure metrics, and security events, triggering alerts in real time.


2. Full-Text Search Enhancement

AI agents manage Elasticsearch indices to power fast, relevant search across products, documentation, and knowledge bases with dynamic ranking and filtering.


3. Real-Time Analytics Dashboards

Automatically aggregate and query data in Elasticsearch to build live dashboards showing business metrics, user behavior, and operational health.


4. Security Information & Event Management

AI agents ingest and correlate security events in Elasticsearch, identify threat patterns, and generate incident reports for security operations teams.


5. Data Pipeline Monitoring

AI agents track data ingestion rates, index health, and query performance in Elasticsearch, flagging bottlenecks and ensuring data pipelines run smoothly.

Explore Other Tools

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Create Role on Elasticsearch

PUT /_security/role/{name}.

Create API Key on Elasticsearch

POST /_security/api_key with body_json (X-Pack).

Delete Document on Elasticsearch

DELETE /{index}/_doc/{id}.

Update Settings on Elasticsearch

PUT /{index}/_settings.

Delete Template on Elasticsearch

DELETE /_index_template/{name}.

Explain on Elasticsearch

GET/POST explain why document matches. Pass index, id, body_json query.

Reindex on Elasticsearch

POST /_reindex with body_json.

Update By Query on Elasticsearch

POST /{index}/_update_by_query with body_json.

Index Document on Elasticsearch

PUT /{index}/_doc/{id} with body_json.

Refresh Index on Elasticsearch

POST /{index}/_refresh.

Multi Search Template on Elasticsearch

POST /_msearch/template with ndjson.

Search on Elasticsearch

POST /{index}/_search with full query DSL (query, size, from, sort, _source, aggs, highlight). Returns hits and aggregations. Use ES_COUNT for counts only.

Cluster Settings on Elasticsearch

GET /_cluster/settings.

Get Role on Elasticsearch

GET /_security/role/{name}.

Mget on Elasticsearch

POST /_mget with docs ids JSON.

Put Ilm Policy on Elasticsearch

PUT /_ilm/policy/{name}.

Restore Snapshot on Elasticsearch

POST /_snapshot/{repo}/{snapshot}/_restore.

Agg Query on Elasticsearch

Search with size 0 and aggs_json only.

Task Cancel on Elasticsearch

POST /_tasks/_cancel.

Open Index on Elasticsearch

POST /{index}/_open.

Term Search on Elasticsearch

Filter by exact term: {term:{field,value}}.

Get Ilm Policy on Elasticsearch

GET /_ilm/policy/{name}.

List Snapshots on Elasticsearch

GET /_snapshot/{repo}/_all.

Clear Scroll on Elasticsearch

DELETE /_search/scroll.

Cluster Stats on Elasticsearch

GET /_cluster/stats.

Create Document on Elasticsearch

POST /{index}/_doc auto-id.

Count on Elasticsearch

POST /{index}/_count with optional query JSON.

List Indices on Elasticsearch

GET /_cat/indices?format=json.

Scroll Search on Elasticsearch

POST /_search/scroll with scroll_id and scroll duration.

List Templates on Elasticsearch

GET /_index_template.

List Aliases on Elasticsearch

GET /_cat/aliases?format=json or GET /_alias.

Get Template on Elasticsearch

GET /_index_template/{name}.

Bool Query on Elasticsearch

Bool query from must_json, filter_json, should_json arrays (JSON strings).

Create Snapshot on Elasticsearch

PUT /_snapshot/{repo}/{snapshot} with body_json.

Put Template on Elasticsearch

PUT /_index_template/{name} with body_json.

Node Stats on Elasticsearch

GET /_nodes/stats.

Delete Snapshot on Elasticsearch

DELETE /_snapshot/{repo}/{snapshot}.

Alias Add on Elasticsearch

POST /_aliases with actions JSON array.

Update Document on Elasticsearch

POST /{index}/_update/{id} with doc or script in body_json.

Create Index on Elasticsearch

PUT /{index} with optional settings/mappings body_json.

Put Mapping on Elasticsearch

PUT /{index}/_mapping.

Delete Ilm Policy on Elasticsearch

DELETE /_ilm/policy/{name}.

List Roles on Elasticsearch

GET /_security/role.

Cluster Info on Elasticsearch

GET / root cluster info.

Terms Enum on Elasticsearch

POST /{index}/_terms_enum for keyword fields.

Alias Remove on Elasticsearch

Remove alias via _aliases actions .

Get Settings on Elasticsearch

GET /{index}/_settings.

Delete By Query on Elasticsearch

POST /{index}/_delete_by_query.

Cluster Health on Elasticsearch

GET /_cluster/health.

Put Cluster Settings on Elasticsearch

PUT /_cluster/settings transient/persistent JSON.

Invalidate API Key on Elasticsearch

DELETE /_security/api_key.

Get API Key on Elasticsearch

GET /_security/api_key.

Field Caps on Elasticsearch

GET /{index}/_field_caps?fields=.

Range Query on Elasticsearch

Range filter on numeric/date field with gte/lte JSON.

Close Index on Elasticsearch

POST /{index}/_close.

Simple Search on Elasticsearch

Multi-match style: builds query from index + text + fields comma-list. Quick full-text search.

Search Template on Elasticsearch

POST /_scripts/{id}/_render or search template id execution on index. Pass template_id and params_json.

Get Document on Elasticsearch

GET /{index}/_doc/{id}.

Get Mapping on Elasticsearch

GET /{index}/_mapping.

Msearch on Elasticsearch

POST /_msearch NDJSON body (raw). Pass ndjson_body string with header+body lines.

Bulk on Elasticsearch

POST /_bulk with ndjson_body (raw NDJSON).

Frequently Asked Questions

Do I need my own developer credentials to use Elasticsearch MCP with Adopt AI?

No, you can get started immediately using Adopt AI's built-in Elasticsearch integration. For production use, we recommend configuring your own API credentials for greater control and security.


Can I connect Elasticsearch with other apps through Adopt AI?

Yes! Adopt AI supports multi-app workflows, so your AI agents can seamlessly move data between Elasticsearch and databases, monitoring tools, analytics platforms, and more.


Is Adopt AI secure?

Absolutely. Adopt AI is SOC 2 Type 2 certified and ISO/IEC 27001 compliant, and adheres to EU GDPR, CCPA, and HIPAA standards. All data is encrypted in transit and at rest, ensuring the confidentiality, integrity, and availability of your data. Learn more here.


What happens if the Elasticsearch API changes?

Adopt AI maintains and updates all integrations automatically, so your agents always work with the latest API versions, no manual maintenance required.


Do I need coding skills to set up the Elasticsearch integration?

Not at all. Adopt AI's zero-shot API discovery means your agents understand Elasticsearch's schema on first contact. Setup takes minutes with no code required.


How do I set up custom Elasticsearch MCP in Adopt AI?

For a step-by-step guide on creating and configuring your own Elasticsearch API credentials with Adopt AI, see here.