# Kibana [Health: Active]

**Category:** 📊 Data Visualization  
**Repository:** https://github.com/TocharianOU/mcp-server-kibana  
**GitHub Stars:** 82  
**npm Downloads (last month):** 644485  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kibana

## Description
Kibana MCP Server with dynamic API discovery and comprehensive Elastic Stack integration

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "kibana": {
    "command": "npx",
    "args": ["-y","@tocharianou/mcp-server-kibana"],
    "env": {
      "KIBANA_URL": "",
      "KIBANA_API_KEY": "",
      "KIBANA_USERNAME": "",
      "KIBANA_PASSWORD": "",
      "KIBANA_COOKIES": ""
    }
  }
}
```

**Requires environment variables:** `KIBANA_URL`, `KIBANA_API_KEY`, `KIBANA_USERNAME`, `KIBANA_PASSWORD`, `KIBANA_COOKIES` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the Kibana MCP server does

The Kibana MCP server gives MCP clients access to a Kibana instance through natural-language requests or direct tool calls. It covers server status, space listing, API endpoint discovery, custom Kibana API requests, and saved-object management. Supported saved-object types include dashboards, visualizations, index patterns, searches, configuration objects, Lens objects, maps, tags, Canvas workpads, and Canvas elements.

The server also includes analysis operations for saved objects. Agents can inspect object dependencies, assess the impact of a deletion, check an individual dashboard's health, or scan all dashboards for health issues. The project is community-maintained and is not an official Elastic or MCP product.

## How it works

The Kibana MCP server builds its API discovery behavior from the official Kibana OpenAPI YAML specification for Elastic Stack 8.x. Clients can search available API paths, list all paths, or retrieve details for a particular method and encoded path. The `execute_kb_api` tool then provides a way to issue custom Kibana API requests.

It supports two MCP transport modes. Stdio is the default for local clients, while HTTP mode exposes an MCP endpoint and a health-check endpoint for remote access. HTTP mode generates UUID-based sessions automatically. Requests can target a configured default Kibana space, and saved-object operations include pagination, bulk updates or deletions, references, and optimistic concurrency controls.

## Setup and configuration

Install the npm package globally or run it directly with `npx`. Node.js 18 or newer is required. Set `KIBANA_URL` to the address of the Kibana server and provide one authentication method: `KIBANA_API_KEY`, `KIBANA_USERNAME` with `KIBANA_PASSWORD`, or `KIBANA_COOKIES`.

Optional settings include `KIBANA_DEFAULT_SPACE`, `KIBANA_CA_CERT`, `KIBANA_TIMEOUT`, `MCP_TRANSPORT`, `MCP_HTTP_PORT`, and `MCP_HTTP_HOST`. `NODE_TLS_REJECT_UNAUTHORIZED` can disable TLS certificate validation, but the project notes that this should be used cautiously. In HTTP mode, the MCP endpoint is available at `/mcp`, with `/health` available for health checks.

## Tools and capabilities

The Kibana MCP server provides tools for:

- Checking Kibana status and listing available spaces.
- Searching, listing, and inspecting Kibana API paths.
- Executing custom Kibana API requests.
- Searching, retrieving, creating, and updating saved objects.
- Applying bulk saved-object updates or deletions.
- Reviewing dependencies and deletion impact.
- Checking one dashboard or scanning all dashboards for health issues.

It also exposes resources for the complete API path list, keyword-based path searches, and individual endpoint details.

## Limitations and notes

The README describes the implementation as based on Kibana's Elastic Stack 8.x API specification, so API behavior may depend on the connected Kibana version. Successful operations also depend on the permissions granted to the selected authentication method. SSL certificate problems may require a configured CA certificate or a deliberate TLS validation change. The companion Elasticsearch MCP server mentioned by the project is a separate server for direct Elasticsearch data operations; it is not included here.

_Full upstream README: https://allmcps.com/mcp/kibana/readme_

