elasticsearch-mcp-server

A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.

GitHub Stars

200

User Rating

Not Rated

Favorites

0

Views

22

Forks

42

Issues

6

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

Docker: Latest version
Docker Compose: Latest version

Installation Steps

1. Clone Repository

bash
git clone https://github.com/cr7258/elasticsearch-mcp-server.git
cd elasticsearch-mcp-server

2. Start Cluster with Docker Compose

bash

For Elasticsearch

docker-compose -f docker-compose-elasticsearch.yml up -d

For OpenSearch

docker-compose -f docker-compose-opensearch.yml up -d

3. Configure Environment Variables

Copy the .env.example file to .env and update the values accordingly.

Troubleshooting

Common Issues

Issue: Cluster won't start Solution: Ensure Docker is installed correctly.

Additional Resources