Skip to content

Microsoft Defender MCP connector

The Microsoft Defender connector brings alerts, devices, assessments and configuration scores into Claude, ChatGPT, Cursor, Microsoft Copilot and the Elaichi Agent, so each person can ask about threats and compliance inside their own Defender access.

  • Connects over OAuth
  • Free 14-day trial
  • No credit card
Claude Elaichi connected

Show me open high severity alerts and the machines they hit

Working in Microsoft Defender with Elaichi

  • List all Microsoft Defender alert domains
  • List all Microsoft Defender alert files
  • List all Microsoft Defender alert ips
Ask anything…
Governance / Audit log Last 24 hours
Microsoft Defender List all Microsoft Defender alert ips Emily Carter · Claude · 9:41 AM Done
Microsoft Defender List all Microsoft Defender alert files Emily Carter · Claude · 9:41 AM Done
Microsoft Defender List all Microsoft Defender alert domains Emily Carter · Claude · 9:41 AM Done
Microsoft Defender Get single Microsoft Defender alert machine by ID Megan Brooks · ChatGPT · 9:38 AM Done
Microsoft Defender Get single Microsoft Defender alert user by ID Ryan Hayes · Cursor · 9:35 AM Done

How to connect Microsoft Defender to Claude, ChatGPT, Cursor or Microsoft Copilot

Step by step, for each AI app

Microsoft Defender MCP connector for Claude

  1. 1

    Open Customize, then Connectors.

  2. 2

    Press Add.

  3. 3

    Name it, paste the MCP server URL, then Continue.

    https://api.elaichi.ai/mcp
  4. 4

    Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

Microsoft Defender MCP connector for Claude Code

  1. 1

    In a terminal, run claude mcp add with the endpoint.

    https://api.elaichi.ai/mcp
  2. 2

    Start Claude Code and run /mcp.

  3. 3

    Pick elaichi, then sign in and approve in the browser.

Terminal

$ claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp

Use --scope project instead to share it with the repository through .mcp.json.

Microsoft Defender MCP connector for ChatGPT

  1. 1

    Open Plugins, then press the + button.

  2. 2

    Name it and paste the endpoint into Server URL.

    https://api.elaichi.ai/mcp
  3. 3

    Leave Authentication on OAuth, then tick the risk acknowledgement.

  4. 4

    Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

Microsoft Defender MCP connector for Cursor

  1. 1

    Open ~/.cursor/mcp.json.

  2. 2

    Add the endpoint under mcpServers.

    https://api.elaichi.ai/mcp
  3. 3

    Reload Cursor, then sign in and approve.

~/.cursor/mcp.json

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

Set up per machine, so repeat it on each computer you work from.

Microsoft Defender MCP connector for Microsoft Copilot

  1. 1

    In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.

  2. 2

    Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.

    https://api.elaichi.ai/mcp
  3. 3

    Create a new connection, sign in and approve, then press Add to agent.

  4. 4

    Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Server URL
https://api.elaichi.ai/mcp
Authentication
OAuth 2.0
Type
Dynamic discovery

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

Connect Microsoft Defender to any MCP client

  1. 1

    Add the endpoint as a remote MCP server.

    https://api.elaichi.ai/mcp
  2. 2

    Sign in and approve.

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

The Elaichi Agent already has these tools, with nothing to set up.

What teams do with Microsoft Defender through Elaichi

Ask in plain English. Each person’s AI can do only what they’re allowed to, and every action it takes in Microsoft Defender is logged.

  • Security operations

    Triage this morning's alerts before standup

    Ask for the open Microsoft Defender alerts, which machines and users they touch, and which domains, files and IPs were involved. Update status and assignment on each alert, or on a whole batch, as you work through the queue.

  • Security operations

    Check one suspicious domain across the fleet

    See every alert tied to a domain, which machines contacted it and how often, without opening a second console.

  • IT

    Find devices with unhealthy antivirus

    Pull device antivirus health from Microsoft Defender and ask which machines are out of date or not reporting, then hand the list to the desk.

  • Compliance

    Pull baseline compliance before the audit

    List baseline compliance assessments against your baseline profiles and configurations, then export them for the auditor in one ask.

  • IT

    Review browser extensions and their permissions

    See which browser extensions are installed across devices and what permissions they ask for, and export the assessment for review.

  • Risk

    Report the current configuration score

    Ask for the current Microsoft Defender configuration score and the certificate assessments behind it, and get a plain-language summary for the risk committee.

Try asking

  • “Show me open high severity alerts and the machines they hit”
  • “Which devices have antivirus that is out of date?”
  • “Summarize baseline compliance assessments failing this week”

See all 110 Microsoft Defender tools →

What connecting Microsoft Defender gets you

6 screens from Elaichi, each doing one job for your Microsoft Defender account.

Elaichi Agent

Ask Elaichi to work across your apps.

Show me open high severity alerts and the machines they hit

Which devices have antivirus that is out of date?

Summarize baseline compliance assessments failing this week

