Skip to content

Connectors · Identity & security

Microsoft Graph Security (Defender XDR) MCP server for AI agents.

actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Microsoft Graph Security (Defender XDR) and the rest of your systems. It gives your agent 328 Microsoft Graph Security (Defender XDR) actions (236 reads, 68 writes and 24 that wait for a confirmation) and holds the Microsoft Graph Security (Defender XDR) credential itself, so the agent never does. It paces Microsoft Graph Security (Defender XDR)'s limits and records every call.

100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.

claude mcp add --transport http actionlake https://connect.actionlake.com/mcp
the first call
do {  action: "m365_graph_security.alerts_v2_list",  intent: "check which Microsoft Graph Security (Defender XDR) account is connected"}# List alerts v2 · read · 1 upstream call
  • 328actionsin one signed file
  • 236readlook, never change
  • 68writecreate and update
  • 24wait for a yesdestructive, confirmed first

Set up

Connect Microsoft Graph Security (Defender XDR) in three steps.

  1. 01

    Add actionlake to Claude.

    Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.

    https://connect.actionlake.com/mcp
  2. 02

    Connect Microsoft Graph Security (Defender XDR).

    OAuth 2.0, client credentials. Paste the app's client id and secret; actionlake fetches and renews the token, and nobody has to sign in. actionlake stores what you paste write-only, sealed under your tenant's key.

    • client_idEntra application (client) id
    • client_secretEntra client secret
    • tenant_idYour Microsoft Graph Security (Defender XDR) tenant id
    account { op: "connections.requirements", service: "m365_graph_security" }
    # free: exactly what to paste, and what is found for you
  3. 03

    Make the first call. Check before a write.

    Ask in plain words; Claude picks the action. Before anything changes, check validates the call and prices it, for free.

    do    { action: "m365_graph_security.alerts_v2_list" }# list alerts v2 · read · 1 upstream callcheck { action: "m365_graph_security.incidents_update", input: { … } }# free: inputs, permissions, cost and confirmations, nothing sent

Microsoft Graph Security (Defender XDR) at a glance

Sign-in
OAuth 2.0, client credentials. Paste the app's client id and secret; actionlake fetches and renews the token, and nobody has to sign in.
You provide
client_idclient_secret
Setup fields
tenant_id
Limits we pace to
10,000 calls per 10 minutes, per connection
API covered
Microsoft Graph Security (Defender XDR) API v1.0graph.microsoft.com/v1.0
Built from
Microsoft Graph Security (Defender XDR)'s documentation, read 23 October 2026learn.microsoft.com
Service file
Version 1.0.0, signed (Ed25519)
Cached reads
236 of 236 reads, for up to an hour; a write clears what it affects
Shared entities
2, so ask can line Microsoft Graph Security (Defender XDR) up with your other systems
Data
Processed and stored in Sydney, Australia. No US region yet

Capabilities

What an AI agent can do in Microsoft Graph Security (Defender XDR).

328 actions in 13 areas. Every one carries its effect, so a key can allow the reads and hold the rest.

  • 236readlook, never change
  • 68writecreate and update
  • 24destructivewait for a confirmation
  1. Ediscovery

    91

    42 read · 38 write · 11 destructive

    Create ediscovery cases case members · List ediscovery cases case members · Create ediscovery cases · Create ediscovery cases custodians

  2. Threat intelligence

    86

    86 read · 0 write · 0 destructive

    List threat intelligence vulnerabilities · Get threat intelligence vulnerabilities · List threat intelligence article indicators · List threat intelligence articles indicators

  3. Records

    47

    28 read · 10 write · 9 destructive

    Create labels authorities · List labels authorities · Create labels categories · List labels categories

  4. Attack simulation

    30

    27 read · 2 write · 1 destructive

    List attack simulation simulations · Create attack simulation simulations · Get attack simulation simulations · Delete attack simulation simulations

  5. Identity

    22

    14 read · 6 write · 2 destructive

    List identities health issues · List identities identity accounts · List identities sensor candidates · List identities sensors health issues

  6. Data governance

    12

    11 read · 1 write · 0 destructive

    Data security and governance process content async · Data security and governance protection scopes compute · Data security and governance sensitivity labels compute rights and inheritance · List data security and governance sensitivity labels

  7. Privacy

    12

    9 read · 3 write · 0 destructive

    List subject rights requests approvers · List subject rights requests collaborators · Create subject rights requests · List subject rights requests

  8. Alerts

    8

    4 read · 4 write · 0 destructive

    List alerts v2 · Get alerts v2 · Update alerts v2 · Create alerts v2 comments

