Elasticsearch MCP Server
Expose Elasticsearch indexes. Perform full-text search, audit cluster states, and map complex query filters.
Quick Answer / TL;DR
The Elasticsearch MCP server establishes a secure, local or remote JSON-RPC 2.0 communication tunnel, allowing AI models (like Claude or Cursor) to automatically discover and execute capabilities (tools, prompts, and resources) within the Elasticsearch ecosystem with extremely low latency.
Key Takeaways
- Find relevant system error logs
- Perform cluster health diagnoses
- Verify index keyword mappings
Core Integration Concept
Connecting the model to Elasticsearch bypasses complex setup. The LLM can auto-discover what endpoints are active, what input variables are expected, and how answers will be delivered.
Verified Use Cases
Setup Overview
Connection Setup Checklist
- Prepare Credentials: Obtain your Elastic Search Token credentials directly from your Elasticsearch settings.
- Update Config: Add the executable tool command structure directly to your Claude config file.
- Restart & Confirm: Reload the desktop model client to complete the connection handshake sequence.
Sample Connection Schema
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "execute_elasticsearch",
"arguments": {
"query": "status_check"
}
},
"id": 1
}Security Considerations
To guarantee perfect data isolation, safeguard the Elastic Search Token credentials. Always run integrations in sandboxed contexts to block unsolicited access.
Best Practices
- Configure exact resource boundaries for the Full-text searches feature.
- Configure exact resource boundaries for the Index analytics feature.
- Configure exact resource boundaries for the Cluster health checks feature.
- Configure exact resource boundaries for the Alias configurations feature.
Required Auth Keys
Elastic Search Token
Deploy Elasticsearch Server
Deploy this Elasticsearch integration to our global edge container cluster. Zero DevOps, instant SSE.
Related Connectors
Elasticsearch - FAQ
Contextual information and technical support details regarding Model Context Protocol integration