Also runs in Claude, ChatGPT, Cursor or Microsoft Copilot

The agent

Ask Microsoft Defender questions in plain language.

Open alerts, affected machines and compliance gaps answered from live Microsoft Defender records.

ElaichiAI apps
Claude ChatGPT Cursor Microsoft Copilot

Copy the endpoint

https://api.elaichi.ai/mcp
Client Connected by Status Last used
Claude
E

Emily Carter

• Connected 4 minutes ago
Cursor
M

Megan Brooks

• Connected 2 hours ago
ChatGPT
R

Ryan Hayes

• Connected Yesterday

AI apps

One governed endpoint for Microsoft Defender, every client.

Claude, ChatGPT and Cursor reach Microsoft Defender through one org endpoint, no SDK, no shared key.

ElaichiTools
Tool Action Description
List all Microsoft Defender alert domains List Retrieves all domains related to a specific alert. Needs delegated permission URL.Read.All. Required: alert_id.
List all Microsoft Defender alert files List Retrieves all files related to a specific alert. Needs delegated permission File.Read.All. Required: alert_id.
List all Microsoft Defender alert ips List Retrieves all IPs related to a specific alert. Needs delegated permission Ip.Read.All. Required: alert_id.
Get single Microsoft Defender alert machine by ID Get Retrieves Device related to a specific alert. Needs delegated permission Machine.Read or Machine.ReadWrite. The id is the alert id. Required: id.
Get single Microsoft Defender alert user by ID Get Retrieves the User related to a specific alert. Needs delegated permission User.Read.All. The id is the alert id. Required: id.

Tool catalog

110 Microsoft Defender tools, no code required.

Alerts, machines, assessments, baselines and configuration scores covered without writing a line of code.

ElaichiToolboxes
Name Source template Tools Created

Security operations toolbox

Microsoft Defender · alerts and affected machines

Microsoft Defender starter 18 Mar 4, 2026

IT toolbox

Microsoft Defender · device antivirus health

— 9 Mar 2, 2026

Compliance toolbox

Microsoft Defender · baseline assessments and exports

— 24 Feb 27, 2026

Threat intelligence toolbox

Microsoft Defender · domains, files and IPs

Microsoft Defender starter 6 Feb 19, 2026

Endpoint engineering toolbox

Microsoft Defender · browser extensions and certificates

— 31 Jan 30, 2026

Risk toolbox

Microsoft Defender · configuration score and reporting

— 12 Jan 22, 2026

Toolboxes

Every team gets its own Microsoft Defender toolbox.

Scope alerts to security operations and compliance assessments to audit, one toolbox each.

ElaichiConnections
Connection Scope Status Access
MI

Microsoft Defender (SOC)

Connected by Emily Carter

Personal • Active 1 team · 6 members
MI

Microsoft Defender (IT operations)

Connected by Jake Morgan

Organization • Active 3 teams · 24 members
MI

Microsoft Defender (Compliance)

Connected by Megan Brooks

Organization • Active 2 teams · 11 members
MI

Microsoft Defender (Threat intel)

Connected by Tyler Reed

Personal • Needs re-auth 1 team · 3 members
MI

Microsoft Defender (Endpoint engineering)

Connected by Ryan Hayes

Personal • Active Not shared
MI

Microsoft Defender (Risk)

Connected by Ashley Parker

Personal • Active 2 teams · 9 members

Shared connections

Teammates work through Microsoft Defender without a credential.

One person connects, shares with teams, and nobody else ever sees the client secret.

ElaichiAudit log
When Who What happened Type

2 minutes ago

Mar 6, 2026, 3:10 PM

E

Emily Carter

[email protected]

Restriction Created Access

8 minutes ago

Mar 6, 2026, 3:04 PM

J

Jake Morgan

[email protected]

Restriction Updated Access

14 minutes ago

Mar 6, 2026, 2:58 PM

M

Megan Brooks

[email protected]

Role Assigned Access

20 minutes ago

Mar 6, 2026, 2:52 PM

T

Tyler Reed

[email protected]

Microsoft Defender Users Updated MCP

26 minutes ago

Mar 6, 2026, 2:46 PM

R

Ryan Hayes

[email protected]

Microsoft Defender Alerts Created MCP

32 minutes ago

Mar 6, 2026, 2:40 PM

A

Ashley Parker

[email protected]

Microsoft Defender Alerts List Toolbox

Audit log

Know who touched which Microsoft Defender alert.

When, who, what happened and which alert or machine, in an append-only log.

From answering questions to doing the work

A trigger starts the work, inside the same permissions and the same audit log as everything else. Workflows, collections and live dashboards come with the Black plan.

Microsoft Defender digest

Run 418 · started 2 minutes ago · on behalf of Emily Carter

  1. ✓

    Schedule

    Every weekday at 8:00 AM

    0.2s
  2. ✓

    Fetch alerts

    Microsoft Defender

    1.4s
  3. ✓

    Group by owner

    Transform

    0.1s
  4. ✓

    Draft the digest

    Agent step

    Ran with 4 tools, returned a structured summary

    6.2s
  5. Approve the digest

    Needs approval

    Assigned to Jake Morgan

    Approve
  6. Post the digest

    Microsoft Defender

    Queued