5 more areas · 20 actions
  • Incidents 6
  • Audit 5
  • Secure score 5
  • Email 3
  • Hunting 1

Top actions

The Microsoft Graph Security (Defender XDR) API, shaped for agents.

The ids your agent types, what each does, and the one name it shares with other systems. 17 of Microsoft Graph Security (Defender XDR)'s 18 action names are shared with at least one other connector, so an agent learns them once.

ActionWhat it doesEffectSame name in
m365_graph_security.alerts_v2_listList alerts v2Get a list of alert resources created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an…readsecurity.alert.list22 connectors
m365_graph_security.incidents_listList incidentsGet a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Attacks are typically inflicted on different types of…readsecurity.incident.list17 connectors
m365_graph_security.alerts_v2_getGet alerts v2Get the properties and relationships of an alert object.readsecurity.alert.get21 connectors
m365_graph_security.incidents_getGet incidentsRetrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and…readsecurity.incident.get17 connectors
m365_graph_security.incidents_updateUpdate incidentsUpdate the properties of an incident object.writesecurity.incident.update13 connectors
m365_graph_security.audit_log_queries_records_listList audit log queries recordsThe collection of audit log records retrieved by the query.readsecurity.audit_log.list69 connectors
m365_graph_security.threat_intelligence_vulnerabilities_listList threat intelligence vulnerabilitiesRead the properties and relationships of a vulnerability object.readsecurity.vulnerability.list14 connectors
m365_graph_security.secure_score_control_profiles_listList secure score control profilesRetrieve the properties and relationships of a secureScoreControlProfiles object.readsecurity.control.list6 connectors
m365_graph_security.audit_log_queries_records_getGet audit log queries recordsThe collection of audit log records retrieved by the query.readsecurity.audit_log.get11 connectors
m365_graph_security.attack_simulation_simulations_createCreate attack simulation simulationsCreate an attack simulation campaign for a tenant.writesecurity.phishing_simulation.create2 connectors
m365_graph_security.secure_score_control_profiles_updateUpdate secure score control profilesUpdate an editable secureScoreControlProfile object within any integrated solution to change various properties, such as tenantNote.writesecurity.control.update5 connectors
m365_graph_security.attack_simulation_simulations_deleteDelete attack simulation simulationsDelete an attack simulation campaign for a tenant.destructivesecurity.phishing_simulation.delete2 connectors

Try it

Prompts to paste into Claude.

Each one names the Microsoft Graph Security (Defender XDR) actions it will call, so you know what it reads and what it changes before you send it.

  1. Readread

    Which Microsoft Graph Security (Defender XDR) incidents are open, and how long has each been open?

    callsm365_graph_security.incidents_list

  2. Writewrite

    Update incidents in Microsoft Graph Security (Defender XDR). Show me exactly what you will send before you save it.

    callsm365_graph_security.incidents_update

Governance for Microsoft Graph Security (Defender XDR)

Destructive actions wait for a yes.

