cr7258_elasticsearch-mcp-server
The project is an implementation of a Model Context Protocol (MCP) server for interacting with Elasticsearch. It offers features like index operations, document searches, and cluster health monitoring, allowing users to manage Elasticsearch clusters efficiently.
Overview
A Model Context Protocol (MCP) server implementation that provides Elasticsearch interaction. This server enables searching documents, analyzing indices, and managing cluster through a set of tools.
Features
Index Operations
- List all indices in the Elasticsearch cluster.
- Retrieve the mapping configuration for a specific index.
- Get the settings configuration for a specific index.
Document Operations
- Search documents in an index using Elasticsearch Query DSL.
Cluster Operations
- Get health status of the cluster.
- Get statistical information about the cluster.
Start Elasticsearch Cluster
Start the Elasticsearch cluster using Docker Compose. This will start a 3-node Elasticsearch cluster and Kibana. Default Elasticsearch username elastic
, password test123
. You can access Kibana from https://localhost:5601
.
Usage with Claude Desktop
Add a configuration to Claude Desktop to interact with your Elasticsearch cluster through natural language commands like listing indices and checking the cluster health status.