a year ago
research-and-dataelasticsearch mcp server and client, supports es7 and es8, based on Model Context Protocol python sdk
Overview
what is Elasticsearch MCP Server?
Elasticsearch MCP Server is a tool server based on the Model Context Protocol (MCP) that provides functionalities for indexing queries, mapping retrieval, and searching, supporting Elasticsearch versions 7 and 8.
how to use Elasticsearch MCP Server?
To use the server, install it via PyPI or from source, configure it using environment variables or command-line parameters, and then start the server in either stdio or SSE mode.
key features of Elasticsearch MCP Server?
- List all indices in the ES cluster
- Retrieve field mapping information for specified indices
- Execute search queries with highlighting in specified indices
- Get health status and statistics of the ES cluster
use cases of Elasticsearch MCP Server?
- Managing and querying Elasticsearch indices.
- Integrating with tools like Claude Desktop for data access.
- Running unit tests to validate server functionality.
FAQ from Elasticsearch MCP Server?
- What versions of Elasticsearch does it support?
The server supports both Elasticsearch 7 and 8.
- How do I install the server?
You can install it using pip:
pip install es-mcp-server.
- Can I run unit tests?
Yes, you can run unit tests using
pytestto validate the server's functionality.