24 Microsoft Graph Security (Defender XDR) actions are destructive. These are all of them:

  • Delete attack simulation simulationsm365_graph_security.attack_simulation_simulations_delete
  • Delete ediscovery casesm365_graph_security.ediscovery_cases_delete
  • Delete labels citationsm365_graph_security.labels_citations_delete
  • Delete labels categoriesm365_graph_security.labels_categories_delete
  • Delete identities sensorsm365_graph_security.identities_sensors_delete
  • Delete labels authoritiesm365_graph_security.labels_authorities_delete
  • Delete labels departmentsm365_graph_security.labels_departments_delete
  • Delete ediscovery cases tagsm365_graph_security.ediscovery_cases_tags_delete
  • Delete labels retention labelsm365_graph_security.labels_retention_labels_delete
  • Delete ediscovery cases searchesm365_graph_security.ediscovery_cases_searches_delete
  • Delete triggers retention eventsm365_graph_security.triggers_retention_events_delete
  • Delete labels file plan referencesm365_graph_security.labels_file_plan_references_delete
  • Ediscovery cases custodians releasem365_graph_security.ediscovery_cases_custodians_release
  • Delete ediscovery cases case membersm365_graph_security.ediscovery_cases_case_members_delete
  • Ediscovery cases searches purge datam365_graph_security.ediscovery_cases_searches_purge_data
  • Delete labels categories subcategoriesm365_graph_security.labels_categories_subcategories_delete
  • Collaboration analyzed emails remediatem365_graph_security.collaboration_analyzed_emails_remediate
  • Identities identity accounts invoke actionm365_graph_security.identities_identity_accounts_invoke_action
  • Delete trigger types retention event typesm365_graph_security.trigger_types_retention_event_types_delete
  • Delete ediscovery cases review sets queriesm365_graph_security.ediscovery_cases_review_sets_queries_delete
  • Delete ediscovery cases custodians site sourcesm365_graph_security.ediscovery_cases_custodians_site_sources_delete
  • Delete ediscovery cases custodians user sourcesm365_graph_security.ediscovery_cases_custodians_user_sources_delete
  • Ediscovery cases noncustodial data sources releasem365_graph_security.ediscovery_cases_noncustodial_data_sources_release
  • Delete ediscovery cases custodians unified group sourcesm365_graph_security.ediscovery_cases_custodians_unified_group_sources_delete

A destructive action runs only with confirm: true. Under the human policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.

dom365_graph_security.attack_simulation_simulations_deleteconfirm_policy: human

Delete attack simulation simulations?

intent: the user asked me to delete attack simulation simulations

run suspended · waiting for a named person · key m365-graph-security-agent cannot confirm itself
In the console, or from an emailed signed link.
a key for this connector
account {  op: "keys.create", name: "m365-graph-security-agent",  allowed_actions: ["m365_graph_security.*"], cap_calls: 2000,  confirm_policy: "human_for_writes",  approval_rules: [    { match: "m365_graph_security.attack_simulation_simulations_delete", approver: "[email protected]" },    { match: "m365_graph_security.ediscovery_cases_delete", approver: "[email protected]" },    { match: "m365_graph_security.labels_citations_delete", approver: "[email protected]" }  ]}
Illustrative. Scoped to Microsoft Graph Security (Defender XDR) only, capped at 2,000 upstream calls, every write confirmed, and the destructive ones approved by a named person.

Cost

What Microsoft Graph Security (Defender XDR) costs on actionlake.

Every Microsoft Graph Security (Defender XDR) action is one upstream call, the only thing actionlake bills. Searching, check, cost, account and any call Microsoft Graph Security (Defender XDR) refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

  • 1upstream call per actionall 328 Microsoft Graph Security (Defender XDR) actions
  • 93actions pageeach page of a long list is one call
  • 236reads can be cacheda cache hit costs nothing
  • 100,000calls a month, freepaid plans from US$49 a month for 250,000

See pricing

Action index

Every Microsoft Graph Security (Defender XDR) action.

328 actions by area: the id your agent calls, what it does, and its effect.

Ediscovery91
  • m365_graph_security.ediscovery_cases_case_members_createCreate ediscovery cases case memberswrite
  • m365_graph_security.ediscovery_cases_case_members_listList ediscovery cases case membersread
  • m365_graph_security.ediscovery_cases_createCreate ediscovery caseswrite
  • m365_graph_security.ediscovery_cases_custodians_createCreate ediscovery cases custodianswrite
  • m365_graph_security.ediscovery_cases_case_members_deleteDelete ediscovery cases case membersdestructive
  • m365_graph_security.ediscovery_cases_case_members_getGet ediscovery cases case membersread
  • and 85 more in this area
