概要
What is Kibana MCP Server?
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. It is community-maintained and not an official Elastic product.
How to use Kibana MCP Server?
Install globally (npm install -g @tocharianou/mcp-server-kibana) or run with npx. Configure environment variables: KIBANA_URL (required) plus one of KIBANA_API_KEY, KIBANA_USERNAME+KIBANA_PASSWORD, or KIBANA_COOKIES. Integrate with Claude Desktop by adding the server configuration to the desktop config file, or run directly from the CLI. Optional variables include KIBANA_DEFAULT_SPACE, KIBANA_CA_CERT, KIBANA_TIMEOUT, MCP_TRANSPORT, MCP_HTTP_PORT, MCP_HTTP_HOST, and NODE_TLS_REJECT_UNAUTHORIZED.
Key features of Kibana MCP Server
- Dual transport modes: Stdio and HTTP
- Multiple authentication methods: API Key, Basic Auth, Cookie
- Multi-space support for enterprise Kibana environments
- SSL/TLS support with custom CA certificates
- Complete saved objects CRUD operations and bulk actions
- Analysis tools for object dependencies and dashboard health
Use cases of Kibana MCP Server
- Perform Kibana server status checks and list available spaces via natural language
- Search, create, update, and delete dashboards, visualizations, and other saved objects
- Analyze saved object dependencies and check deletion impact before removal
- Batch scan all dashboards for health issues
FAQ from Kibana MCP Server
What authentication methods are supported?
API Key (base64 encoded), Basic Auth (username + password), and Cookie-based session authentication are supported, with API Key having highest priority.
How do I integrate this server with Claude Desktop?
Add a "kibana" entry to the mcpServers object in your Claude Desktop configuration file, specifying the npx command, the package name, and the required environment variables (KIBANA_URL and authentication).
Can I run the server over HTTP for remote access?
Yes, set MCP_TRANSPORT=http and optionally configure MCP_HTTP_PORT (default 3000) and MCP_HTTP_HOST. The server will expose endpoints at http://<host>:<port>/mcp and http://<host>:<port>/health.
Is this an official Elastic product?
No, this is a community-maintained project based on the official Elastic Kibana API documentation. It is not an official product of Elastic or MCP.
What Node.js version is required?
Node.js >= 18.0.0 is required to run the Kibana MCP Server.