# Microsoft Sentinel

```json
{
  "name": "Microsoft Sentinel",
  "slug": "microsoft_sentinel",
  "url": "https://composio.dev/toolkits/microsoft_sentinel",
  "markdown_url": "https://composio.dev/toolkits/microsoft_sentinel.md",
  "logo_url": "https://logos.composio.dev/api/microsoft_sentinel",
  "categories": [
    "data & analytics"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-25T05:36:39.269Z"
}
```

![Microsoft Sentinel logo](https://logos.composio.dev/api/microsoft_sentinel)

## Description

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.

## Summary

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.

## Categories

- data & analytics

## Toolkit Details

- Tools: 91

## Images

- Logo: https://logos.composio.dev/api/microsoft_sentinel

## Authentication

- **Oauth2**
  - Type: `oauth2`
  - Description: Oauth2 authentication for Microsoft Sentinel.
  - Setup:
    - Configure Oauth2 credentials for Microsoft Sentinel.
    - Use the credentials when creating an auth config in Composio.
- **S2s Oauth2**
  - Type: `custom`
  - Description: S2s Oauth2 authentication for Microsoft Sentinel.
  - Setup:
    - Configure S2s Oauth2 credentials for Microsoft Sentinel.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List open Microsoft Sentinel incidents by severity
- Show recent Sentinel incident investigation details
- List active analytics rules in Sentinel workspace

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `MICROSOFT_SENTINEL_APPEND_THREAT_INDICATOR_TAGS` | Append Threat Indicator Tags | Append tags to a Microsoft Sentinel threat indicator. Requires Microsoft Sentinel Contributor at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_CREATE_METADATA` | Create Metadata | Create Microsoft Sentinel content metadata using the documented metadata body. Requires Microsoft Sentinel Contributor or equivalent write permissions. |
| `MICROSOFT_SENTINEL_CREATE_ONBOARDING_STATE` | Create Onboarding State | Create the Microsoft Sentinel onboarding state. Requires Microsoft Sentinel Contributor RBAC or equivalent onboarding-state write access. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_ALERT_RULE` | Create Or Update Alert Rule | Create or replace a Microsoft Sentinel alert rule with API version 2025-09-01. Requires the exact Azure RBAC data action granted by Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_AUTOMATION_RULE` | Create Or Update Automation Rule | Create or replace a Microsoft Sentinel automation rule using API version 2025-09-01. Requires the exact Azure RBAC write ability granted by Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_BOOKMARK` | Create Or Update Bookmark | Create or replace a Microsoft Sentinel bookmark. Requires Microsoft Sentinel Contributor RBAC or equivalent bookmark write access. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_DATA_CONNECTOR` | Create Or Update Data Connector | Create or replace a Microsoft Sentinel data connector using an exact kind-specific body. Requires Microsoft Sentinel Contributor or equivalent write permissions. Credential-bearing RestApiPoller connectors are intentionally unsupported. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_DATA_CONNECTOR_DEFINITION` | Create Or Update Data Connector Definition | Create or replace a Customizable Microsoft Sentinel data connector definition. Requires Microsoft Sentinel Contributor. This owner-shaped action excludes instruction variants that configure client secrets, tokens, or API keys. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_INCIDENT` | Create Or Update Incident | Create or update a Microsoft Sentinel incident. Requires Microsoft Sentinel Responder or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_INCIDENT_COMMENT` | Create Or Update Incident Comment | Create or update a comment on a Microsoft Sentinel incident. Requires Microsoft Sentinel Responder or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_INCIDENT_RELATION` | Create Or Update Incident Relation | Create or update a relation on a Microsoft Sentinel incident. Requires Microsoft Sentinel Responder or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_INCIDENT_TASK` | Create Or Update Incident Task | Create or update a task on a Microsoft Sentinel incident. Requires Microsoft Sentinel Responder or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_ML_ANALYTICS_SETTING` | Create Or Update ML Analytics Setting | Create or replace a Microsoft Sentinel security ML analytics setting. Requires Microsoft Sentinel Contributor RBAC or equivalent settings write access. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_THREAT_INDICATOR_BY_NAME` | Create Or Update Threat Indicator By Name | Create or replace a Microsoft Sentinel threat indicator at a caller-supplied resource name. Requires Microsoft Sentinel Contributor at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_WATCHLIST` | 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. Requires Microsoft Sentinel Contributor or equivalent write permission. |
| `MICROSOFT_SENTINEL_CREATE_OR_UPDATE_WATCHLIST_ITEM` | Create Or Update Watchlist Item | Create or replace a Microsoft Sentinel watchlist item. Requires Microsoft Sentinel Contributor or equivalent write permission. |
| `MICROSOFT_SENTINEL_CREATE_SOURCE_CONTROL` | Create Source Control | Create or update a GitHub-backed Microsoft Sentinel source control using credential-safe GitHub App authorization. OAuth-code and personal-access-token request variants are owner-excluded. Requires Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_CREATE_THREAT_INDICATOR` | Create Threat Indicator | Create a Microsoft Sentinel threat indicator with a server-assigned name. Requires Microsoft Sentinel Contributor at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_DELETE_ALERT_RULE` | Delete Alert Rule | Delete a Microsoft Sentinel alert rule using API version 2025-09-01. A missing rule is a documented successful outcome. Requires the exact Azure RBAC write ability granted by Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_DELETE_AUTOMATION_RULE` | Delete Automation Rule | Delete a Microsoft Sentinel automation rule using API version 2025-09-01. Requires the exact Azure RBAC write ability granted by Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_DELETE_BOOKMARK` | Delete Bookmark | Delete a Microsoft Sentinel bookmark. Requires Microsoft Sentinel Contributor RBAC or equivalent bookmark delete access. |
| `MICROSOFT_SENTINEL_DELETE_CONTENT_TEMPLATE` | Delete Content Template | Delete an installed Microsoft Sentinel content template. Requires Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_DELETE_DATA_CONNECTOR` | Delete Data Connector | Delete a Microsoft Sentinel data connector. Requires Microsoft Sentinel Contributor or equivalent delete permissions. |
| `MICROSOFT_SENTINEL_DELETE_DATA_CONNECTOR_DEFINITION` | Delete Data Connector Definition | Delete a Microsoft Sentinel data connector definition. Requires Microsoft Sentinel Contributor. This action never reads or returns credential material. |
| `MICROSOFT_SENTINEL_DELETE_INCIDENT` | Delete Incident | Delete a Microsoft Sentinel incident. Requires Microsoft Sentinel Responder or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_DELETE_INCIDENT_COMMENT` | Delete Incident Comment | Delete a comment from a Microsoft Sentinel incident. Requires Microsoft Sentinel Contributor because the Responder role excludes nested incident deletes. |
| `MICROSOFT_SENTINEL_DELETE_INCIDENT_RELATION` | Delete Incident Relation | Delete a relation from a Microsoft Sentinel incident. Requires Microsoft Sentinel Contributor because the Responder role excludes nested incident deletes. |
| `MICROSOFT_SENTINEL_DELETE_INCIDENT_TASK` | Delete Incident Task | Delete a task from a Microsoft Sentinel incident. Requires Microsoft Sentinel Contributor because the Responder role excludes nested incident deletes. |
| `MICROSOFT_SENTINEL_DELETE_METADATA` | Delete Metadata | Delete Microsoft Sentinel content metadata. Requires Microsoft Sentinel Contributor or equivalent delete permissions. |
| `MICROSOFT_SENTINEL_DELETE_ML_ANALYTICS_SETTING` | Delete ML Analytics Setting | Delete a Microsoft Sentinel security ML analytics setting. Requires Microsoft Sentinel Contributor RBAC or equivalent settings delete access. |
| `MICROSOFT_SENTINEL_DELETE_ONBOARDING_STATE` | Delete Onboarding State | Delete the Microsoft Sentinel onboarding state. Requires Microsoft Sentinel Contributor RBAC or equivalent onboarding-state delete access. |
| `MICROSOFT_SENTINEL_DELETE_SOURCE_CONTROL` | Delete Source Control | Delete a GitHub-backed Microsoft Sentinel source control and return any cleanup warning. OAuth-code and personal-access-token request variants are owner-excluded. Requires Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_DELETE_THREAT_INDICATOR` | Delete Threat Indicator | Delete a Microsoft Sentinel threat indicator. A missing indicator is treated as a successful no-op. Requires Microsoft Sentinel Contributor at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_DELETE_WATCHLIST` | Delete Watchlist | Delete a Microsoft Sentinel watchlist, confirming absence when Azure remains in Deleting state and otherwise returning after a bounded 50-second wait. Requires Microsoft Sentinel Contributor or equivalent write permission. |
| `MICROSOFT_SENTINEL_DELETE_WATCHLIST_ITEM` | Delete Watchlist Item | Delete a Microsoft Sentinel watchlist item. A missing item is treated as successfully absent. Requires Microsoft Sentinel Contributor or equivalent write permission. |
| `MICROSOFT_SENTINEL_GET_ALERT_RULE` | Get Alert Rule | Get one Microsoft Sentinel alert rule using API version 2025-09-01. Requires the exact Azure RBAC read ability granted by Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_ALERT_RULE_TEMPLATE` | Get Alert Rule Template | Get one Microsoft Sentinel alert rule template using API version 2025-09-01. Requires the exact Azure RBAC read ability granted by Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_AUTOMATION_RULE` | Get Automation Rule | Get one Microsoft Sentinel automation rule using API version 2025-09-01. Requires the exact Azure RBAC read ability granted by Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_BOOKMARK` | Get Bookmark | Get one Microsoft Sentinel bookmark by ID. Requires Microsoft Sentinel Reader RBAC or equivalent bookmark read access. |
| `MICROSOFT_SENTINEL_GET_CONTENT_PACKAGE` | Get Content Package | Get an installed Microsoft Sentinel content package by ID. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_CONTENT_TEMPLATE` | Get Content Template | Get an installed Microsoft Sentinel content template by ID. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_DATA_CONNECTOR` | Get Data Connector | Get one Microsoft Sentinel data connector. Requires Microsoft Sentinel Reader or equivalent read permissions. |
| `MICROSOFT_SENTINEL_GET_DATA_CONNECTOR_DEFINITION` | Get Data Connector Definition | Get one Microsoft Sentinel data connector definition. Requires Microsoft Sentinel Reader. Credential-configuration instruction variants are owner-excluded and are not returned. |
| `MICROSOFT_SENTINEL_GET_INCIDENT` | Get Incident | Get one Microsoft Sentinel incident. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_GET_INCIDENT_COMMENT` | Get Incident Comment | Get one comment from a Microsoft Sentinel incident. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_GET_INCIDENT_RELATION` | Get Incident Relation | Get one relation for a Microsoft Sentinel incident. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_GET_INCIDENT_TASK` | Get Incident Task | Get a task from a Microsoft Sentinel incident. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_GET_METADATA` | Get Metadata | Get one Microsoft Sentinel content metadata resource. Requires Microsoft Sentinel Reader or equivalent read permissions. |
| `MICROSOFT_SENTINEL_GET_ML_ANALYTICS_SETTING` | Get ML Analytics Setting | Get one Microsoft Sentinel security ML analytics setting. Requires Microsoft Sentinel Reader RBAC or equivalent settings read access. |
| `MICROSOFT_SENTINEL_GET_ONBOARDING_STATE` | Get Onboarding State | Get one Microsoft Sentinel onboarding state. Requires Microsoft Sentinel Reader RBAC or equivalent onboarding-state read access. |
| `MICROSOFT_SENTINEL_GET_PRODUCT_PACKAGE` | Get Product Package | Get a Microsoft Sentinel catalog package by ID. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_PRODUCT_TEMPLATE` | Get Product Template | Get a Microsoft Sentinel catalog template by ID. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_SOURCE_CONTROL` | Get Source Control | Get a Microsoft Sentinel source control by ID. The write-only repository access configuration is never returned. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_GET_THREAT_INDICATOR` | Get Threat Indicator | Get one Microsoft Sentinel threat indicator by resource name. Requires Microsoft Sentinel Reader at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_GET_THREAT_INDICATOR_METRICS` | Get Threat Indicator Metrics | Get Microsoft Sentinel threat-indicator counts grouped by pattern type, threat type, and source. Requires Microsoft Sentinel Reader at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_GET_WATCHLIST` | Get Watchlist | Get one Microsoft Sentinel watchlist without its items. Requires Microsoft Sentinel Reader or a role with equivalent read permission. |
| `MICROSOFT_SENTINEL_GET_WATCHLIST_ITEM` | Get Watchlist Item | Get one Microsoft Sentinel watchlist item. Requires Microsoft Sentinel Reader or a role with equivalent read permission. |
| `MICROSOFT_SENTINEL_INSTALL_CONTENT_PACKAGE` | Install Content Package | Install or update a Microsoft Sentinel content package in the workspace. Requires Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_INSTALL_CONTENT_TEMPLATE` | Install Content Template | Install or update a Microsoft Sentinel content template in the workspace. Requires Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_LIST_ALERT_RULES` | List Alert Rules | Return one page of Microsoft Sentinel alert rules using API version 2025-09-01. Requires the exact Azure RBAC read ability granted by Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_ALERT_RULE_TEMPLATES` | List Alert Rule Templates | Return one page of Microsoft Sentinel alert rule templates using API version 2025-09-01. Requires the exact Azure RBAC read ability granted by Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_AUTOMATION_RULES` | List Automation Rules | Return one page of Microsoft Sentinel automation rules using API version 2025-09-01. Requires the exact Azure RBAC read ability granted by Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_BOOKMARKS` | List Bookmarks | Return one page of Microsoft Sentinel bookmarks. Requires Microsoft Sentinel Reader RBAC or an equivalent role with bookmark read access. |
| `MICROSOFT_SENTINEL_LIST_CONTENT_PACKAGES` | List Content Packages | List one page of installed Microsoft Sentinel content packages. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_CONTENT_TEMPLATES` | List Content Templates | List one page of installed Microsoft Sentinel content templates, optionally expanding main or dependent templates. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_DATA_CONNECTOR_DEFINITIONS` | List Data Connector Definitions | List one page of Microsoft Sentinel data connector definitions. Requires Microsoft Sentinel Reader. Credential-configuration instruction variants are owner-excluded and are not returned. |
| `MICROSOFT_SENTINEL_LIST_DATA_CONNECTORS` | List Data Connectors | List one page of Microsoft Sentinel data connectors. Requires Microsoft Sentinel Reader or a role containing its read permissions at the workspace or a parent scope. |
| `MICROSOFT_SENTINEL_LIST_INCIDENT_ALERTS` | List Incident Alerts | Return the security alerts attached to one incident. This POST is read-only and requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_LIST_INCIDENT_BOOKMARKS` | List Incident Bookmarks | Return the hunting bookmarks attached to one incident. This POST is read-only and requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_LIST_INCIDENT_COMMENTS` | List Incident Comments | List one page of comments for a Microsoft Sentinel incident. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_LIST_INCIDENT_ENTITIES` | List Incident Entities | Return the entities attached to one incident. This POST is read-only and requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_LIST_INCIDENT_RELATIONS` | List Incident Relations | List one page of relations for a Microsoft Sentinel incident. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_LIST_INCIDENTS` | List Incidents | List one page of Microsoft Sentinel incidents. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_LIST_INCIDENT_TASKS` | List Incident Tasks | List one page of tasks for a Microsoft Sentinel incident. Requires Microsoft Sentinel Reader or broader Azure RBAC access. |
| `MICROSOFT_SENTINEL_LIST_METADATA` | List Metadata | List one page of Microsoft Sentinel content metadata. Requires Microsoft Sentinel Reader or equivalent read permissions. |
| `MICROSOFT_SENTINEL_LIST_ML_ANALYTICS_SETTINGS` | List ML Analytics Settings | Return one page of Microsoft Sentinel security ML analytics settings. Requires Microsoft Sentinel Reader RBAC or equivalent settings read access. |
| `MICROSOFT_SENTINEL_LIST_ONBOARDING_STATES` | List Onboarding States | List Microsoft Sentinel onboarding states. Requires Microsoft Sentinel Reader RBAC or equivalent onboarding-state read access. |
| `MICROSOFT_SENTINEL_LIST_PRODUCT_PACKAGES` | List Product Packages | List one page of Microsoft Sentinel catalog packages, optionally filtering or searching them. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_PRODUCT_TEMPLATES` | List Product Templates | List one page of Microsoft Sentinel catalog templates. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_PROVIDER_OPERATIONS` | List Provider Operations | List one page of operations exposed by the Microsoft.SecurityInsights resource provider. This provider-level action requires no workspace path inputs and requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_SOURCE_CONTROL_REPOSITORIES` | List Source Control Repositories | List one page of GitHub repositories available to a GitHub App installation. OAuth-code and personal-access-token request variants are owner-excluded. Requires Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_LIST_SOURCE_CONTROLS` | List Source Controls | List one page of Microsoft Sentinel source controls without source-control items. Requires Microsoft Sentinel Reader. |
| `MICROSOFT_SENTINEL_LIST_THREAT_INDICATORS` | List Threat Indicators | Return one page of Microsoft Sentinel threat indicators. Requires Microsoft Sentinel Reader at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_LIST_WATCHLIST_ITEMS` | List Watchlist Items | List items in a Microsoft Sentinel watchlist. Requires Microsoft Sentinel Reader or a role with equivalent read permission. |
| `MICROSOFT_SENTINEL_LIST_WATCHLISTS` | List Watchlists | List Microsoft Sentinel watchlists without their items. Requires Microsoft Sentinel Reader or a role with equivalent read permission. |
| `MICROSOFT_SENTINEL_QUERY_THREAT_INDICATORS` | Query Threat Indicators | Return one page of Microsoft Sentinel threat indicators matching structured criteria. This POST is read-only and requires Microsoft Sentinel Reader at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_REPLACE_THREAT_INDICATOR_TAGS` | Replace Threat Indicator Tags | Replace tags on a Microsoft Sentinel threat indicator using the documented indicator model. Requires Microsoft Sentinel Contributor at the narrowest applicable Azure scope. |
| `MICROSOFT_SENTINEL_RUN_PLAYBOOK_ON_ENTITY` | Run Playbook On Entity | Start a Logic App playbook for one Sentinel entity. This can cause external effects and requires Microsoft Sentinel Responder, Microsoft Sentinel Playbook Operator, and access to the target Logic App. |
| `MICROSOFT_SENTINEL_RUN_PLAYBOOK_ON_INCIDENT` | Run Playbook On Incident | Start a Logic App playbook for one Sentinel incident. This can cause external effects and requires Microsoft Sentinel Responder, Microsoft Sentinel Playbook Operator, and access to the target Logic App. |
| `MICROSOFT_SENTINEL_UNINSTALL_CONTENT_PACKAGE` | Uninstall Content Package | Uninstall a Microsoft Sentinel content package from the workspace. Requires Microsoft Sentinel Contributor. |
| `MICROSOFT_SENTINEL_UPDATE_METADATA` | Update Metadata | Patch selected fields of existing Microsoft Sentinel content metadata. Requires Microsoft Sentinel Contributor or equivalent write permissions. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Microsoft Sentinel
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["microsoft_sentinel"])
tools = session.tools()
```

```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();
```

#### Path 1, Step 3: Run Microsoft Sentinel tools with your agent

Send a request, execute the Microsoft Sentinel tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "List all open Microsoft Sentinel incidents in my workspace, including their severity, title, and status."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```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);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Microsoft Sentinel and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["microsoft_sentinel"], mcp=True)
```

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["microsoft_sentinel"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Microsoft Sentinel request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Microsoft Sentinel tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("List all open Microsoft Sentinel incidents in my workspace, including their severity, title, and status.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```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();
```

## Why Use Composio?

### 1. 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

### 2. 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

### 3. 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

### 4. 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

## Use Microsoft Sentinel with any AI Agent Framework

Choose a framework you want to connect Microsoft Sentinel with:

- [ChatGPT](https://composio.dev/toolkits/microsoft_sentinel/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/microsoft_sentinel/framework/claude-cowork)

## Related Toolkits

- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Tavily](https://composio.dev/toolkits/tavily) - Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Excel](https://composio.dev/toolkits/excel) - Microsoft Excel is a robust spreadsheet application for organizing, analyzing, and visualizing data. It's the go-to tool for calculations, reporting, and flexible data management.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [21risk](https://composio.dev/toolkits/_21risk) - 21RISK is a web app built for easy checklist, audit, and compliance management. It streamlines risk processes so teams can focus on what matters.
- [0xArchive](https://composio.dev/toolkits/0xarchive) - 0xArchive is a crypto data service for historical and current market data, quality signals, feedback, and webhooks. It helps teams access reliable crypto data and manage REST integrations from one API.
- [Abstract](https://composio.dev/toolkits/abstract) - Abstract provides a suite of APIs for automating data validation and enrichment tasks. It helps developers streamline workflows and ensure data quality with minimal effort.
- [AccuWeather](https://composio.dev/toolkits/accu_weather) - AccuWeather is a global weather service providing current conditions, forecasts, MinuteCast precipitation, alerts, and lightning data. Use it for fast, localized forecasts and real-time weather alerts.
- [Adafruit IO](https://composio.dev/toolkits/adafruit_io) - Adafruit IO is Adafruit's cloud platform for connected device and IoT project data. It helps you store, visualize, and act on sensor feeds without running your own backend.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Agentql](https://composio.dev/toolkits/agentql) - Agentql is a toolkit that connects AI agents to the web using a specialized query language. It enables structured web interaction and data extraction for smarter automations.
- [Agenty](https://composio.dev/toolkits/agenty) - Agenty is a web scraping and automation platform for extracting data and automating browser tasks—no coding needed. It streamlines data collection, monitoring, and repetitive online actions.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.
- [Akta](https://composio.dev/toolkits/akta) - Akta is a company intelligence platform providing enrichment, news, and alternative business signals. It helps teams build targeted company lists and enrich data-driven workflows.
- [Ambee](https://composio.dev/toolkits/ambee) - Ambee is an environmental data platform providing real-time, hyperlocal APIs for air quality, weather, and pollen. Get precise environmental insights to power smarter decisions in your apps and workflows.
- [Ambient weather](https://composio.dev/toolkits/ambient_weather) - Ambient Weather is a platform for personal weather stations with a robust API for accessing local, real-time, and historical weather data. Get detailed environmental insights directly from your own sensors for smarter apps and automations.

## Frequently Asked Questions

### Do I need my own developer credentials to use Microsoft Sentinel with Composio?

Yes, Microsoft Sentinel requires you to configure your own OAuth credentials. Once set up, Composio handles token storage, refresh, and lifecycle management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

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

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
