mcp-outlook
MCP server by dockndevai Community
Lets AI assistants read, search, send and organize Outlook mail, plus OneDrive files and calendars, through Microsoft Graph. It starts read-only, and sending and deleting sit behind explicit flags.
Install mcp-outlook
Built from the published package, never by AI.
claude mcp add mcp-outlook -- npx -y @dockndevai/mcp-outlookRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-outlook": {
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-outlook": {
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-outlook": {
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-outlook -- npx -y @dockndevai/mcp-outlook{
"mcpServers": {
"mcp-outlook": {
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-outlook npx -y @dockndevai/mcp-outlookGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-outlook block.
About
mcp-outlook is an MCP server for Microsoft Outlook mail, OneDrive files and calendars, built on Microsoft Graph. It lets an AI assistant list folders and messages, run full-text searches, read message bodies, and list contacts. In higher modes it can create drafts, send, reply and forward mail, move and delete messages, and manage OneDrive files and calendar events.
The server starts in read-only mode and only registers higher-capability tools when the mode is raised. Sending mail requires an extra OUTLOOK_ALLOW_SEND flag, and deletes require admin mode plus OUTLOOK_ALLOW_DELETE. Sign-in happens in the browser with a cached, silently refreshed token, so the server never sees the password. It suits people who want an assistant to work with their Outlook mailbox under explicit access controls.
Written from the project's README and checked against it.
Tools it gives your assistant
whoamiConfirms which mailbox is in use.list_messagesLists recent messages by folder, with an unread-only option.search_messagesRuns full-text search across the mailbox.get_messageReturns one message with its full body and recipients.create_draftPrepares a draft without sending it, in read-write mode.send_mailComposes and sends a new email, requires OUTLOOK_ALLOW_SEND.search_drive_filesSearches OneDrive files.upload_drive_fileCreates or overwrites a OneDrive file, in read-write mode.get_free_busyChecks availability for people before scheduling.create_eventCreates a meeting that invites attendees, requires OUTLOOK_ALLOW_SEND.
What you need
- A Microsoft account with Outlook mail access
- An Entra (Azure AD) app registration with a client ID
- npx to run the @dockndevai/mcp-outlook package
| Setting | Needed | What it is |
|---|---|---|
OUTLOOK_Environment variable | Optional | Entra (Azure AD) app (client) id. For browser sign-in, register a public client with redirect URI http://localhost. |
OUTLOOK_Environment variable | Optional | Directory tenant: a tenant id, or common | organizations | consumers (default common). |
OUTLOOK_Environment variable, secret | Optional | App secret for app-only (client-credentials) auth. Omit to use interactive browser sign-in. |
OUTLOOK_Environment variable, secret | Optional | A pre-obtained Microsoft Graph bearer token (alternative to browser or app-only auth). |
OUTLOOK_Environment variable | Optional | Target mailbox (user id or UPN) for app-only auth. Omit to use the signed-in user's mailbox (/me). |
OUTLOOK_Environment variable | Optional | Access mode: read-only | read-write | admin. Starts read-only; writes need read-write. |
OUTLOOK_Environment variable | Optional | Set true to permit sending mail (send/reply/forward). Off by default. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search my Outlook mail for invoices from last month.
- Check free/busy for Sam and me on Thursday afternoon.
- Upload this report to my OneDrive folder called Reports.
Good to know
- Starts in read-only mode; higher modes must be enabled.
- Calendar tools need the Calendars.ReadWrite scope, otherwise Graph returns 403.
- list_attachments returns metadata only, never attachment bytes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp-outlook
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
mcp-outlook: common questions
Can the assistant send emails without my approval?
Sending needs read-write mode and the OUTLOOK_ALLOW_SEND flag. When the client supports MCP elicitation, sending and deleting pause so a person can approve them.
Does the server see my Microsoft password?
No. Sign-in happens in the browser, and the server caches a token that it refreshes silently.
Can I limit which permissions the server uses?
Yes. The OUTLOOK_MODE setting controls which tools are registered, and OUTLOOK_SCOPES can downscope the Graph permissions, for example to Calendars.Read.
How do I install mcp-outlook?
In Claude Code run claude mcp add mcp-outlook -- npx -y @dockndevai/mcp-outlook. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-outlook the official server?
mcp-outlook is a community project by dockndevai, not verified by a company domain.
Is mcp-outlook free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-outlook safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-outlook?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does mcp-outlook work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
