Skip to main content
Glama
showjason

mcp-OpenSearch

OpenSearch MCP サーバー

**elasticsearch-mcp-server**にヒントを得た、OpenSearch 統合用の MCP (Model Context Protocol) サーバー。

特徴

  • インデックス管理ツール:

    • OpenSearch クラスター内のすべてのインデックスを一覧表示する

    • インデックスマッピングを取得する

    • インデックス設定を取得する

  • クラスター管理ツール:

    • クラスターのヘルスステータスを取得する

    • クラスター統計を取得する

  • ドキュメントツール:

    • ドキュメントを検索

Related MCP server: @ragrabbit/mcp

インストール

# Clone the repository git clone https://github.com/your-username/opensearch-mcp-server.git cd opensearch-mcp-server # Create and activate a virtual environment python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install the package pip install uv uv pip install -e .

構成

次の変数を含む.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デスクトップアプリでの使用

{ "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

ライセンス

マサチューセッツ工科大学

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/showjason/opensearch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server