Threat intelligence86
  • m365_graph_security.threat_intelligence_article_indicators_listList threat intelligence article indicatorsread
  • m365_graph_security.threat_intelligence_articles_indicators_listList threat intelligence articles indicatorsread
  • m365_graph_security.threat_intelligence_vulnerabilities_getGet threat intelligence vulnerabilitiesread
  • m365_graph_security.threat_intelligence_vulnerabilities_listList threat intelligence vulnerabilitiesread
  • m365_graph_security.threat_intelligence_article_indicators_artifact_getGet threat intelligence article indicators artifactread
  • m365_graph_security.threat_intelligence_article_indicators_getGet threat intelligence article indicatorsread
  • and 80 more in this area
Records47
  • m365_graph_security.labels_authorities_createCreate labels authoritieswrite
  • m365_graph_security.labels_authorities_listList labels authoritiesread
  • m365_graph_security.labels_categories_createCreate labels categorieswrite
  • m365_graph_security.labels_categories_listList labels categoriesread
  • m365_graph_security.labels_authorities_deleteDelete labels authoritiesdestructive
  • m365_graph_security.labels_authorities_getGet labels authoritiesread
  • and 41 more in this area
Attack simulation30
  • m365_graph_security.attack_simulation_simulations_createCreate attack simulation simulationswrite
  • m365_graph_security.attack_simulation_simulations_deleteDelete attack simulation simulationsdestructive
  • m365_graph_security.attack_simulation_simulations_getGet attack simulation simulationsread
  • m365_graph_security.attack_simulation_simulations_listList attack simulation simulationsread
  • m365_graph_security.attack_simulation_end_user_notifications_details_getGet attack simulation end user notifications detailsread
  • m365_graph_security.attack_simulation_end_user_notifications_details_listList attack simulation end user notifications detailsread
  • and 24 more in this area
Identity22
  • m365_graph_security.identities_health_issues_listList identities health issuesread
  • m365_graph_security.identities_identity_accounts_listList identities identity accountsread
  • m365_graph_security.identities_sensor_candidates_listList identities sensor candidatesread
  • m365_graph_security.identities_sensors_health_issues_listList identities sensors health issuesread
  • m365_graph_security.identities_health_issues_getGet identities health issuesread
  • m365_graph_security.identities_health_issues_updateUpdate identities health issueswrite
  • and 16 more in this area
Data governance12
  • m365_graph_security.data_security_and_governance_process_content_asyncData security and governance process content asyncwrite
  • m365_graph_security.data_security_and_governance_protection_scopes_computeData security and governance protection scopes computeread
  • m365_graph_security.data_security_and_governance_sensitivity_labels_compute_rights_and_inheritanceData security and governance sensitivity labels compute rights and inheritanceread
  • m365_graph_security.data_security_and_governance_sensitivity_labels_listList data security and governance sensitivity labelsread
  • m365_graph_security.data_security_and_governance_sensitivity_labels_compute_inheritanceData security and governance sensitivity labels compute inheritanceread
  • m365_graph_security.data_security_and_governance_sensitivity_labels_getGet data security and governance sensitivity labelsread
  • and 6 more in this area
Privacy12
  • m365_graph_security.subject_rights_requests_approvers_listList subject rights requests approversread
  • m365_graph_security.subject_rights_requests_collaborators_listList subject rights requests collaboratorsread
  • m365_graph_security.subject_rights_requests_createCreate subject rights requestswrite
  • m365_graph_security.subject_rights_requests_listList subject rights requestsread
  • m365_graph_security.subject_rights_requests_approvers_getGet subject rights requests approversread
  • m365_graph_security.subject_rights_requests_collaborators_getGet subject rights requests collaboratorsread
  • and 6 more in this area
Alerts8
  • m365_graph_security.alerts_v2_comments_createCreate alerts v2 commentswrite
  • m365_graph_security.alerts_v2_getGet alerts v2read
  • m365_graph_security.alerts_v2_listList alerts v2read
  • m365_graph_security.alerts_v2_updateUpdate alerts v2write
  • m365_graph_security.alerts_getGet alertsread
  • m365_graph_security.alerts_listList alertsread
  • and 2 more in this area
