mcp -kibana
MCP server for Kibana, Access search and manage Kibana in MCP Client.
claude mcp add --transport stdio tocharianou-mcp-server-kibana npx @tocharianou/mcp-server-kibana \ --env KIBANA_URL="http://your-kibana-server:5601" \ --env KIBANA_API_KEY="your-api-key" \ --env KIBANA_DEFAULT_SPACE="default"
How to use
This Kibana MCP Server exposes Kibana's capabilities to MCP-compatible clients, including Claude Desktop, via a unified MCP interface. It implements multiple transport modes (stdio for local usage and HTTP for remote access) and supports several authentication methods to access Kibana, such as API keys, Basic Auth, or cookie-based sessions. Core features include saved objects management (CRUD for dashboards, visualizations, index patterns, and more), intelligent search with pagination, bulk operations, and optimistic concurrency with version control. It also provides dynamic API discovery based on the Kibana OpenAPI spec, and can operate across multiple Kibana spaces. Tools are organized into base tools, saved objects tools, and analysis tools to help you inspect, manage, and analyze Kibana resources.
How to install
Prerequisites:
- Node.js v18 or newer
- npm (comes with Node.js) or use an alternative npm-compatible workflow
- Access to a Kibana instance (hosted locally or remotely) with appropriate credentials
Installation steps:
- Install the MCP server package globally (recommended):
npm install -g @tocharianou/mcp-server-kibana
- Or run directly with npx (no global install required):
npx @tocharianou/mcp-server-kibana
- If you prefer building from source:
git clone https://github.com/TocharianOU/mcp-server-kibana.git
cd mcp-server-kibana
npm install
npm run build
- Configure environment variables as needed (see mcp_config example).
Additional notes
Environment and configuration tips:
- KIBANA_URL is required to point to your Kibana instance (e.g., http://localhost:5601).
- Choose one authentication method: KIBANA_API_KEY, KIBANA_USERNAME + KIBANA_PASSWORD, or KIBANA_COOKIES. Only one method should be supplied at a time.
- Optional: KIBANA_DEFAULT_SPACE to target a specific Kibana space; default is 'default'.
- You can enable HTTP remote access by setting MCP_TRANSPORT to http and configuring MCP_HTTP_PORT/MCP_HTTP_HOST.
- If you encounter SSL issues in development, you can disable strict SSL validation via NODE_TLS_REJECT_UNAUTHORIZED=0 (use with caution).
- For Claude Desktop or other clients, you can embed the MCP server in Claude's configuration, typically under the mcpServers.kibana entry with command npx and the package name, as shown in the README example.
- The MCP Inspector can be invoked with npm run inspector for a browser-based debugging interface.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud