kibana-mcp
v0.1.1Kibana/Elasticsearch MCP — log search, aggregations, index discovery, dashboards.
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
Values you need
| Variable | What it is | |
|---|---|---|
KIBANA_URL | required | Kibana base URL (e.g. https://kibana.example.com) |
ELASTICSEARCH_URL | optional | Direct Elasticsearch URL. If unset, ES requests route through the Kibana Console proxy. |
KIBANA_API_KEY | optional secret | Elasticsearch API key (ApiKey base64(id:api_key) format). Takes priority over Basic auth. |
KIBANA_USERNAME | optional | HTTP Basic auth username. Used only when KIBANA_API_KEY is not set. |
KIBANA_PASSWORD | optional secret | HTTP Basic auth password. |
KIBANA_SSL_VERIFY | optional | Verify SSL certificates (true/false). Set to 'false' for self-signed certs. Default: true |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add kibana-mcp -e 'KIBANA_URL=<KIBANA_URL>' -- uvx --with 'mcp<2' kibana-mcp==0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"kibana-mcp": {
"args": [
"--with",
"mcp<2",
"kibana-mcp==0.1.1"
],
"command": "uvx",
"env": {
"KIBANA_URL": "<KIBANA_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"kibana-mcp": {
"args": [
"--with",
"mcp<2",
"kibana-mcp==0.1.1"
],
"command": "uvx",
"env": {
"KIBANA_URL": "<KIBANA_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "KIBANA_URL",
"id": "kibana-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"kibana-mcp": {
"args": [
"--with",
"mcp<2",
"kibana-mcp==0.1.1"
],
"command": "uvx",
"env": {
"KIBANA_URL": "${input:kibana-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.kibana-mcp]
command = "uvx"
args = ["--with", "mcp<2", "kibana-mcp==0.1.1"]
env = { "KIBANA_URL" = "<KIBANA_URL>" }For AI agents
- Ask the user for: KIBANA_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: kibana_list_indices, kibana_search_logs, kibana_aggregate_logs, kibana_list_dashboards, kibana_get_dashboard.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json