Labsco
MCP SERVER

Microsoft MCP

by elyxlz

Read and send Outlook mail, move it between folders, book and answer calendar events, keep contacts, and push files in and out of OneDrive — across more than one signed-in Microsoft account, each call naming the account_id it applies to.

Office Suites & Cloud File StorageVerified
Summary
A work mailbox and a personal one answer in the same conversation.

Nearly every tool takes account_id, so two accounts are a parameter rather than a reason to restart the server, and unified_search then spans message, event, drive and site types in one query. The writes are direct: delete_email, delete_event, delete_contact and delete_file each remove the object outright, and the repository declares no license, which matters if this is going into a company setup.

What it is

A server over Microsoft 365 mail, calendar, contacts and OneDrive, holding several signed-in accounts at once and taking account_id on almost every one of its 35 tools.

What you get
  • Mail listed per folder or read one message at a time with body_max_length capping the body, then drafted, sent, replied to sender or to all, flagged or categorised through update_email, moved between folders, or deleted
  • Attachments sent from local file paths and pulled back down by get_attachment to a path you choose
  • Calendar events listed across days_back and days_ahead including recurring instances, created with attendees and a timezone, updated, cancelled with or without a cancellation notice, and answered accept, decline or tentativelyAccept
  • check_availability across a set of attendees before a slot is proposed
  • OneDrive listed by path, downloaded to a local file, uploaded, replaced from a local file and deleted, with contacts created and edited in the same session
  • Search per area — search_emails, search_events, search_files, search_contacts — or unified_search across message, event, drive, driveItem, list, listItem and site in one query
  • Device-code sign-in run from inside the session: authenticate_account returns the URL and code, complete_authentication finishes the flow once it has been entered
Requirements

MICROSOFT_MCP_CLIENT_ID for the Microsoft application the sign-in runs against, and a Microsoft account you can authorize through the device-code flow. The repository declares no license.

Setup effort

One command plus a key — claude mcp add microsoft-mcp -e MICROSOFT_MCP_CLIENT_ID=your-app-id-here -- uvx --from git+https://github.com/elyxlz/microsoft-mcp.git microsoft-mcp, then supply credentials