es_mcp_server
0
The Elasticsearch MCP Server is a tool server designed to interface with Elasticsearch using the Model Context Protocol (MCP). It offers functionalities such as index queries and search capabilities, supporting Elasticsearch versions 7 and 8. This server is suitable for integration with clients like Claude Desktop through various transport modes.
Elasticsearch MCP Server
- A tool server based on Model Context Protocol (MCP) for Elasticsearch, offering indexing queries, mapping retrieval, and search functionalities.
- Supports Elasticsearch version 7 and 8.
- Provides tools like listing indices, getting mappings, executing search queries, and fetching cluster health information.
- The server can be configured via environment variables or command-line parameters.
- Offers stdio and SSE modes for integration with clients like Claude Desktop.
Installation
- Install via PyPI or from source.
Configuration
- Supports configuration via environment variables or command-line options for host, port, SSL, and version.
Starting the Server
- Supports
stdio
andSSE
transport modes.
Client Usage
- Includes a client program for validating server functionalities.
Integration
- Can be integrated with Claude Desktop using the MCP protocol for Elasticsearch data access.
Testing and Debugging
- Unit tests can be run using
pytest
. - VSCode debug configuration is available.
License
- Published under the MIT License.