
tocharianou/mcp-server-kibana 是从 https://github.com/tocharianou/mcp-server-kibana. 导入的 MCP 服务器候选人。
概览
tocharianou/mcp-server-kibana 是从 https://github.com/tocharianou/mcp-server-kibana. 导入的 MCP 服务器候选人。
概述(AI 翻译)
一个 Kibana MCP 服务器实现,允许任何兼容 MCP 的客户端(如 Claude Desktop)通过自然语言或程序请求访问你的 Kibana 实例。
该项目基于官方 Elastic Kibana API 文档,使用 Elastic Stack 8.x 的 OpenAPI YAML 规范。详情请参见 Kibana API 文档。
本项目由社区维护,并非Elastic或MCP的官方产品。
** 💡 配套项目:** 为了实现完整的 Elastic Stack 集成,可以与 Elasticsearch MCP Server 配合使用,实现直接的 Elasticsearch 数据操作。
🚀 安装
来自源头
🎯 快速启动
Claude桌面集成(推荐)
添加到你的Claude Desktop配置文件中:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
直接CLI使用
HTTP 模式(远程访问)
访问地址:http://localhost:3000/mcp
健康检查:http://localhost:3000/health
保护HTTP模式。 /mcp上的每个会话都使用服务器初始的Kibana凭证,因此应将端点视为敏感:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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.
This project is based on the official Elastic Kibana API documentation and uses the OpenAPI YAML specification from Elastic Stack 8.x. For details, see the Kibana API documentation.
This project is community-maintained and is not an official product of Elastic or MCP.
💡 Companion Project: For complete Elastic Stack integration, pair this with Elasticsearch MCP Server for direct Elasticsearch data operations.
🚀 Installation
# Global installation (recommended)
npm install -g @tocharianou/mcp-server-kibana
# Or use directly with npx
npx @tocharianou/mcp-server-kibana
From Source
git clone https://github.com/TocharianOU/mcp-server-kibana.git
cd mcp-server-kibana
npm install && npm run build
🎯 Quick Start
Claude Desktop Integration (Recommended)
Add to your Claude Desktop configuration file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"kibana": {
"command": "npx",
"args": ["@tocharianou/mcp-server-kibana"],
"env": {
"KIBANA_URL": "http://your-kibana-server:5601",
"KIBANA_API_KEY": "your-api-key",
"KIBANA_DEFAULT_SPACE": "default"
}
}
}
}
Direct CLI Usage
# Using API Key (recommended)
KIBANA_URL=http://localhost:5601 \
KIBANA_API_KEY=your-api-key \
npx @tocharianou/mcp-server-kibana
# Using Basic Auth
KIBANA_URL=http://localhost:5601 \
KIBANA_USERNAME=your-username \
KIBANA_PASSWORD=your-password \
npx @tocharianou/mcp-server-kibana
# Using Cookie Auth
KIBANA_URL=http://localhost:5601 \
KIBANA_COOKIES="sid=xxx; security-session=yyy" \
npx @tocharianou/mcp-server-kibana
HTTP Mode (Remote Access)
MCP_TRANSPORT=http \
MCP_HTTP_PORT=3000 \
KIBANA_URL=http://localhost:5601 \
KIBANA_API_KEY=your-api-key \
npx @tocharianou/mcp-server-kibana
Access at: http://localhost:3000/mcp
Health check: http://localhost:3000/health
安装
npx @tocharianou/mcp-server-kibana配置
{
"mcpServers": {
"kibana": {
"command": "npx",
"args": ["@tocharianou/mcp-server-kibana"],
"env": {
"KIBANA_URL": "http://your-kibana-server:5601",
"KIBANA_API_KEY": "your-api-key",
"KIBANA_DEFAULT_SPACE": "default"
}
}
}
}