Microsoft Sentinel MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Microsoft Sentinel MCP or direct API to list incidents, investigate threats, query security data, and manage incident workflows through natural language.

Microsoft Sentinel logoMicrosoft Sentinel
Oauth2S2s Oauth2

Microsoft Sentinel is a cloud-native security information and event management service. It helps security teams detect, investigate, and respond to threats across their environment.

91 Tools

Try Microsoft Sentinel now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Microsoft Sentinel
Try asking
TOOLS

Supported Tools

Every Microsoft Sentinel action and event your agent gets out of the box.

Append Threat Indicator Tags

Append tags to a Microsoft Sentinel threat indicator.

Create Metadata

Create Microsoft Sentinel content metadata using the documented metadata body.

Create Onboarding State

Create the Microsoft Sentinel onboarding state.

Create Or Update Alert Rule

Create or replace a Microsoft Sentinel alert rule with API version 2025-09-01.

Create Or Update Automation Rule

Create or replace a Microsoft Sentinel automation rule using API version 2025-09-01.

Create Or Update Bookmark

Create or replace a Microsoft Sentinel bookmark.

Create Or Update Data Connector

Create or replace a Microsoft Sentinel data connector using an exact kind-specific body.

Create Or Update Data Connector Definition

Create or replace a Customizable Microsoft Sentinel data connector definition.

Create Or Update Incident

Create or update a Microsoft Sentinel incident.

Create Or Update Incident Comment

Create or update a comment on a Microsoft Sentinel incident.

Create Or Update Incident Relation

Create or update a relation on a Microsoft Sentinel incident.

Create Or Update Incident Task

Create or update a task on a Microsoft Sentinel incident.

Create Or Update ML Analytics Setting

Create or replace a Microsoft Sentinel security ML analytics setting.

Create Or Update Threat Indicator By Name

Create or replace a Microsoft Sentinel threat indicator at a caller-supplied resource name.

Create Or Update Watchlist

Create or replace a Microsoft Sentinel watchlist, optionally bulk-loading raw CSV or TSV content, and wait for Azure's operation to finish.

Create Or Update Watchlist Item

Create or replace a Microsoft Sentinel watchlist item.

Create Source Control

Create or update a GitHub-backed Microsoft Sentinel source control using credential-safe GitHub App authorization.

Create Threat Indicator

Create a Microsoft Sentinel threat indicator with a server-assigned name.

Delete Alert Rule

Delete a Microsoft Sentinel alert rule using API version 2025-09-01.

Delete Automation Rule

Delete a Microsoft Sentinel automation rule using API version 2025-09-01.

Delete Bookmark

Delete a Microsoft Sentinel bookmark.

Delete Content Template

Delete an installed Microsoft Sentinel content template.

Delete Data Connector

Delete a Microsoft Sentinel data connector.

Delete Data Connector Definition

Delete a Microsoft Sentinel data connector definition.

Delete Incident

Delete a Microsoft Sentinel incident.

Delete Incident Comment

Delete a comment from a Microsoft Sentinel incident.

Delete Incident Relation

Delete a relation from a Microsoft Sentinel incident.

Delete Incident Task

Delete a task from a Microsoft Sentinel incident.

Delete Metadata

Delete Microsoft Sentinel content metadata.

Delete ML Analytics Setting

Delete a Microsoft Sentinel security ML analytics setting.

Delete Onboarding State

Delete the Microsoft Sentinel onboarding state.

Delete Source Control

Delete a GitHub-backed Microsoft Sentinel source control and return any cleanup warning.

Delete Threat Indicator

Delete a Microsoft Sentinel threat indicator.

Delete Watchlist

Delete a Microsoft Sentinel watchlist, confirming absence when Azure remains in Deleting state and otherwise returning after a bounded 50-second wait.

Delete Watchlist Item

Delete a Microsoft Sentinel watchlist item.

Get Alert Rule

Get one Microsoft Sentinel alert rule using API version 2025-09-01.

Get Alert Rule Template

Get one Microsoft Sentinel alert rule template using API version 2025-09-01.

Get Automation Rule

Get one Microsoft Sentinel automation rule using API version 2025-09-01.

Get Bookmark

Get one Microsoft Sentinel bookmark by ID.

Get Content Package

Get an installed Microsoft Sentinel content package by ID.

Get Content Template

Get an installed Microsoft Sentinel content template by ID.

Get Data Connector

Get one Microsoft Sentinel data connector.

Get Data Connector Definition

Get one Microsoft Sentinel data connector definition.

Get Incident

Get one Microsoft Sentinel incident.

Get Incident Comment

Get one comment from a Microsoft Sentinel incident.

Get Incident Relation

