Kibana Integration for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Kibana MCP or direct API to visualize data, run queries, generate dashboards, and monitor analytics through natural language.
Kibana Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Try Kibana now

Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.

Supported Tools

Tools
Delete ActionTool to delete an action in kibana.
Delete Alerting RuleTool to delete an alerting rule in kibana.
Delete ConnectorTool to delete a connector in kibana.
Delete Fleet OutputTool to delete a specific output configuration in kibana fleet.
Delete Fleet ProxyTool to delete a specific fleet proxy configuration by its id.
Delete ListDeletes a list.
Delete Osquery Saved QueryTool to delete a saved osquery query by its id.
Delete Saved ObjectTool to delete a saved object in kibana.
Find Kibana AlertsTool to find and/or aggregate detection alerts in kibana.
Get Action TypesTool to fetch the list of available action types (e.
Get Alerting RulesTool to retrieve a list of alerting rules in kibana.
Get Alert TypesTool to retrieve available alert types in kibana.
Get CasesTool to retrieve a list of cases in kibana.
Get All ConnectorsTool to retrieve a list of all connectors in kibana.
Get Data ViewsTool to retrieve a list of data views available in kibana.
Find Detection Engine RulesRetrieves a list of detection engine rules based on specified criteria.
Get Endpoint List ItemsTool to retrieve all items from an endpoint exception list.
Get Entity Store EnginesRetrieves the list of engines from the entity store.
List Entity Store EntitiesTool to list entity records in the entity store with support for paging, sorting, and filtering.
Get Entity Store StatusTool to retrieve the status of the entity store in kibana.
Get Fleet Agent PoliciesFetches a list of agent policies in fleet.
Get Fleet Agents Available VersionsTool to retrieve the available versions for fleet agents.
Get Fleet Agents Setup StatusTool to check if the fleet agents are set up.
Check Fleet PermissionsTool to check the permissions for the fleet api.
Get Fleet Data StreamsRetrieves the list of data streams in fleet.
Get Fleet Enrollment API KeyTool to retrieve details of a specific enrollment api key by its id.
Get Fleet Enrollment API KeysTool to fetch a list of enrollment api keys.
Get Fleet EPM CategoriesTool to fetch the list of categories in the elastic package manager.
Get Fleet EPM Data StreamsTool to retrieve the list of data streams in the elastic package manager.
Get Fleet EPM Package DetailsTool to fetch details of a specific package and version in the elastic package manager (epm).
Get Fleet EPM Package FileTool to retrieve a specific file from a package in the elastic package manager.
Get Fleet EPM PackagesTool to fetch the list of available packages in the elastic package manager.
Get Installed EPM PackagesTool to retrieve the list of installed packages in the elastic package manager.
Get Fleet EPM Packages (Limited)Tool to fetch a limited list of packages from the elastic package manager.
Get EPM Package StatisticsTool to retrieve statistics for a specific package in the elastic package manager.
Get Fleet Package PoliciesTool to retrieve a list of all package policies (agent & epm), providing their ids and associated details.
Get Fleet Server HostTool to fetch details of a specific fleet server host by its item id.
Get Fleet Server HostsTool to retrieve the list of fleet server hosts.
Get Index Management IndicesTool to fetch information about indices managed by kibana's index management feature.
Get Node MetricsTool to retrieve statistics for nodes in an elasticsearch cluster, often visualized in kibana.
Get Reporting JobsTool to retrieve a list of reporting jobs in kibana.
Get Saved ObjectsTool to retrieve a list of saved objects in kibana based on specified criteria.
Get Kibana StatusTool to get the current status of kibana.
Create Alerting RuleTool to create a new alerting rule in kibana.
Create CaseTool to create a new case in kibana.
Create Kibana ConnectorTool to create a new connector in kibana.
Create DashboardTool to create a new dashboard in kibana.
Create Data ViewTool to create a new data view (index pattern) in kibana.
Create or Update Saved ObjectTool to create or update a saved object in kibana.
Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK for Python or TypeScript

Initialize Client and Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Import and initialize the Composio client, then create a Tool Router session for Kibana

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Kibana tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Show me Kibana dashboards for web traffic trends.')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent (Anthropic Claude or Mastra)

Why Use Composio?

AI Native Kibana Integration

  • Supports both Kibana MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Kibana data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Kibana access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Kibana
  • Scoped, least privilege access to Kibana resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Kibana with Composio?

Yes, Kibana requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.