
Opensearch Mcp
io.github.mrfentmen由 GitHub 帳號 mrfentmen 發布v1.0.2更新於 Oct 30, 2026
Search OpenSearch indices, manage documents, check health and stats.
概覽
本機 MCP 伺服器,讓助理搜尋 OpenSearch 索引、管理文件與索引,並查看叢集健康狀態與統計資訊。
- 可以做什麼
- 以簡單查詢或原生 OpenSearch 查詢 DSL 搜尋索引,列出文件或依 ID 取得文件
- 新增與刪除文件,建立與刪除索引
- 列出索引,取得索引詳細資料與對應設定
- 檢查叢集健康狀態、執行個體與叢集統計、非同步工作、分片與節點
- 適用情境
- 適合需要查詢或維護 OpenSearch 叢集的情境,例如搜尋商品或日誌索引、統計文件數量、檢查叢集是否健康。
- 執行需求
- 透過 npx 在本機執行(需要 Node.js)。需要可連線的 OpenSearch 伺服器位址,由 OPENSEARCH_URL 指定(預設 OPENSEARCH_API_KEY 中的 API 金鑰,或透過 OPENSEARCH_USERNAME 與 OPENSEARCH_PASSWORD 使用基本驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Opensearch Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
OpenSearch MCP
An MCP server for OpenSearch, the community-driven, Apache 2.0 search and analytics suite.
What it does
Search through OpenSearch indices, manage documents, create/delete indexes, check cluster health, and monitor statistics. Perfect for AI agents that need to query search indexes.
Tools
check_health- Check cluster health statuslist_indices- List all indicesget_index- Get index detailscreate_index- Create a new indexdelete_index- Delete an indexsearch_index- Search documents in an indexsearch_raw- Search with raw OpenSearch query DSLget_documents- List documents in an indexget_document- Get a single document by IDindex_document- Add a document to an indexdelete_document- Delete a document by IDget_stats- Get instance-wide statisticsget_cluster_stats- Get cluster statisticsget_tasks- List async tasksget_mappings- Get index mappingslist_shards- List all shardslist_nodes- List all cluster nodes
Install
Environment Variables
OPENSEARCH_URL- OpenSearch server URL (default:http://localhost:9200)OPENSEARCH_API_KEY- API key for authentication (preferred)OPENSEARCH_USERNAME/OPENSEARCH_PASSWORD- Basic auth credentials
Claude Desktop setup
Example usage
"Search my products index for 'wireless headphones'" "Check if my OpenSearch cluster is healthy" "Create a new index called 'blog-posts'" "How many documents are in my logs index?"
License
MIT
來源:README.md,提交 03a0dd9
工具
0版本歷史
2- v1.0.2最新Sep 22, 2026
- v1.0.1Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。