Get one relation for a Microsoft Sentinel incident.

Get Incident Task

Get a task from a Microsoft Sentinel incident.

Get Metadata

Get one Microsoft Sentinel content metadata resource.

Get ML Analytics Setting

Get one Microsoft Sentinel security ML analytics setting.

Get Onboarding State

Get one Microsoft Sentinel onboarding state.

Get Product Package

Get a Microsoft Sentinel catalog package by ID.

Get Product Template

Get a Microsoft Sentinel catalog template by ID.

Get Source Control

Get a Microsoft Sentinel source control by ID.

Get Threat Indicator

Get one Microsoft Sentinel threat indicator by resource name.

Get Threat Indicator Metrics

Get Microsoft Sentinel threat-indicator counts grouped by pattern type, threat type, and source.

Get Watchlist

Get one Microsoft Sentinel watchlist without its items.

Get Watchlist Item

Get one Microsoft Sentinel watchlist item.

Install Content Package

Install or update a Microsoft Sentinel content package in the workspace.

Install Content Template

Install or update a Microsoft Sentinel content template in the workspace.

List Alert Rules

Return one page of Microsoft Sentinel alert rules using API version 2025-09-01.

List Alert Rule Templates

Return one page of Microsoft Sentinel alert rule templates using API version 2025-09-01.

List Automation Rules

Return one page of Microsoft Sentinel automation rules using API version 2025-09-01.

List Bookmarks

Return one page of Microsoft Sentinel bookmarks.

List Content Packages

List one page of installed Microsoft Sentinel content packages.

List Content Templates

List one page of installed Microsoft Sentinel content templates, optionally expanding main or dependent templates.

List Data Connector Definitions

List one page of Microsoft Sentinel data connector definitions.

List Data Connectors

List one page of Microsoft Sentinel data connectors.

List Incident Alerts

Return the security alerts attached to one incident.

List Incident Bookmarks

Return the hunting bookmarks attached to one incident.

List Incident Comments

List one page of comments for a Microsoft Sentinel incident.

List Incident Entities

Return the entities attached to one incident.

List Incident Relations

List one page of relations for a Microsoft Sentinel incident.

List Incidents

List one page of Microsoft Sentinel incidents.

List Incident Tasks

List one page of tasks for a Microsoft Sentinel incident.

List Metadata

List one page of Microsoft Sentinel content metadata.

List ML Analytics Settings

Return one page of Microsoft Sentinel security ML analytics settings.

List Onboarding States

List Microsoft Sentinel onboarding states.

List Product Packages

List one page of Microsoft Sentinel catalog packages, optionally filtering or searching them.

List Product Templates

List one page of Microsoft Sentinel catalog templates.

List Provider Operations

List one page of operations exposed by the Microsoft.SecurityInsights resource provider.

List Source Control Repositories

List one page of GitHub repositories available to a GitHub App installation.

List Source Controls

List one page of Microsoft Sentinel source controls without source-control items.

List Threat Indicators

Return one page of Microsoft Sentinel threat indicators.

List Watchlist Items

List items in a Microsoft Sentinel watchlist.

List Watchlists

List Microsoft Sentinel watchlists without their items.

Query Threat Indicators

Return one page of Microsoft Sentinel threat indicators matching structured criteria.

Replace Threat Indicator Tags

Replace tags on a Microsoft Sentinel threat indicator using the documented indicator model.

Run Playbook On Entity

Start a Logic App playbook for one Sentinel entity.

Run Playbook On Incident

Start a Logic App playbook for one Sentinel incident.

Uninstall Content Package

Uninstall a Microsoft Sentinel content package from the workspace.

Update Metadata

Patch selected fields of existing Microsoft Sentinel content metadata.

SETUP GUIDE

Connect Microsoft Sentinel MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["microsoft_sentinel"],
  mcp: true,
});
Create a session scoped to Microsoft Sentinel and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List all open Microsoft Sentinel incidents in my workspace, including their severity, title, and status.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Microsoft Sentinel request
SETUP GUIDE

Connect Microsoft Sentinel API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["microsoft_sentinel"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Microsoft Sentinel
3

Run Microsoft Sentinel tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all open Microsoft Sentinel incidents in my workspace, including their severity, title, and status." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Microsoft Sentinel tool calls through the session, and print the final answer

Why Use Composio?

AI Native Microsoft Sentinel Integration

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

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Microsoft Sentinel 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 Microsoft Sentinel
  • Scoped, least privilege access to Microsoft Sentinel resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Microsoft Sentinel with any AI Agent Framework

Choose a Framework you want to connect Microsoft Sentinel with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Microsoft Sentinel.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Microsoft Sentinel tool your agent needs.Free to start.

Start building