Elasticsearch 7.x MCP Server logo

Elasticsearch 7.x MCP Server

by MCP-Mirror (or imlewc)

An MCP server for Elasticsearch 7.x, providing compatibility with Elasticsearch 7.x versions. It allows easy access to Elasticsearch functionality through any MCP client.

View on GitHub

Last updated: N/A

What is Elasticsearch 7.x MCP Server?

This is an MCP (Message Communication Protocol) server designed to interface with Elasticsearch 7.x. It acts as a bridge, allowing MCP clients to interact with and query an Elasticsearch 7.x cluster.

How to use Elasticsearch 7.x MCP Server?

Install the server using Smithery or manually via pip. Configure environment variables for Elasticsearch host, username, and password. Start the server and use an MCP client to connect and call the supported API methods like es-ping, es-info, and es-search.

Key features of Elasticsearch 7.x MCP Server

  • Provides an MCP protocol interface for interacting with Elasticsearch 7.x

  • Supports basic Elasticsearch operations (ping, info, etc.)

  • Supports complete search functionality, including aggregation queries, highlighting, sorting, and other advanced features

  • Easily access Elasticsearch functionality through any MCP client

Use cases of Elasticsearch 7.x MCP Server

  • Integrating Elasticsearch 7.x with MCP-based systems

  • Providing a standardized interface for querying Elasticsearch

  • Building search applications using MCP clients

  • Abstracting Elasticsearch complexity for easier access

FAQ from Elasticsearch 7.x MCP Server

What Elasticsearch versions are supported?

Elasticsearch 7.x versions are supported, with 7.17.x recommended.

What are the required environment variables?

The server requires ELASTIC_HOST, ELASTIC_USERNAME, ELASTIC_PASSWORD, and optionally MCP_PORT.

How do I install the server?

You can install it via Smithery or manually using pip install -e ..

How do I connect to the server using an MCP client?

Use an MCP client library (e.g., Python mcp library) and connect to the server's address and port (default 9999).

What search functionalities are supported?

The server supports basic search, aggregation queries, highlighting, sorting, and filtering.