opensearch-mcp-server-py
Verified Safeby opensearch-project
Overview
Enables AI assistants to interact with OpenSearch clusters, providing a standardized interface for search, mapping, and shard management.
Installation
uvx opensearch-mcp-server-py --transport streamEnvironment Variables
- OPENSEARCH_URL
- OPENSEARCH_USERNAME
- OPENSEARCH_PASSWORD
- AWS_IAM_ARN
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- AWS_PROFILE
- AWS_OPENSEARCH_SERVERLESS
- OPENSEARCH_NO_AUTH
- OPENSEARCH_HEADER_AUTH
- OPENSEARCH_TIMEOUT
- OPENSEARCH_SSL_VERIFY
- OPENSEARCH_ENABLED_TOOLS
- OPENSEARCH_DISABLED_TOOLS
- OPENSEARCH_TOOL_CATEGORIES
- OPENSEARCH_ENABLED_CATEGORIES
- OPENSEARCH_DISABLED_CATEGORIES
- OPENSEARCH_ENABLED_TOOLS_REGEX
- OPENSEARCH_DISABLED_TOOLS_REGEX
- OPENSEARCH_SETTINGS_ALLOW_WRITE
Security Notes
The `GenericOpenSearchApiTool` allows calling any OpenSearch API endpoint, which is powerful but inherently risky if an AI agent is unconstrained or compromised, potentially leading to data manipulation, deletion, or exposure. While `OPENSEARCH_SETTINGS_ALLOW_WRITE` offers some protection against write operations, it's configurable. Disabling SSL verification (`OPENSEARCH_SSL_VERIFY=false`) is possible and can introduce man-in-the-middle risks if not carefully managed. AWS authentication methods (`boto3`) and basic auth are standard.
Similar Servers
mcp-server-elasticsearch
Enables AI clients to interact with Elasticsearch data through natural language conversations using the Model Context Protocol (MCP) by exposing a set of predefined tools.
mcp-omnisearch
Provides a unified interface for LLMs to access multiple web search, AI response, content processing, and enhancement tools from various providers through the Model Context Protocol (MCP).
mcp-openapi-server
Exposes OpenAPI endpoints as Model Context Protocol (MCP) tools, enabling Large Language Models (LLMs) to discover and interact with REST APIs through a standardized protocol.
meilisearch-mcp
Connects LLMs (like Claude and OpenAI agents) to Meilisearch, enabling natural language control for managing search indices and performing searches.