OpenSearch Dashboards MCP Server
Provides tools for managing OpenSearch Dashboards, including creating and managing dashboards, visualizations, saved objects (index patterns, saved searches), and plugin features such as alerting, anomaly detection, and security.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenSearch Dashboards MCP Servershow me my dashboards"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenSearch Dashboards MCP Server
An MCP server for OpenSearch Dashboards that enables AI assistants to create, manage, and inspect dashboards, visualizations, saved objects, and plugin features.
This is a companion to opensearch-mcp-server-py, which covers the OpenSearch cluster/data plane. This project covers the Dashboards UI/management plane.
Features
Saved Objects CRUD (dashboards, visualizations, index patterns, saved searches)
Dashboard and Visualization management
Auto-detection of installed plugins (alerting, anomaly detection, etc.)
Category-based tool filtering
Support for stdio and streaming (SSE) transports
Basic auth, API token, and cookie/session authentication
Related MCP server: Superset MCP Server
Installation
pip install opensearch-dashboards-mcp-serverQuick Start
# Using environment variables
export OSD_URL=https://localhost:5601
export OSD_USERNAME=admin
export OSD_PASSWORD=admin
opensearch-dashboards-mcp-server
# Using config file
opensearch-dashboards-mcp-server --config example_config.ymlClaude Desktop Integration
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"opensearch-dashboards": {
"command": "opensearch-dashboards-mcp-server",
"env": {
"OSD_URL": "https://localhost:5601",
"OSD_USERNAME": "admin",
"OSD_PASSWORD": "admin"
}
}
}
}Tool Categories
Category | Tools | Default |
| Saved Objects, Dashboards, Visualizations, Index Patterns, Short URLs | Enabled |
| Monitors, Alerts | Auto-detected |
| Detectors, Results | Auto-detected |
| Notebooks | Auto-detected |
| ISM Policies | Auto-detected |
| Tenants, Roles, Role Mappings | Auto-detected |
| Workspace CRUD | Auto-detected |
| Sample dataset install/uninstall | Auto-detected |
| File/text import, preview | Auto-detected |
Enable/disable categories via env vars:
export OSD_ENABLED_CATEGORIES=core_tools,alerting,anomaly_detection
export OSD_DISABLED_CATEGORIES=securityLocal Development
# OpenSearch 2.19.0 (default)
docker compose up -d
# OpenSearch 3.5.0
OPENSEARCH_VERSION=3.5.0 docker compose up -d
# Verify
curl http://localhost:9200 # OpenSearch
curl http://localhost:5601 # DashboardsSupported Versions
OpenSearch / Dashboards 2.x (tested with 2.19.0)
OpenSearch / Dashboards 3.x (tested with 3.5.0)
License
Apache-2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/eemijuntunen/opensearch-dashboards-mcp-server-py'
If you have feedback or need assistance with the MCP directory API, please join our Discord server