opensearch-mcp-server

opensearch-mcp-server

2

The OpenSearch MCP Server is a Model Context Protocol server designed for OpenSearch integration. It provides tools for index and cluster management, and document search functionalities. The server can be integrated with various applications, including Cursor and Claude Desktop App, to enhance search and management capabilities.

OpenSearch MCP Server

MCP server for OpenSearch integration inspired by elasticsearch-mcp-server.

Features

  • Index Management Tools:
    • List all indices in OpenSearch cluster
    • Get index mapping
    • Get index settings
  • Cluster Management Tools:
    • Get cluster health status
    • Get cluster statistics
  • Document Tools:
    • Search documents

Installation

  1. Clone the repository and navigate to the directory.
  2. Set up a virtual environment.
  3. Install the necessary packages.

Configuration

Create a .env file with OpenSearch configuration variables.

Usage with Cursor

Run the MCP server and integrate with Cursor by specifying server URLs.

Usage with Claude Desktop APP

Set up command and arguments for server execution.