Skip to content
VS Code

kibana mcp for VS Code

io.github.mshegolev/kibana-mcp

Kibana/Elasticsearch MCP — log search, aggregations, index discovery, dashboards.

client:VS Code transport:stdio runtime:pypi

Install kibana mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "kibana-url",
      "description": "KIBANA_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "elasticsearch-url",
      "description": "ELASTICSEARCH_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kibana-api-key",
      "description": "KIBANA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kibana-username",
      "description": "KIBANA_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kibana-password",
      "description": "KIBANA_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kibana-ssl-verify",
      "description": "KIBANA_SSL_VERIFY",
      "password": true
    }
  ],
  "servers": {
    "kibana-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "kibana-mcp"
      ],
      "env": {
        "KIBANA_URL": "${input:kibana-url}",
        "ELASTICSEARCH_URL": "${input:elasticsearch-url}",
        "KIBANA_API_KEY": "${input:kibana-api-key}",
        "KIBANA_USERNAME": "${input:kibana-username}",
        "KIBANA_PASSWORD": "${input:kibana-password}",
        "KIBANA_SSL_VERIFY": "${input:kibana-ssl-verify}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

kibana mcp in other clients