Skip to content
Cursor

opensearch mcp for Cursor

io.github.mrfentmen/opensearch-mcp

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

client:Cursor transport:stdio runtime:npm

Install opensearch mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "opensearch-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/opensearch-mcp"
      ],
      "env": {
        "OPENSEARCH_URL": "<OPENSEARCH_URL>",
        "OPENSEARCH_API_KEY": "<OPENSEARCH_API_KEY>",
        "OPENSEARCH_USERNAME": "<OPENSEARCH_USERNAME>",
        "OPENSEARCH_PASSWORD": "<OPENSEARCH_PASSWORD>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

opensearch mcp in other clients