opensearch-dashboard-mcp

v0.1.1
opensearch-dashboard-mcp Checked 4 hours ago Published 15 days ago

MCP server for OpenSearch Dashboards

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ping

Check OpenSearch Dashboards connectivity and authenticate. Hits the security authinfo endpoint. If unauthenticated (HTTP 401) and credentials are configured, performs a session login and re-checks. Reports {connected, authenticated, user, tenants} or the error reason.

list_saved_objects

List saved objects of a given type (dashboard, index-pattern, search, ...). Calls the Dashboards ``saved_objects/_find`` API and returns a compact list of ``{id, title, type}`` so the LLM is not flooded with raw fields. Saved objects are stored per multi-tenancy tenant. ``tenant`` selects which one to read via the ``securitytenant`` header: - a tenant name (e.g. "Developers Core", "Global") - "__user__" for the caller's private tenant - None (default) uses the user's configured default tenant Use the ``get_tenants`` tool t…

ParameterTypeDescription
per_pageinteger
tenant
type_string

get_tenants

List multi-tenancy tenants configured in OpenSearch Dashboards. Uses the security plugin config API (``/api/v1/configuration/tenants``), which returns a map of tenant name -> metadata. Flattened here to a list of ``{name, description, reserved, hidden}``.

get_index_patterns

List index patterns configured in OpenSearch Dashboards. Index patterns are saved objects of type ``index-pattern``. Returns ``{id, title, time_field}`` where ``title`` is the pattern glob (e.g. ``logs-*``) and ``time_field`` its time field, if any.

ParameterTypeDescription
per_pageinteger