Opensearch Mcp Server Py
About
 - [OpenSearch MCP Server](https://github.com/opensearch-project/opensearch-mcp-server-py#opensearch-mcp-server) - [Installing…
Details
- License
- Apache-2.0
Explore
- Seamless integration with AI assistants and LLMs through the MCP protocol
- Supports stdio and streaming server transports (SSE and Streamable HTTP)
- Dynamic per-call connection parameters for targeting different clusters
- Easy integration with Claude Desktop and LangChain
- Secure authentication using basic auth, IAM roles, header-based auth, and mTLS
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Opensearch Mcp Server PyCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Zero-Config Setup
The server can be started with no environment variables at all. Agents provide connection details dynamically on each tool call:
{
"mcpServers": {
"opensearch": {
"command": "uvx",
"args": ["opensearch-mcp-server-py"]
}
}
}
With this setup, agents pass opensearch_url and authentication parameters directly when calling any tool. This is useful when agents discover endpoints from a knowledge base, runbook, or SOP, or when a single agent needs to work with multiple clusters in one session. See Dynamic Connection Parameters for details.
By default, only core tools are enabled to provide essential OpenSearch functionality:
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"opensearch mcp server py": {
"opensearch": {
"command": "uvx",
"args": [
"opensearch-mcp-server-py"
]
}
}
}
}
McpServers
{
"opensearch": {
"command": "uvx",
"args": [
"opensearch-mcp-server-py"
]
}
}
Installing opensearch-mcp-server-py
Opensearch-mcp-server-py can be installed from PyPI via pip:
pip install opensearch-mcp-server-py
Zero-Config Setup
The server can be started with no environment variables at all. Agents provide connection details dynamically on each tool call:
{
"mcpServers": {
"opensearch": {
"command": "uvx",
"args": ["opensearch-mcp-server-py"]
}
}
}
With this setup, agents pass opensearch_url and authentication parameters directly when calling any tool. This is useful when agents discover endpoints from a knowledge base, runbook, or SOP, or when a single agent needs to work with multiple clusters in one session. See Dynamic Connection Parameters for details.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



