Skip to main content
Glama
mcp-OpenSearch

mcp-OpenSearch

by showjason

OpenSearch MCP 서버

elasticsearch-mcp-server 에서 영감을 받은 OpenSearch 통합을 위한 MCP(Model Context Protocol) 서버입니다.

특징

  • 인덱스 관리 도구:

    • OpenSearch 클러스터의 모든 인덱스 나열

    • 인덱스 매핑 가져오기

    • 인덱스 설정 가져오기

  • 클러스터 관리 도구:

    • 클러스터 상태 가져오기

    • 클러스터 통계 가져오기

  • 문서 도구:

    • 문서 검색

Related MCP server: Elastic MCP Server

설치

지엑스피1

구성

다음 변수를 사용하여 루트 디렉토리에 .env 파일을 만듭니다.

OPENSEARCH_HOST=https://localhost:9200
OPENSEARCH_USERNAME=xxxx
OPENSEARCH_PASSWORD=xxxx

OpenSearch 구성에 맞게 값을 조정하세요.

커서를 사용한 사용

MCP 서버를 실행합니다.

uv run opensearch-mcp-server --port=<port>

커서와 통합

{
  "mcpServers": {
    "opensearch": {
      "url": "http://<host>:<port>>/sse"
    }
  }
}

Claude Desktop APP와 함께 사용

{
  "mcpServers": {
    "opensearch": {
      "command": "uv",
      "args": [
          "--directory",
          "/absolute/path/to/opensearch-mcp-server",
          "run",
          "opensearch-mcp-server"
      ]
    }
  }
}

개발

# Install dependencies
uv pip install -e .

# Run tests
uv run pytest -vv -s test_opensearch.py

특허

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Enables AI agents to interact with INFINI Easysearch (compatible with Elasticsearch/OpenSearch APIs) through 121 tools covering cluster management, index operations, document manipulation, search queries, snapshots, and monitoring.
      100
      4
      MIT
    • F
      license
      B
      quality
      Not graded
      maintenance
      Provides comprehensive tools for managing Elasticsearch clusters, including security management, search operations, and index administration. It enables users to monitor cluster health, handle InfoSec tasks, and execute complex queries using Elasticsearch Query DSL and ES|QL.
      37
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to interact with OpenSearch clusters to monitor cluster health, manage indices, and perform data searches. It provides a standardized interface for real-time OpenSearch operations within MCP-compatible environments like Open WebUI.
      -
    • A
      license
      B
      quality
      F
      maintenance
      Enables interaction with OpenSearch clusters, providing tools to list indices, retrieve mappings, search using query DSL, and get shard information.
      4
      1
      Apache 2.0