Incidents6
  • m365_graph_security.incidents_alerts_listList incidents alertsread
  • m365_graph_security.incidents_getGet incidentsread
  • m365_graph_security.incidents_listList incidentsread
  • m365_graph_security.incidents_updateUpdate incidentswrite
  • m365_graph_security.incidents_alerts_getGet incidents alertsread
  • m365_graph_security.incidents_merge_incidentsIncidents merge incidentswrite
Audit5
  • m365_graph_security.audit_log_queries_createCreate audit log querieswrite
  • m365_graph_security.audit_log_queries_listList audit log queriesread
  • m365_graph_security.audit_log_queries_records_getGet audit log queries recordsread
  • m365_graph_security.audit_log_queries_records_listList audit log queries recordsread
  • m365_graph_security.audit_log_queries_getGet audit log queriesread
Secure score5
  • m365_graph_security.secure_score_control_profiles_getGet secure score control profilesread
  • m365_graph_security.secure_score_control_profiles_listList secure score control profilesread
  • m365_graph_security.secure_score_control_profiles_updateUpdate secure score control profileswrite
  • m365_graph_security.secure_scores_listList secure scoresread
  • m365_graph_security.secure_scores_getGet secure scoresread
Email3
  • m365_graph_security.collaboration_analyzed_emails_getGet collaboration analyzed emailsread
  • m365_graph_security.collaboration_analyzed_emails_listList collaboration analyzed emailsread
  • m365_graph_security.collaboration_analyzed_emails_remediateCollaboration analyzed emails remediatedestructive
Hunting1
  • m365_graph_security.run_hunting_queryRun hunting queryread

This index shows a sample of each area. All 328 actions, with their inputs and prices, are in the catalogue, which a free sandbox key can search.

Questions

The Microsoft Graph Security (Defender XDR) MCP server, answered.

Is there a Microsoft Graph Security (Defender XDR) MCP server for Claude?

Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 328 Microsoft Graph Security (Defender XDR) actions across ediscovery, threat intelligence, records and attack simulation, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Microsoft Graph Security (Defender XDR).

What do I need to connect Microsoft Graph Security (Defender XDR)?

Entra application (client) id and Entra client secret. Plus your tenant id. The free call account { op: "connections.requirements", service: "m365_graph_security" } lists exactly what to paste.

Can an AI agent delete or change things in Microsoft Graph Security (Defender XDR)?

Only if its key allows it, and only with an explicit confirmation. 24 Microsoft Graph Security (Defender XDR) actions are destructive, including delete attack simulation simulations, delete ediscovery cases and delete labels citations. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.

Will an AI agent use up my Microsoft Graph Security (Defender XDR) API limit?

actionlake paces every call to the limits in the Microsoft Graph Security (Defender XDR) service file: 10,000 calls per 10 minutes per connection. Repeated reads are answered from cache (236 Microsoft Graph Security (Defender XDR) actions can be), which never reaches Microsoft Graph Security (Defender XDR).

What does a Microsoft Graph Security (Defender XDR) action cost?

One upstream call, the only unit actionlake bills. A list that pages bills one call per page (93 Microsoft Graph Security (Defender XDR) actions page). Cache hits, searches, dry runs and calls Microsoft Graph Security (Defender XDR) refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

Which Microsoft Graph Security (Defender XDR) API does it cover?

The Microsoft Graph Security (Defender XDR) API v1.0 at graph.microsoft.com/v1.0. It is built from Microsoft Graph Security (Defender XDR)'s documentation as read on 23 October 2026. 328 actions in 13 areas, each one in the signed service file (version 1.0.0).

Does actionlake keep my Microsoft Graph Security (Defender XDR) data, and where?

actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to an hour, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Microsoft Graph Security (Defender XDR) credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.

Which AI clients can use it?

Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.

Give your agent Microsoft Graph Security (Defender XDR) today.

Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.