opensearch-mcp

v1.0.3
io.github.mrfentmen/opensearch-mcp Checked 3 days ago Published 26 days ago

Search OpenSearch indices, manage documents, check health and stats.

Values you need

VariableWhat it is
OPENSEARCH_URLoptional OpenSearch server URL (default: http://localhost:9200)
OPENSEARCH_API_KEYoptional secret OpenSearch API key for authentication
OPENSEARCH_USERNAMEoptional OpenSearch username for basic auth
OPENSEARCH_PASSWORDoptional secret OpenSearch password for basic auth

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add opensearch-mcp -- npx -y @mrfentmen/opensearch-mcp@1.0.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "opensearch-mcp": {
      "args": [
        "-y",
        "@mrfentmen/opensearch-mcp@1.0.3"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "opensearch-mcp": {
      "args": [
        "-y",
        "@mrfentmen/opensearch-mcp@1.0.3"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "opensearch-mcp": {
      "args": [
        "-y",
        "@mrfentmen/opensearch-mcp@1.0.3"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.opensearch-mcp]
command = "npx"
args = ["-y", "@mrfentmen/opensearch-mcp@1.0.3"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: check_health, list_indices, create_index, delete_index, get_index, search_index, search_raw, index_document, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json