Opensearch MCP Server

MCP (Model Context Protocol) server for OpenSearch integration which is inspired by **[elasticsearch-mcp-server](https://github.com/cr7258/elasticsear

Local serverstdioPython

What is the Opensearch MCP server?

Most developer tooling work still happens through a UI a human drives. Opensearch MCP server moves it into the conversation instead. MCP (Model Context Protocol) server for OpenSearch integration which is inspired by elasticsearch-mcp-server.

The short version

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

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What it needs from you

Configuration is passed through the environment: OPENSEARCH_HOST. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by showjason; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Opensearch's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Opensearch MCP server

### Integrate with Cursor
```
{
  "mcpServers": {
    "opensearch": {
      "url": "http://<host>:<port>>/sse"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
OPENSEARCH_HOSTEndpoint or connection string the server talks to.Optional

Frequently asked questions

It connects Opensearch to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Opensearch directly.