mcp-server-kibana

MCP.Pizza Chef: TocharianOU

The mcp-server-kibana is an MCP server that exposes Kibana API endpoints to MCP clients, enabling natural language and programmatic access to Kibana instances. It supports secure authentication, SSL/TLS, and custom CA certificates, allowing users to search, view, and execute Kibana APIs seamlessly. This community-maintained server integrates with MCP clients like Claude Desktop to facilitate efficient Kibana management and data exploration.

Use This MCP server To

Access Kibana dashboards via natural language queries Execute Kibana API calls programmatically from MCP clients Manage Kibana instances securely with username/password authentication Connect to remote Kibana servers with SSL/TLS encryption Search and retrieve Kibana data through MCP client interfaces Integrate Kibana API endpoints as tools in AI workflows Automate Kibana data visualization retrieval and reporting Extend MCP clients with Kibana monitoring and management capabilities

README

Kibana MCP Server

API Specification

This project is based on the official Elastic Kibana API documentation and uses the OpenAPI YAML specification from Elastic Stack 8.x (ES8) to dynamically retrieve and manage all Kibana API endpoints. For the latest details, see the Kibana API documentation.

A Kibana MCP server implementation that allows any MCP-compatible client (such as Claude Desktop) to access your Kibana instance via natural language or programmatic requests.

This project is community-maintained and is not an official product of Elastic or MCP.


Features

  • Connect to local or remote Kibana instances
  • Secure authentication (username/password)
  • SSL/TLS and custom CA certificate support
  • Exposes Kibana API endpoints as both tools and resources
  • Search, view, and execute Kibana APIs from MCP clients
  • Type-safe, extensible, and easy to integrate

Directory Structure

├── index.ts                # Server entry point
├── src/
│   ├── types.ts            # Type definitions and schemas
│   ├── base-tools.ts       # Tool registration and API logic
│   ├── prompts.ts          # Prompt registration (expert & resource helper)
│   └── resources.ts        # Resource registration (API paths/URIs)
├── kibana-openapi-source.yaml # Kibana API OpenAPI index
├── README.md               # English documentation
├── README_zh.md            # Chinese documentation

Resources

Resource URI Description
kibana-api://paths Returns all available Kibana API endpoints (can filter with search param)
kibana-api://path/{method}/{encoded_path} Returns details for a specific API endpoint

Examples:

  • kibana-api://paths?search=saved_objects
  • kibana-api://path/GET/%2Fapi%2Fstatus

Tools

mcp-server-kibana FAQ

How does mcp-server-kibana authenticate with Kibana?
It supports secure username/password authentication along with SSL/TLS and custom CA certificates for secure connections.
Can mcp-server-kibana connect to remote Kibana instances?
Yes, it supports connections to both local and remote Kibana servers with secure communication.
Is mcp-server-kibana an official Elastic product?
No, it is a community-maintained project and not officially affiliated with Elastic or MCP.
What MCP clients can use mcp-server-kibana?
Any MCP-compatible client, such as Claude Desktop, can access Kibana through this server.
Does mcp-server-kibana support all Kibana API endpoints?
It dynamically retrieves and manages all Kibana API endpoints based on the official Elastic Kibana OpenAPI specification.
How does mcp-server-kibana handle API endpoint updates?
It uses the latest OpenAPI YAML specification from Elastic Stack 8.x to stay up to date with Kibana APIs.
Can I extend or customize mcp-server-kibana?
Yes, it is designed to be type-safe, extensible, and easy to integrate with other MCP tools and clients.
What security features does mcp-server-kibana provide?
It offers SSL/TLS encryption, custom CA certificate support, and secure authentication methods to protect data and access.