Is the Outlook MCP server safe? What it can reach
What the Outlook MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Microsoft’s Work IQ Mail MCP server (mcp_MailTools) works on Outlook mail through Microsoft Graph, as the signed-in user. It is a preview, and Microsoft now steers new projects to the Work IQ MCP server. It can send and reply to email and delete messages. Gate the send and delete tools, since no read-only mode is documented.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Work IQ Mail MCP server (mcp_MailTools, preview) | Official | deprecated |
| Work IQ MCP server (Microsoft’s replacement for new projects) | Official | active |
It runs as a hosted remote server. The documented endpoint is https://agent365.svc.cloud.microsoft/agents/tenants/{tenantId}/servers/mcp_MailTools.
How it signs in
Microsoft Entra ID sign-in. The tools act on the signed-in user’s mailbox through the Microsoft Graph Mail API.
What its tools can do
| Kind | Tools |
|---|---|
| Read | mcp_MailTools_graph_mail_getMessage, mcp_MailTools_graph_mail_listSent, mcp_MailTools_graph_mail_searchMessages |
| Write | mcp_MailTools_graph_mail_createMessage, mcp_MailTools_graph_mail_updateMessage |
| Can’t be undone | mcp_MailTools_graph_mail_sendMail, mcp_MailTools_graph_mail_sendDraft, mcp_MailTools_graph_mail_reply, mcp_MailTools_graph_mail_replyAll, mcp_MailTools_graph_mail_deleteMessage |
Microsoft marks these tools as preview and says names and parameters may change. The page describes them as backward-compatibility tools. The newer Work IQ MCP server uses generic tools (fetch, create_entity, update_entity, delete_entity, do_action, call_function, ask, retrieve) on resource paths, so a tool-name rule for one server does not carry over to the other.
Built-in limits
| Option | What it does |
|---|---|
Tenant-level URL | The Mail server is addressed per tenant (tenants/{tenantId}), so an admin controls which tenant it points at. |
Work IQ MCP policy | The Work IQ MCP overview says policy can be configured in the Microsoft 365 admin center and is enforced per path, method and tenant. |
The risks
- An email body from an outside sender can carry an instruction, and with sendMail or reply tools enabled an agent could send mail from the user’s address to anyone.
- mcp_MailTools_graph_mail_deleteMessage deletes from the user’s mailbox, so one injected instruction could remove messages in bulk.
- Search covers message content, subject, body and attachments, so one search can return private threads across the whole mailbox.
- Microsoft says preview tool names and parameters may change, so deny rules written against today’s names can silently stop matching.
Limit it in Claude Code
Claude Code names MCP tools mcp__outlook__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__outlook__mcp_MailTools_graph_mail_deleteMessage",
"mcp__outlook__mcp_MailTools_graph_mail_sendMail",
"mcp__outlook__mcp_MailTools_graph_mail_sendDraft",
"mcp__outlook__mcp_MailTools_graph_mail_replyAll"
],
"ask": [
"mcp__outlook__mcp_MailTools_graph_mail_reply",
"mcp__outlook__mcp_MailTools_graph_mail_createMessage",
"mcp__outlook__mcp_MailTools_graph_mail_updateMessage"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml under [mcp_servers.<name>]. Use enabled_tools to keep only the tools you need, or disabled_tools to remove the risky ones.
Checklist
- Deny delete and send-as-you tools unless the task needs them.
- Prefer drafts you review over direct sends.
- Recheck tool names after each Microsoft preview change.
- Use a mailbox with only the mail the agent should see where you can.
Checked against the vendor documentation on November 25, 2026. Mail reference (preview), Microsoft Copilot Studio · Work IQ MCP overview
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing