outlook-mcp
An Outlook MCP server that lets AI assistants read, search, send, and organize email; manage calendars; handle attachments and folders; access SharePoint files; and automate receipt/invoice collection via Microsoft Graph.
Email: list, search, read, send, reply, reply-all, forward, create drafts, delete, move, archive, mark read/unread, flag, categorize, and batch-process emails.
Calendar: list/get/create/update/delete events, create recurring events, respond to invites, find meeting times, check availability/busy times, list calendars, get calendar views, schedule online meetings, validate datetimes, build recurrence patterns, and check calendar permissions.
Attachments: list, download, add attachments to drafts, and scan for large or suspicious attachments.
Folders: list, create, rename, and get folder statistics.
SharePoint: fetch, list, and resolve SharePoint files/links, optionally downloading content.
Receipts/invoices: discover, extract, save, render, and collect emailed receipts/invoices with PDFs and manifests (README).
Office files and large files: parse PDF/Word/PowerPoint/Excel files and handle large files by saving them server-side.
Shared mailboxes: optional mailbox targeting for mail, attachment, and receipt-related operations.
Allows fetching billing PDFs from Stripe invoices via links in email bodies, with domain allowlisting and content validation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@outlook-mcp show my unread emails from today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Microsoft Outlook MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with Microsoft Outlook email and calendar through the Microsoft Graph API.
Features
Email Operations: Read, search, send, reply to emails and download attachments
SharePoint Integration: Access SharePoint files via sharing links or direct file IDs. Download files shared to you via emails.
Calendar Management: View and manage calendar events and appointments
Office Document Processing: Parse PDF, Word, PowerPoint, and Excel files with extracted text content
Receipt & Invoice Collection: Discover emailed receipts by sender/subject/date, save them as verified and consistently named PDFs (attachment, billing link, or rendered fallback), and stage a review draft — built for scheduled, non-interactive runs
Large File Support: Automatic handling of files that exceed MCP response size limits
Related MCP server: MCP Outlook Server
Quick Start
Choose your installation method:
Method | Best For |
Claude Desktop users | |
Claude Code, mcp CLI, other MCP clients |
Prerequisites: Before installing, you'll need to set up an Azure application to get your Client ID and Tenant ID.
Installation
Installing as DXT Extension
For Claude Desktop users, DXT extensions provide the simplest installation experience.
Option 1: Download Pre-built Extension
Download
outlook-mcp.dxtfrom the Releases pageIn Claude Desktop, go to Settings → Extensions
Click Install from file and select the
.dxtfileEnter your Azure Client ID, Tenant ID, and optional download directory when prompted
Option 2: Build from Source
Clone and install dependencies:
git clone https://github.com/XenoXilus/outlook-mcp.git cd outlook-mcp npm installInstall the DXT CLI:
npm install -g @anthropic-ai/dxtPack the extension:
dxt pack . outlook-mcp.dxtInstall the generated
.dxtfile in Claude Desktop as above
Using with CLI Tools
For CLI-based MCP clients (Claude Code, mcp CLI, etc.), configure the server directly.
1. Clone and Install:
git clone https://github.com/XenoXilus/outlook-mcp.git
cd outlook-mcp
npm install2. Configure your MCP client:
Add the following to your MCP servers configuration (location varies by client):
{
"outlook-mcp": {
"command": "node",
"args": ["/absolute/path/to/outlook-mcp/server/index.js"],
"env": {
"AZURE_CLIENT_ID": "your-azure-client-id",
"AZURE_TENANT_ID": "your-azure-tenant-id",
"MCP_OUTLOOK_WORK_DIR": "/optional/download/directory"
}
}
}Common config file locations:
Claude Code:
~/.claude.jsonor project-level.mcp.jsonmcp CLI:
~/.config/mcp/servers.json
3. Alternative: Use environment variables
Instead of specifying env in the config, you can export the variables in your shell:
export AZURE_CLIENT_ID="your-azure-client-id"
export AZURE_TENANT_ID="your-azure-tenant-id"
export MCP_OUTLOOK_WORK_DIR="/optional/download/directory"Azure Setup Guide
To use this MCP server, you need to register an application in Microsoft Azure.
For Business/Work Accounts (Recommended)
Go to the Azure Portal and search for "App registrations".
Click New registration.
Name:
Outlook MCP(or similar)Supported account types: Accounts in this organizational directory only (Single tenant)
Redirect URI: Select Web and enter
http://localhost/callback
Click Register.
Go to Authentication in the sidebar.
Under "Advanced settings", set Allow public client flows to Yes.
Click Save.
On the Overview page, copy:
Application (client) ID → This is your
AZURE_CLIENT_IDDirectory (tenant) ID → This is your
AZURE_TENANT_ID
Go to API permissions in the sidebar.
Click Add a permission -> Microsoft Graph -> Delegated permissions.
Add these permissions:
Mail.Read,Mail.ReadWrite,Mail.Send,Mail.Read.Shared,Mail.ReadWrite.Shared,Mail.Send.SharedCalendars.Read,Calendars.ReadWriteContacts.Read,Contacts.ReadWriteTasks.Read,Tasks.ReadWriteUser.Read,MailboxSettings.ReadFiles.Read.All,Files.ReadWrite.AllSites.Read.All,Sites.ReadWrite.Alloffline_access
Click Add permissions.
(Optional) If you are an admin, click Grant admin consent to suppress consent prompts for users.
Note: No client secret is required (PKCE auth flow).
For Personal Accounts (outlook.com, hotmail.com)
Personal Microsoft accounts can also register apps in Azure:
Sign in to the Azure Portal with your personal Microsoft account (outlook.com, hotmail.com, etc.).
If prompted to create a directory, follow the steps to create a free Azure directory.
Follow the same steps as above for Business accounts.
When configuring, use Accounts in any organizational directory and personal Microsoft accounts for supported account types.
Configuration Reference
Environment Variables
Variable | Required | Description |
| Yes | Your Azure AD application client ID |
| Yes | Your Azure AD directory (tenant) ID |
| No | Directory for saving large files (defaults to system temp) |
| No | Comma-separated extra directories save tools may write into when given an explicit |
| No | Default mailbox for the per-call 'mailbox' argument; empty = own mailbox. |
| No | Comma-separated shared mailboxes offered by |
The desktop extension (DXT) exposes only the mail settings above. The receipt/invoice behaviour below is configured by the calling process (e.g. a scheduled routine's MCP server config) via environment variables — it is intentionally not part of the extension settings UI:
Variable | Description |
| Directory where receipt/invoice PDFs are saved (falls back to work dir). Also passable per-call as |
| Optional JSON file of site-specific vendor rules (see below). Unset = generic heuristics only. If set but missing/invalid, receipt tools fail fast rather than silently degrade. |
| Comma-separated hosts |
| Receipt naming pattern (default: |
|
|
| Directory of the encrypted token store for headless runs (defaults to the built-in store) |
| Chrome/Chromium binary for |
Vendor rules (RECEIPT_RULES_PATH)
outlook_extract_receipt / outlook_collect_receipts work with zero configuration for
receipts issued via payment processors that put the vendor in the subject line
("Your receipt from Acme #1234"). For senders that need explicit mapping, or to
capture product labels, point RECEIPT_RULES_PATH at a JSON file
(see receipt-rules.example.json):
vendorSenders:[{ "pattern": "<case-insensitive regex on the from address>", "vendor": "<name>" }]— checked before the subject heuristic.productLabels:["<case-insensitive regex>", ...]— first match becomesproductLabel; without a match it falls back to the line-item descriptions (see Extracted fields).
Receipt & Invoice Tools
Five tools support autonomous expense-receipt collection (e.g. a scheduled monthly run):
Tool | Purpose |
| Save an attachment's original bytes to a chosen path/filename. Auto-selects the |
| Fetch the per-receipt invoice/receipt PDF download link in an email body (fallback when a forward loses its attachment). Only real PDF links are used — logo, image and other asset links are never fetched. HTTPS-only, allowlist-only (redirects included), content-type + magic-byte validated, 25 MB / 30 s bounded. |
| Compact structured summary of a receipt email (vendor, gross amounts, line items, product label, receipt/invoice/order numbers, reply/forward info, PDF links, attachment ids) — never the 60 KB+ HTML body. See Extracted fields. |
| Render the sanitised email HTML to PDF via headless Chrome — audit-trail fallback for receipts with no attachment and no link (e.g. app-store order receipts). Under |
| One call per period: discovers each vendor's receipts by sender/subject/product/date across the whole mailbox (Sent Items and Drafts are ignored), collapses forwarded/replied copies of one receipt, saves one PDF per receipt (attachment → link → rendered fallback), and returns a manifest with a per-entry |
outlook_create_draft additionally accepts attachmentPaths (absolute local file paths, ≤ 3 MB each) and returns the draft's webLink — it stages the email for review and never sends.
Collect results
outlook_collect_receipts returns { period, manifest, missing, failed, unmatched, summary, notes }. Every manifest entry has a status:
Status | Meaning |
| A new PDF was written. |
| The target file already holds the same document ( |
| Nothing matched the rule in the period. Only these vendors appear in |
| A receipt was found but could not be searched for, read or saved. Every such entry is also listed in |
| Several rules claim the message, or its product cannot be determined; |
| A forwarded/replied copy of a receipt already covered in the run; |
failed[]has one object perfetch_failedentry:attemptedRoute(search,message,attachment,linkorrender),attemptedRoutes(the attachment content routes tried, e.g.["json", "value"]),messageId,attachmentId/attachmentName(attachment route) and the verbatimgraphError. "Nothing to collect" and "found it but could not save it" are therefore never confused.When a formal PDF (attachment or link) cannot be saved, the entry stays
fetch_failedand gets arenderedFallback— a rendering of the email saved under its own(rendered)name — and the entry itself carriesmethod: renderedandisFormalInvoice: false, so it is never mistaken for the invoice (savedPathis only insiderenderedFallback).unmatched[]lists every message that matched a rule's sender/subject but was rejected by the product matchers of every such rule:{ messageId, date, subject, sender, productLabel, rejectedBy }. It does not block the run.summarycounts entries per status plusunmatched;notescarries run-level remarks (e.g. a Sent Items/Drafts folder that could not be resolved, or messages excluded by product matchers).Duplicates: forwarded and replied copies of one receipt are grouped when they share a receipt, invoice or order number — but never when the group would hold two different numbers of one kind or two different known totals (two charges on one order stay two receipts, even with equal totals when their receipt numbers differ; a receipt number shared by different totals adds a
numberConflictnote to both). Identical PDF bytes (sha256) catch the rest after saving, under the same rule (otherwise both are kept andsameFileAsnames the other). The copy carrying the PDF (preferring anInvoice-*.pdf) is kept, and a copy with no total never replaces one carrying the PDF and the total; the others becomeduplicatewithduplicate_of(e.g.receiptNumber:…orsha256:…). Messages in Sent Items and Drafts are ignored.File names come from the template (
{vendor} {DDMmmYY} Invoice.pdf). When several receipts in one run would get the same name (one vendor, one day), each gets its own receipt/invoice/order number appended (Acme 10Jun26 Invoice 1001-2002.pdf), so re-runs map every receipt to the same file; an ordinal(2)is used only for receipts with no number, assigned oldest first. A receipt saved under the plain name by an earlier run, before a same-day sibling arrived, keeps that file (reportedskipped) instead of being saved again under its new name.Entries carry
sender, aforwardedflag and, for forwards with a quoted header,originalSender.Amounts are structured and gross:
amountsis{ subtotal, tax, credits, total, amountPaid, currency, source, totalLabel }, andamount/taxAmountare the total charged and the tax sum. For attachment and link saves the figures are re-read from the saved PDF when its total is labelled (totalLabelisamount paid,totaloramount due;amountSource: pdf). An unlabelled (guessed) PDF figure never replaces the email's total — it is used only when the email has none — and setspdfTotalGuessed: true. A PDF total of zero (e.g. onlyBalance due $0.00) never replaces a positive email total.amountMismatch({ body, pdf }) appears when the two disagree.A billing link is used only when it is unique to one receipt in the run; a link shared by several receipts is skipped (
linkSkipped).
Product matchers
A vendor rule passed to outlook_collect_receipts may also carry productContains and/or productExcludes (a string or an array of strings). Terms are case-insensitive substrings matched against the receipt's product label and its line-item descriptions, so one sender can be split into several labelled streams:
"vendors": [
{ "vendor": "Acme Hosting", "from": "billing@acme.example", "productContains": ["hosting", "domain"] },
{ "vendor": "Acme Support", "from": "billing@acme.example", "productContains": "support plan" },
{ "vendor": "Acme Other", "from": "billing@acme.example" }
]A receipt whose product matches a
productContainsrule belongs to that rule; it beats a rule without product matchers (here,Acme Otheronly receives what the other two reject).productExcludescan replace the catch-all:{ "vendor": "Acme Other", "from": "billing@acme.example", "productExcludes": ["hosting", "domain", "support plan"] }.When the email body names no product (no product label or line items) and a rule depends on one, the product is read from the PDF attachment before deciding (
productSource: pdf).If several rules still claim a receipt, or its product cannot be read from the email or the PDF while a rule depends on it, the entry is
ambiguouswithcandidates(andpdfProductErrorif the PDF could not be read) — it is never guessed or silently accepted. A receipt that every matching rule rejects is listed inunmatched[], never silently dropped.
Extracted fields
Besides vendor, productLabel and attachmentIds, outlook_extract_receipt returns:
amounts—{ subtotal, tax, credits, total, amountPaid, currency, source, totalLabel }(totalLabelsays which row gave the total —amount paid,totaloramount due— and isnullwhen it had to be guessed).amountis the gross total charged (not the pre-tax subtotal) andtaxAmountthe tax sum. Credit and discount lines are summed; currency prefixes such asCA$,A$/AU$,NZ$,US$,HK$and ISO codes are recognised.lineItems[]—{ description, quantity, amount }.productLabelfalls back to their descriptions when no configuredproductLabelspattern matches.receiptNumber,invoiceNumber(also read from anInvoice-<CODE>-<NNNN>.pdfattachment name) andorderNumber.Reply/forward handling:
normalisedSubject(Re:/Fw:stripped),replyOrForwardandquotedFrom({ name, address }of the innermost quotedFrom:header).billingPdfUrlandreceiptPdfUrl— per-receipt PDF download links on allowlisted hosts only; click-tracking wrappers are unwrapped, and image or logo links are never returned.
Matching and download notes
A vendor rule's
fromandsubjectContainscombine as OR — either signal matches a receipt (subjects are compared withRe:/Fw:prefixes ignored), and each manifest entry reportsmatchedBy(from,from-normalised,subject, and/orproduct:…signals).Plus-addressed senders (
invoice+statements+acct_...@stripe.com) match both exactly and via a plus-stripped fallback: when an exactfromfinds nothing, the collector retries on the base local part and keeps only messages whose normalised sender matches, notingsearchNotein the manifest.periodStart/periodEnd(andoutlook_search_emails'startDate/endDate) accept bare dates:2026-08-31as an end covers the whole last day instead of stopping at midnight.outlook_download_attachmentacceptssaveToFile/destDir/fileName/onExistingto write raw bytes server-side and return only{savedPath, size, sha256}— use this for real invoice PDFs instead of inline base64. The saved file is byte-exact with no inline size ceiling.outlook_download_attachmentandoutlook_save_attachmentread the attachment content from its JSON item and fall back to the raw/$valueendpoint, so attachment ids containing-,_and=work. Only file attachments have downloadable bytes: attached emails (item attachments) and reference attachments are rejected with a clear message, and a failure on both routes reports the routes tried, the ids and the Graph error.
Email search
A free-text outlook_search_emails query (without a folder restriction) uses KQL, and its date range is sent to Microsoft Graph as a real property restriction with ISO UTC dates, e.g. "receipt AND received:2026-06-01..2026-06-30" — not matched as a literal phrase, and independent of the host's locale and time zone. Other searches use $filter.
Results are re-checked against the requested date window, sender and subject. Anything the service failed to filter is dropped and counted in
searchSummary.droppedOutsideFilters.A folder restriction is bound by the endpoint: a multi-folder search queries each folder and merges the results, rather than silently searching the whole mailbox.
KQL values are quoted only when they contain whitespace or KQL syntax; an unparseable date is a validation error.
Shared mailboxes (v1.3)
Every mail, folder, and attachment tool — and every receipt tool
(collect_receipts, extract_receipt, save_attachment, render_email_pdf,
fetch_billing_pdf) — accepts an optional mailbox
argument (e.g. careers@yourcompany.com). Precedence: per-call mailbox →
the MCP_OUTLOOK_SHARED_MAILBOX setting → your own mailbox. Requirements:
Exchange Full Access delegation to the shared mailbox for the signed-in user (Send As or Send on Behalf additionally governs how sends appear). One styling note: signatures and font styling are always the signed-in user's own — a send from a shared mailbox carries your personal signature, so consider
preserveUserStyling: falsefor shared sends.The
Mail.*.Shareddelegated scopes — added in v1.3, so each user must re-consent once: the interactive flow prompts automatically on next sign-in; headless setups re-runnpm run auth:bootstraponce.
Graph offers no delegated API that lists the mailboxes you hold Full Access to,
so discovery is candidate-based: outlook_list_shared_mailboxes probes the
addresses in the Known Shared Mailboxes setting
(MCP_OUTLOOK_KNOWN_MAILBOXES), the Shared Mailbox setting, and any
candidates you pass, then reports which ones actually open (with inbox
counts) and which are denied, missing, or malformed. Feed an accessible
address straight back as the mailbox argument.
Calendar tools stay on your own calendar in this release.
Headless (Scheduled) Runs
Seed tokens once, interactively:
npm run auth:bootstrap(opens the browser PKCE flow and stores an encrypted refresh token).Set
MCP_OUTLOOK_AUTH_MODE=headlessfor the scheduled run. The server refreshes silently and never launches a browser; if re-consent is genuinely required it fails fast with an actionable error telling you to re-run the bootstrap.Optionally set
MCP_OUTLOOK_REFRESH_TOKEN_PATHto point the run at a specific token store directory.
Large File Handling
When downloading large attachments or SharePoint files, the server automatically detects when the response would exceed the MCP response cap (~30k characters by default — the practical tool-output token budget; override with MCP_OUTLOOK_MAX_RESPONSE_CHARS) and saves the content to local files instead.
If
MCP_OUTLOOK_WORK_DIRis set, large files are saved to this directoryIf not set, files are saved to the system temp directory
Files are automatically named with timestamps to avoid conflicts
Old files are periodically cleaned up to manage disk space
Example Prompts
Once installed, you can ask the AI assistant things like:
Email Management
"Show me my unread emails from this week"
"Find all emails from John about the project proposal"
"Send a reply to the last email from Sarah thanking her for the update"
"Draft an email to the team summarizing today's meeting"
Calendar
"What meetings do I have tomorrow?"
"Schedule a 30-minute call with Alex next Tuesday afternoon"
"Show me my availability for the rest of the week"
Attachments & SharePoint
"Download and summarize the PDF attachment from the latest email from Finance"
"Get the contents of this SharePoint link: [paste link]"
"What files were attached to emails from Legal this month?"
Receipts & Invoices
"Collect all my June receipts into my receipts folder and give me the manifest"
"Save the invoice PDF from the latest Acme receipt email as 'Acme 29Jun26 Invoice.pdf'"
"Draft an email to my accountant with last month's receipt PDFs attached — don't send it"
Office Document Processing
The server automatically parses:
PDF files: Extracts text content
Word documents (.docx): Extracts text content
PowerPoint (.pptx): Extracts slide text
Excel (.xlsx): Parses data into structured format
Authentication
The server uses OAuth 2.0 with PKCE for secure authentication:
First run will open a browser for Microsoft authentication
Tokens are encrypted and stored locally (uses OS keychain if available, otherwise encrypted file storage)
Automatic token refresh for long-term usage
No sensitive data stored in plain text
Required Permissions
The app requests these Microsoft Graph permissions:
Mail.Read,Mail.ReadWrite,Mail.Send- Email accessMail.Read.Shared,Mail.ReadWrite.Shared,Mail.Send.Shared- Shared/delegated mailbox email access (v1.3)Calendars.Read,Calendars.ReadWrite- Calendar accessContacts.Read,Contacts.ReadWrite- Contact accessTasks.Read,Tasks.ReadWrite- Task accessUser.Read,MailboxSettings.Read- User profileFiles.Read.All,Files.ReadWrite.All- OneDrive/SharePoint filesSites.Read.All,Sites.ReadWrite.All- SharePoint sitesoffline_access- Refresh tokens
Troubleshooting
Large File Issues
Problem: "Result exceeds maximum length" error
Solution: Ensure
MCP_OUTLOOK_WORK_DIRis set and writableAlternative: Files automatically save to system temp if work dir not configured
Authentication Issues
Problem: Authentication failures
Solution: Verify Azure AD app permissions and client ID
Reset: Clear stored tokens and re-authenticate
Graph API Errors
Problem: A tool fails with a Microsoft Graph error
Details: The error text includes the HTTP status, Graph error code and message, the
request-idandclient-request-id, and the request method and URL as sent (never the auth header), e.g.HTTP 400 BadRequest: <message> [request-id: …; client-request-id: …] GET https://graph.microsoft.com/…. The same data is returned structured as_errorDetails.graphError(plusretryAfterwhen Graph throttles), and per entry asgraphErrorinoutlook_collect_receipts'failed[].Solution: Quote the request ids when raising the failure with Microsoft support
SharePoint Access Issues
Problem: Cannot access SharePoint files
Solution: Ensure sharing links are valid and user has access permissions
Alternative: Use direct file ID access if available
Development
Project Structure
outlook-mcp/
├── server/
│ ├── index.js # Main MCP server
│ ├── auth/ # Authentication management
│ ├── graph/ # Microsoft Graph API client
│ ├── schemas/ # MCP tool schemas
│ ├── tools/ # MCP tool implementations
│ │ ├── attachments/ # Attachment tools
│ │ ├── calendar/ # Calendar tools
│ │ ├── email/ # Email tools
│ │ ├── folders/ # Folder management
│ │ ├── receipts/ # Receipt/invoice tools
│ │ └── sharepoint/ # SharePoint tools
│ └── utils/ # Utility modules
└── package.jsonRunning Tests
npm test # Run all tests
npm run test:watch # Watch mode
npm run test:benchmark # Performance benchmarksDebugging
npm run test:graph # Test Graph API connectionSupport
If this tool saved you time, consider supporting the development!
License
MIT License
Contributing
Fork the repository
Create a feature branch
Make changes with tests
Submit a pull request
Available Tools
43 toolsoutlook_add_attachmentB
Add an attachment to an email draft
Inputs: messageId (required), name (required), contentType (required), contentBytes (required).
outlook_archive_emailA
Archive an email (move to Archive folder)
Inputs: messageId (required).
outlook_batch_process_emailsC
Perform bulk operations on multiple emails
Inputs: messageIds (required), operation (required), operationData.
outlook_build_recurrence_patternC
Build a recurrence pattern object
Inputs: patternType (required), rangeType (required), interval, daysOfWeek, +6 more.
outlook_categorize_emailC
Apply categories to an email
Inputs: messageId (required), categories.
outlook_check_availabilityC
Check availability for users
Inputs: schedules (required), startTime (required), endTime (required), availabilityViewInterval.
outlook_check_calendar_permissionsB
Check permissions for a calendar
Inputs: calendarId.
outlook_create_draftB
Create an email draft without sending
Inputs: to (required), subject (required), body, bodyType, +3 more.
outlook_create_eventC
Create a new calendar event in Outlook with optional Teams meeting integration
Inputs: subject (required), start (required), end (required), body, +5 more.
outlook_create_folderC
Create a new email folder
Inputs: displayName (required), parentFolderId.
outlook_create_recurrence_helperC
Helper to create a recurring event with simplified inputs
Inputs: eventTitle (required), startDateTime (required), endDateTime (required), recurrenceType (required), +3 more.
outlook_create_recurring_eventC
Create a recurring calendar event
Inputs: subject (required), start (required), end (required), recurrencePattern (required), +4 more.
outlook_delete_emailA
Delete an email (move to Deleted Items or permanently delete)
Inputs: messageId (required), permanentDelete.
outlook_delete_eventB
Delete a calendar event
Inputs: eventId (required).
outlook_download_attachmentC
Download a specific email attachment
Inputs: messageId (required), attachmentId (required), includeContent, decodeContent.
outlook_find_meeting_timesC
Find optimal meeting times for attendees
Inputs: attendees (required), timeConstraint, meetingDuration, maxCandidates.
outlook_flag_emailA
Flag or unflag an email for follow-up
Inputs: messageId (required), flagStatus.
outlook_forward_emailB
Forward an existing email to new recipients
Inputs: messageId (required), to (required), body, bodyType, +1 more.
outlook_get_busy_timesC
Get busy times for users
Inputs: schedules (required), startTime (required), endTime (required), availabilityViewInterval.
outlook_get_calendar_viewC
Get a view of a calendar for a specific time range
Inputs: startDateTime (required), endDateTime (required), calendarId, top.
outlook_get_emailC
Get detailed information about a specific email
Inputs: messageId (required), truncate, maxLength, format.
outlook_get_eventC
Get a specific calendar event
Inputs: eventId (required).
outlook_get_folder_statsC
Get statistics for a specific folder
Inputs: folderId (required), includeSubfolders.
outlook_list_attachmentsC
List all attachments for a specific email
Inputs: messageId (required).
outlook_list_calendarsC
List available calendars
Inputs: includeSharedCalendars, top.
outlook_list_emailsB
List emails from Outlook inbox or specified folder
Inputs: folder, limit, filter.
outlook_list_eventsC
List calendar events from Outlook
Inputs: startDateTime, endDateTime, limit, calendar.
outlook_list_foldersC
List all email folders
Inputs: includeHidden, includeChildFolders, top.
outlook_mark_as_readA
Mark an email as read or unread
Inputs: messageId (required), isRead.
outlook_move_emailB
Move an email to a different folder
Inputs: messageId (required), destinationFolderId (required).
outlook_rename_folderB
Rename an existing email folder
Inputs: folderId (required), newDisplayName (required).
outlook_reply_allB
Reply to all recipients of an existing email
Inputs: messageId (required), body, bodyType, comment.
outlook_reply_to_emailB
Reply to an existing email
Inputs: messageId (required), body, bodyType, comment.
outlook_respond_to_inviteB
Respond to a meeting invitation
Inputs: eventId (required), response (required), comment, sendResponse.
outlook_scan_attachmentsC
Scan emails for large or suspicious attachments
Inputs: folder, maxSizeMB, suspiciousTypes, limit, +1 more.
outlook_schedule_online_meetingC
Schedule an online meeting (Teams/Skype)
Inputs: subject (required), startTime (required), endTime (required), attendees, +1 more.
outlook_search_emailsB
Search emails across all folders with advanced filters for analysis
Inputs: query, subject, from, startDate, +8 more.
outlook_send_emailB
Send an email through Outlook
Inputs: to (required), subject (required), body (required), bodyType, +3 more.
outlook_update_eventB
Update an existing calendar event
Inputs: eventId (required), subject, body, location, +3 more.
outlook_validate_event_datetimesC
Validate event start and end times
Inputs: start (required), end (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 43 tools
Most tools have clearly distinct purposes, but there are overlapping clusters: outlook_check_availability, outlook_find_meeting_times, and outlook_get_busy_times all deal with availability; outlook_create_recurring_event, outlook_create_recurrence_helper, and outlook_build_recurrence_pattern are related to recurrence. These may cause some confusion for an agent.
All tools follow a consistent outlook_verb_noun pattern (e.g., outlook_add_attachment, outlook_create_event). Naming is uniform and predictable, making it easy for an agent to infer functionality.
43 tools is on the higher side, but it covers a broad domain including email, calendar, folders, and SharePoint file operations. Each tool serves a specific function, so the count is reasonable for the scope, though slightly heavy.
The tool set provides comprehensive coverage for email lifecycle (create, send, reply, forward, move, delete, archive, flag, categorize, search) and calendar management (create, update, delete events, schedule meetings, check availability, manage permissions, recurrence). Additional tools for folder management, attachments, and SharePoint files fill potential gaps.
Maintenance
Related MCP Connectors
Email inboxes and calendars for AI agents: send, receive, search, draft and schedule.
Email inboxes and calendars for AI agents: send, receive, search, draft and schedule.
Connect Apple iCloud and Microsoft 365 mail, calendars, contacts and tasks to AI.
Email, calendar and contacts for AI agents: Gmail, Microsoft 365 and IMAP accounts behind one API.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Microsoft Graph API services including Outlook email, Calendar events, OneDrive files, and Contacts. Supports multiple Microsoft accounts with unified search across all services.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Microsoft Outlook via the Microsoft Graph API for managing emails and calendar events. It allows users to read and send emails, list messages, and create calendar appointments with automatic Teams links.1ISC
- FlicenseNot gradedqualityDmaintenanceProvides programmatic access to Microsoft Outlook mailboxes, enabling AI assistants to search, analyze, and extract insights from emails in personal and shared mailboxes.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Microsoft Outlook emails through the Microsoft Graph API, supporting operations like listing, reading, sending, and moving emails.MIT