Connector · SIEM and endpoint security

Elastic Security MCP Server & Agent Skill

Last updated

ibl.ai publishes a free Elastic Security agent skill: a SKILL.md that teaches an AI agent to read and write Elastic Security data and expose it as an MCP tool. Download it, connect your own Elastic Security credentials, and run the agent on ibl.ai Agentic OS, where you own all the code and the data.

Elastic Security runs SIEM and endpoint protection on Elasticsearch and Kibana. It stores security events, detection rules and the alerts they raise, cases, and Elastic Defend endpoints that accept response actions.

What is the Elastic Security API, and what can an agent read from it?

Kibana endpoints for detection alerts (/api/detection_engine/signals/search and /status), cases (/api/cases/_find and more) and endpoint response actions (/api/endpoint/action/isolate). Prefix /s/{space_id} for a non-default space.

  • API: Kibana Security APIs (REST)
  • Access: Issued by your administrator
  • Base URL: {KIBANA_URL}/api/ (custom space: {KIBANA_URL}/s/{space_id}/api/)
  • Authentication: Elastic API key (Authorization: ApiKey); OAuth 2.1 (Agent Builder MCP server, Serverless only)

Calls run against the customer's own Kibana (self-managed, Elastic Cloud or Serverless). An admin creates an API key whose privileges decide which alerts, cases and actions it can use.

Send Authorization: ApiKey {key}; the key carries the privileges it was created with. Reading cases needs read privileges for the Cases feature in Kibana.

What can an agent read from Elastic Security?

  • Detection alerts — POST /api/detection_engine/signals/search with an Elasticsearch query, e.g. by kibana.alert.workflow_status.
  • Cases — GET /api/cases/_find to search cases; needs Cases feature read privileges.
  • Alerts attached to a case — Read the alerts linked to a case, with its comments.
  • Endpoint action status — Check the state of isolate and other response actions sent to endpoints.

What can an agent write to Elastic Security?

  • Set alert status — POST /api/detection_engine/signals/status to open, acknowledged or in-progress.
  • Close alerts — Same endpoint with status closed, optionally with a reason. Confirm with the user first.
  • Create or update cases — Open a case, add comments or attach alerts.
  • Isolate an endpoint — POST /api/endpoint/action/isolate for 1-250 endpoint_ids; release with unisolate. Confirm with the user first.

Limits: An isolate request takes 1 to 250 endpoint IDs and up to 50 alert or case IDs, with comments up to 30,000 characters.

Security events, alerts and cases reveal an organization's systems, users and weaknesses. Use least-privilege API keys and confirm every isolation or closure with a person.

How do I connect Elastic Security to an AI agent over MCP?

Elastic N.V. publishes an official MCP server: Elastic Agent Builder MCP server.

Built into Kibana at {KIBANA_URL}/api/agent_builder/mcp; exposes Agent Builder tools. GA on Serverless and Elastic Stack 9.3+ (preview in 9.2). API key, or OAuth on Serverless.

You can register that server on ibl.ai as it is, or use the SKILL.md below when you want the agent to call the Kibana Security APIs directly.

On ibl.ai an MCP connection is three records, and a working integration always needs all three:

  1. Register the server — POST …/mcp-servers/ with its URL, a transport (sse, websocket or streamable_http) and an auth_type of none, token or oauth2.
  2. Create a connection that holds the credential, scoped to the whole organization (platform), to a single agent, or to each user (user).
  3. Enable it on the agent — mcp-tool in tool_slugs and the server id in mcp_servers. Both lists are replaced, not merged, so read the settings first.

For an API key or a service credential, one token connection at platform scope serves the whole organization; scope a connection to a single agent when that agent needs narrower access than the rest.

The field reference is in MCP server connections, and the /iblai-api-agent-mcp skill runs all three steps from a coding agent.

What does the Elastic Security agent skill do?

The Elastic Security skill is one SKILL.md file named iblai-connect-elastic-security. It gives an agent the auth conventions, what to read, which writes need a person's confirmation, the ibl.ai MCP wiring, example prompts and guardrails.

Download the Elastic Security SKILL.md

Save it as .claude/skills/iblai-connect-elastic-security/SKILL.md, or in your agent's skills folder. The ibl.ai platform skills it calls come from one install:

$ npx skills add iblai/base --all

This connector skill is a starting point maintained on ibl.ai, not part of the iblai/base repository.

It was checked against Elastic N.V.'s documentation on October 20, 2026. Test it against your own Elastic Security setup before you rely on it.

What can I ask an Elastic Security agent to do?

  • “List open detection alerts from the last 24 hours grouped by rule name”
  • “Summarize case 'Phishing wave March' with its attached alerts”
  • “Acknowledge every alert for host web-03 and note why in the case”
  • “Draft a weekly report of alerts closed per rule and analyst”

How do I run an Elastic Security agent on ibl.ai?

Agentic OS is where the agent runs on ibl.ai: it holds the Elastic Security MCP connection, the model the agent uses, its instructions and its conversation history.

On ibl.ai you own all the code and the data, the platform source code included, run it model-agnostic across any LLM, and pay with no per-seat pricing — so you can deploy anywhere, from your own cloud to a fully air-gapped network.

Which ibl.ai agents work with Elastic Security data?

Which ibl.ai platform skills does an Elastic Security agent use?

  • /iblai-api-agent-mcp — MCP connectors for ibl.ai agents, end to end
  • /iblai-vibe-agent-mcp — Add the agent MCP tab (outside services the agent can use in chats, with the agent's MCP on/off switch, Featured and…
  • /iblai-api-agent-tool — Read and change which tools an ibl.ai agent has via the platform API

What else should I know before connecting Elastic Security to an AI agent?

Is there an official Elastic Security MCP server?

Yes. Elastic N.V. publishes Elastic Agent Builder MCP server.

You can register it on ibl.ai as an MCP server, or use the SKILL.md when you want the agent to call the Kibana Security APIs directly.

Who can get Elastic Security API credentials?

Calls run against the customer's own Kibana (self-managed, Elastic Cloud or Serverless). An admin creates an API key whose privileges decide which alerts, cases and actions it can use.

Does Elastic Security data leave my infrastructure when an ibl.ai agent uses it?

On ibl.ai, you own all the code and the data. Self-hosted in your cloud or data center, the agent, its MCP connections and its conversation logs stay inside your perimeter.

Because the platform is model-agnostic, you can point the agent at a model you host, so Elastic Security records need not reach a third-party model provider.

Is the Elastic Security agent skill free to use?

Yes. The SKILL.md is a free download with no sign-up. It assumes you already have Elastic Security credentials, and your agreement with Elastic N.V. still governs how you use its API.

Which other data sources can an AI agent connect to alongside Elastic Security?

Which other Cybersecurity systems have a connector?

Every connector, grouped by sector, is on the connectors hub.