MSGraph MCP server
io.github.timfurlong/msgraph-mcp·v0.5.1·1 starsMCP server for Microsoft Graph: Outlook mail and calendar, plus read-only Microsoft Teams
1 stars34 downloads/wk
Reviews
Write oneNobody 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 postsRead from the package source without running it. The installed server may list more.
archive_messagebatch_archive_messagesbatch_flag_messagesbatch_mark_readbatch_mark_unreadbatch_move_messagesbatch_unflag_messagescancel_eventwrite actioncreate_draftwrite actioncreate_eventwrite actioncreate_folderwrite actioncreate_rulewrite actiondelete_eventwrite actiondelete_folderwrite actiondelete_messagewrite actiondelete_rulewrite actiondownload_attachmentdownload_hosted_contentfind_meeting_timesflag_messageforward_messageget_eventget_messageget_rulelist_attachmentslist_calendarslist_channel_messageslist_channelslist_chat_messageslist_chatslist_eventslist_folderslist_joined_teamslist_message_replieslist_messageslist_rulesmark_readmark_unreadmove_messagereply_all_messagereply_messagerespond_to_eventsearch_messagessend_messagewrite actionunflag_messageupdate_eventwrite actionupdate_folderwrite actionupdate_messagewrite actionupdate_rulewrite actionwhoami
Public scan report
scanner v0.1.10 · 2026-11-01 · same rubric, same numbers if you re-run it
- 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
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
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-serverThe 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 / consumers2. 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-loginA 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-mcpAny 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.
- Outlook MCPMicrosoft Outlook personal accounts: mail, rules, calendar, contacts, to-do, drafts (77 tools).not reviewedEstablishedA
Outlook AssistantMicrosoft Outlook MCP server — 22 tools for email, calendar, contacts, and mailbox management.not reviewedEstablishedA- OutlookOutlook & OneDrive MCP: personal & enterprise tools for mail, calendar, contacts, tasks, filesnot reviewedGrowingA
- Microsoft 365 MailMicrosoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.not reviewedGrowingA
- Mailoo - Email MCP ServerEmail MCP server for AI agents: IMAP/SMTP, Gmail, Outlook, calendar, ManageSieve, AI triage, OAuth2.5.0(1)GrowingA