MCP.Market

MSGraph MCP server

by timfurlong·io.github.timfurlong/msgraph-mcp·v0.5.1·1 stars

MCP server for Microsoft Graph: Outlook mail and calendar, plus read-only Microsoft Teams

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

1 stars34 downloads/wk

Reviews

Write one

Nobody has reviewed MSGraph MCP yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

MSGraph MCP tools (50, 14 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • archive_message
  • batch_archive_messages
  • batch_flag_messages
  • batch_mark_read
  • batch_mark_unread
  • batch_move_messages
  • batch_unflag_messages
  • cancel_eventwrite action
  • create_draftwrite action
  • create_eventwrite action
  • create_folderwrite action
  • create_rulewrite action
  • delete_eventwrite action
  • delete_folderwrite action
  • delete_messagewrite action
  • delete_rulewrite action
  • download_attachment
  • download_hosted_content
  • find_meeting_times
  • flag_message
  • forward_message
  • get_event
  • get_message
  • get_rule
  • list_attachments
  • list_calendars
  • list_channel_messages
  • list_channels
  • list_chat_messages
  • list_chats
  • list_events
  • list_folders
  • list_joined_teams
  • list_message_replies
  • list_messages
  • list_rules
  • mark_read
  • mark_unread
  • move_message
  • reply_all_message
  • reply_message
  • respond_to_event
  • search_messages
  • send_messagewrite action
  • unflag_message
  • update_eventwrite action
  • update_folderwrite action
  • update_messagewrite action
  • update_rulewrite action
  • whoami

Public scan report

scanner v0.1.10 · 2026-11-01 · same rubric, same numbers if you re-run it

no findings
  • Code scan30 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 3 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How MSGraph MCP compares

Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 90% of 916 Email servers
Tools
50
the typical Email server has 7
Tools that change things
28%
typical: 25%. Fewer write tools means less an agent can break
GitHub stars
1
more than 65% of 493 Email servers
Downloads a week
34
more than 20% of 235 Email servers with a package

What its tools let an agent do: 30 read · 4 create · 7 change · 6 delete · 3 send or post

Release history: 2 versions in the registry since 2026-08-21, latest 2026-09-21, typically one every 31 days.

Install MSGraph MCP in Claude Code, Cursor or VS Code

claude mcp add msgraph-mcp -- uvx msgraph-mcp-server
Add to Cursor

What the publisher says

From the MSGraph MCP repository's README, as published. We do not edit it. Read it on GitHub

MSGraph MCP

<!-- mcp-name: io.github.timfurlong/msgraph-mcp -->

A Model Context Protocol (MCP) server for Microsoft Graph. It exposes Microsoft Outlook mail and calendar, plus read-only Microsoft Teams message history, to AI agents via the Microsoft Graph SDK. It acts as the signed-in user, using delegated permissions and MSAL device code flow, so it can only reach what that user can reach.

Install

You need Python ≥ 3.11 and an Entra (Azure AD) app registration. The app registration takes about ten minutes and may need an administrator, so do that first: see the Entra setup section below.

uv tool install msgraph-mcp-server   # or: pip install msgraph-mcp-server

The package is msgraph-mcp-server. It installs three commands: msgraph-mcp and its alias msgraph-mcp-server, which both start the stdio server, plus msgraph-mcp-login for the one-time sign-in.

Setup

1. Set your Entra app credentials.

export MSGRAPH_MCP_CLIENT_ID=<your app's client ID>
export MSGRAPH_MCP_TENANT_ID=<your tenant ID>   # or: common / organizations / consumers

2. Sign in once. This prints a URL and a code; visit the URL and enter the code. No client secret is involved or stored.

msgraph-mcp-login
# running via uvx instead of installing: uvx --from msgraph-mcp-server msgraph-mcp-login

A token cache is written to ~/.msgraph-mcp/token_cache.bin.

3. Wire the server into your MCP host.

Claude Code:

claude mcp add msgraph \
  --env MSGRAPH_MCP_CLIENT_ID=$MSGRAPH_MCP_CLIENT_ID \
  --env MSGRAPH_MCP_TENANT_ID=$MSGRAPH_MCP_TENANT_ID \
  -- msgraph-mcp

Any other host, over stdio:

{
  "mcpServers": {
    "msgraph": {
      "command": "msgraph-mcp",
      "args": [],
      "env": {
        "MSGRAPH_MCP_CLIENT_ID": "<your app's client ID>",
        "MSGRAPH_MCP_TENANT_ID": "<your tenant ID>"
      }
    }
  }
}

To run without installing, use "command": "uvx" with "args": ["msgraph-mcp-server"]. Note that uvx does not put msgraph-mcp-login on your PATH, so sign in with the uvx --from form shown in step 2.

MSGRAPHMCPTOKENCACHEPATH optionally overrides the cache location. All three variables can also come from a .env file in the working directory; the process environment wins over it.

Entra setup

The app registration requires:

  • Account type: single tenant (multi-tenant works too; set MSGRAPHMCPTENANT_ID to common, organizations, or consumers)
  • Redirect URI (public client): https://login.microsoftonline.com/common/oauth2/nativeclient
  • Allow public client flows: Yes, under Authentication → Advanced settings. Device code flow fails without it.
  • Delegated permissions (Microsoft Graph):
  • Mail: Mail.ReadWrite, Mail.ReadWrite.Shared, Mail.Send
  • Rules: MailboxSettings.ReadWrite (Graph requires this for the messageRules endpoints)
  • Calendar: Calendars.ReadWrite, Calendars.ReadWrite.Shared
  • Identity: User.Read
  • Teams: Chat.Read, Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.All

ChannelMessage.Read.All always needs tenant admin consent, and the *.Shared permissions may need it depending on your tenant.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

MSGraph MCP: common questions

Is MSGraph MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the MSGraph MCP safety report
How do I install MSGraph MCP?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does MSGraph MCP need an API key?
No secret keys are declared. It reads 3 settings from the environment.
Is MSGraph MCP maintained?
The last commit was 5 days ago (2026-10-30). The latest release is v0.5.1.
What can I use instead of MSGraph MCP?
Servers from other publishers that do the same job: Outlook MCP server, Outlook Assistant MCP server and Outlook MCP server. Compare all MSGraph MCP alternatives.
How does MSGraph MCP compare with other Email MCP servers?
safety score 92/100 (higher than 90% of 916 Email servers); tools 50 (the typical Email server has 7); tools that change things 28% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to MSGraph MCP

Same job from other publishers: the closest match first, then the best rated.

All MSGraph MCP alternatives →
  • Outlook MCP
    Microsoft Outlook personal accounts: mail, rules, calendar, contacts, to-do, drafts (77 tools).
    A
  • Outlook Assistant
    Microsoft Outlook MCP server — 22 tools for email, calendar, contacts, and mailbox management.
    A
  • Outlook
    Outlook & OneDrive MCP: personal & enterprise tools for mail, calendar, contacts, tasks, files
    A
  • Microsoft 365 Mail
    Microsoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.
    A
  • Mailoo - Email MCP Server
    Email MCP server for AI agents: IMAP/SMTP, Gmail, Outlook, calendar, ManageSieve, AI triage, OAuth2.
    A