Workflows

A schedule starts real Microsoft Defender work.

New alerts are fetched, grouped, drafted into a digest, approved by a person, then posted back.

Microsoft Defender health

Refreshed 4 minutes ago · every 15 minutes · from the alerts collection

Live

Alerts

1,284 ↓ 12%

Machines

96 ↓ 8%

Needs attention

3 ↑ 2

Updated this week

412 ↑ 9%

Alerts created

Last 14 days

By team

Share of activity

SOC 34%

IT operations 27%

Compliance 21%

Threat intel 18%

Collections and dashboards

Microsoft Defender health, computed on a schedule.

Four metrics, fourteen days of alerts created and a breakdown by team, with no model involved.

For IT and engineering

Elaichi vs Zapier MCP vs Composio for Microsoft Defender

All three can connect Microsoft Defender to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

Elaichi compared with Zapier MCP and Composio for Microsoft Defender, by what to check
What to check Elaichi Zapier MCP Composio
Where the AI connects One address for the whole organization. https://api.elaichi.ai/mcp A server per member, created at sign-in. An MCP endpoint per team, or an SDK.
Control over Microsoft Defender tools Allow or restrict single Microsoft Defender tools, per role or user. App and action restrictions on the account. Role permissions, down to the action.
Record of calls One audit entry per Microsoft Defender call. A History tab of tool calls. A log of every tool call.
Single sign-on SAML or OIDC, plus SCIM, on Gold. SAML on Enterprise. SAML and OIDC on Enterprise.
Price Free for one person; $15 per user per month on Gold. 2 tasks per successful call. Billed per tool call.

Sources: Zapier MCP docs, security, usage; Composio docs, gateway, enterprise, pricing. Checked September 2026.

Longer take: Zapier MCP alternative and when you don't need an MCP gateway.

Microsoft Defender tools for your AI agents

110 tools are ready to call through Elaichi's MCP endpoint the moment you connect Microsoft Defender, governed by the same roles, restrictions, and audit log as everything else in Elaichi.

Questions, answered

How do I connect Microsoft Defender to Claude?

Connect Microsoft Defender in Elaichi first, then in Claude go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. Microsoft Defender needs an OAuth application that your organization registers inside Defender itself, so one administrator brings a client ID and secret once when connecting. After that, everyone signs in through Microsoft's own login screen as themselves and never handles the secret.

Does Microsoft Defender work with ChatGPT and Cursor as well as Claude?

Yes. Once Microsoft Defender is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. You connect Microsoft Defender once and it is available everywhere.

What can an AI agent actually do with my Microsoft Defender data?

It can list and read Microsoft Defender alerts, update or create them, and show the machines, users, domains, files and IPs tied to each one. It can pull device antivirus health, baseline compliance, browser extension and certificate assessments, your current configuration score, and export assessments for an audit. Short, concrete asks such as "open alerts on finance laptops this week" work better than long paragraphs.

Does connecting Microsoft Defender give the AI access to every alert and device?

No. Every call to Microsoft Defender runs as the person who signed in, so an agent sees only the alerts, machines and assessments that person's Defender role already allows. Elaichi can narrow that further with roles and restrictions, and it can never widen it beyond what Microsoft Defender itself grants.

Can my team share one Microsoft Defender connection?

Yes. One administrator connects Microsoft Defender in Elaichi and shares the connection with a team, and nobody else ever sees the client ID or secret. Each person still signs in to Microsoft Defender as themselves, so the audit log records who looked at which alert.

Can I stop an agent from changing alerts in Microsoft Defender?

Yes. Restrictions in Elaichi work per action, so you can allow reading Microsoft Defender alerts while restricting updating or creating them, on a role or on one person. A restricted action still shows up in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

What happens to a Microsoft Defender connection when someone leaves?

Offboarding a person in Elaichi ends their access to Microsoft Defender through every client at once. A shared Microsoft Defender connection keeps working for everyone else on the team. If you want it gone entirely, disconnecting Microsoft Defender once in Elaichi removes it from Claude, ChatGPT, Cursor, Microsoft Copilot and every other client.

Does the Microsoft Defender MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Microsoft Defender is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

Is Elaichi an alternative to Zapier MCP for Microsoft Defender?

Yes. Both let Claude, ChatGPT or Cursor use Microsoft Defender. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Microsoft Defender call.

How is Elaichi different from Composio for Microsoft Defender?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Microsoft Defender: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

Put Microsoft Defender in front of your team

14 days of Black, no credit card. Connect it once and pick what each team can call.

When the trial ends, nothing is deleted. You move to the free Personal plan, and connections, roles and the audit log stay where they are.

Add one link to your AI app

The same link for everyone on your team.

https://api.elaichi.ai/mcp
  • ChatGPT
  • Claude
  • Cursor
  • Microsoft Copilot