Outlook MCP
Click on "Install 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 MCPlist my last 5 emails"
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.
Outlook MCP
Blank repo no more — this is a local stdio MCP server for Microsoft Outlook via Microsoft Graph.
What you need on your PC
Node.js 18+ (
node -v)Your Azure app Application (client) ID and Directory (tenant) ID
Azure app settings:
Authentication → Allow public client flows = Yes (required for device-code login)
API permissions → Microsoft Graph Delegated:
User.ReadMail.ReadWriteMail.SendCalendars.Readoffline_access(usually included automatically)
Grant admin consent if your tenant requires it
A client secret is not required for this server (device-code / public client). If you previously pasted a secret in chat, rotate/delete it in Azure anyway.
Related MCP server: outlook-mcp-server
Install (on your Windows machine)
From this folder (MCPProject / this repo):
npm installOptional one-time login test in a terminal:
$env:MS_CLIENT_ID="your-client-id"
$env:MS_TENANT_ID="your-tenant-id"
npm run loginOpen the URL printed in the terminal, enter the code, sign in with your Microsoft account.
Cursor mcp.json config
Use this (Desktop). Point at the folder (uses package.json "main") or the entry file:
{
"mcpServers": {
"outlook-mcp": {
"command": "node",
"args": ["C:\\Users\\lance\\OneDrive\\MCPProject\\src\\index.js"],
"env": {
"MS_CLIENT_ID": "your-client-id",
"MS_TENANT_ID": "your-tenant-id"
}
}
}
}Keep your OrCAD / MATLAB entries as they are. Do not put client secrets in chat or commit them.
After saving:
Cursor → Settings → Tools & MCP
Confirm
outlook-mcpis connected (green)Ask the agent to run
outlook_login(or call any mail tool — first use triggers device code on stderr)Complete the browser sign-in when prompted
Tokens are cached at %USERPROFILE%\.outlook-mcp\msal-cache.json.
Tools
Tool | Purpose |
| Device-code sign-in |
| Check sign-in |
| Clear cached tokens |
| Who am I |
| List folder messages |
| Read one message |
| Search mailbox |
| Send mail |
| Create draft |
| Upcoming events |
Cloud Agents note
This stdio server runs on your Windows PC. Cursor Cloud Agents will not see it unless you also add a separate Cloud/HTTP MCP. For Desktop Agent chat on your machine, this config is enough.
Troubleshooting
Symptom | Fix |
| Add it under |
Device code never appears | Check MCP server logs in Cursor; run |
| Enable Allow public client flows on the app |
| Add Graph delegated permissions; admin consent if needed |
Wrong account type | Set tenant to |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA local MCP server that connects Codex to Microsoft Graph and Gmail for reading and managing personal mail and calendar accounts.Last updatedMIT
- FlicenseAqualityCmaintenanceA lightweight MCP server for personal Microsoft Outlook/Hotmail accounts, enabling email search, reading, attachment management, and folder operations via Microsoft Graph API with OAuth device-code flow.Last updated61
- FlicenseAqualityBmaintenanceAn MCP server that enables reading and managing Microsoft 365 / Outlook emails through Microsoft Graph API, allowing users to list, search, send, draft, and authenticate using device code flow.Last updated17
- AlicenseAqualityCmaintenanceMCP server that connects Claude to Microsoft 365 mail for inbox triage, search, classification, and idempotent rule provisioning via Microsoft Graph, with device-code auth and read-only default.Last updated6MIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lanSall/MCPProject'
If you have feedback or need assistance with the MCP directory API, please join our Discord server