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-mcpSearch my inbox for emails from John about the project status"
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
MCP server for Microsoft Outlook desktop via COM. MCP server cho Outlook desktop qua COM.
Reads the Outlook profile already signed in on your machine — no OAuth, no tokens, no tenant admin consent. Useful where Microsoft Graph application access is blocked by IT policy.
Đọc thẳng profile Outlook đang đăng nhập trên máy — không OAuth, không token, không cần quản trị viên phê duyệt. Dùng được khi tenant chặn app Microsoft Graph.
The server never sends mail. It can create drafts; sending stays a human action. Server không bao giờ gửi thư. Chỉ tạo nháp; việc gửi do người quyết định.
Requirements / Yêu cầu
Windows
Outlook desktop installed and signed in / đã cài và đã đăng nhập
Python ≥ 3.10, uv
Related MCP server: outlook-mcp-readonly
Install / Cài đặt
git clone <repo-url> C:\Tools\outlook-mcp
cd C:\Tools\outlook-mcp
uv syncRegister with Claude / Đăng ký với Claude
Add to claude_desktop_config.json / Thêm vào claude_desktop_config.json:
{
"mcpServers": {
"outlook": {
"command": "C:\\Tools\\outlook-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "outlook_mcp"]
}
}
}Restart Claude. / Khởi động lại Claude.
Tools / Công cụ
Tool | Read-only | Purpose |
| ✅ | List mail folders with counts. Call first to find a |
| ✅ | Search subject+body by keyword, folder, sender, recency, internal/external scope. Paginated. |
| ✅ | Full body and attachment listing for one message. |
| ✅ | Every message in a conversation, oldest first. |
| — | Write attachments straight to disk. |
| — | Bulk-export to a markdown archive with YAML front matter. |
| — | Save an unsent draft. Never sends. |
Attachment bytes go from Outlook straight to disk and never pass through the conversation, so file size is not a constraint.
Nội dung file đính kèm đi thẳng từ Outlook xuống đĩa, không đi qua hội thoại, nên không bị giới hạn dung lượng.
Design notes / Ghi chú thiết kế
Three things that are easy to get wrong with the Outlook object model:
MailItem.To gives display names, not addresses. Resolving a real SMTP address
needs Recipients → AddressEntry → PR_SMTP_ADDRESS (0x39FE001E). Skip this and
any internal/external classification is wrong for every message.
MailItem.To chỉ trả tên hiển thị, không có địa chỉ. Phải đi qua Recipients →
AddressEntry → PR_SMTP_ADDRESS, nếu không phân loại nội bộ/đối ngoại sai hết.
Most attachments are flagged inline, including real documents. Filtering on that
flag alone throws away screenshots pasted into a mail, which are often the actual
evidence being discussed. This server filters by size instead (min_inline_kb,
default 100 KB) so logos and signatures drop out but content images stay.
Phần lớn đính kèm bị gắn nhãn inline, kể cả tài liệu thật. Lọc theo nhãn đó sẽ mất
ảnh chụp màn hình dán trong thư — thường chính là bằng chứng đang bàn. Server lọc theo
kích thước (min_inline_kb, mặc định 100 KB).
Paths overflow MAX_PATH (260). Long subject lines produce long folder names;
Attachment.SaveAsFile then fails with a misleading "Path does not exist". File names
are shortened, keeping the extension plus a short hash so truncated names never collide.
Chủ đề thư dài làm đường dẫn vượt MAX_PATH 260 ký tự và SaveAsFile báo lỗi khó hiểu.
Server tự rút gọn tên file, giữ đuôi và thêm hash ngắn để không trùng.
Outlook's object model is apartment-threaded, so all COM work is funnelled through a single dedicated worker thread owning one apartment.
Privacy / Riêng tư
This server reads your mailbox. Anything exported lands on your local disk.
Do not commit exported mail, attachments, or logs to a public repository — check
.gitignore before pushing.
Server đọc hộp thư của bạn; dữ liệu xuất ra nằm trên đĩa cục bộ.
Đừng commit thư, đính kèm hay log đã xuất lên repo công khai — kiểm tra .gitignore
trước khi push.
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-qualityCmaintenanceEnables AI assistants to manage Microsoft Outlook emails, calendar events, contacts, and folders via COM automation.1MIT
- Alicense-qualityCmaintenanceProvides read-only access to classic desktop Outlook mailbox and calendar on Windows, enabling safe email and calendar queries without any write capabilities.MIT
- FlicenseAqualityBmaintenanceControls the Microsoft Outlook desktop app via COM automation, enabling email, calendar, and contact management without needing Graph API or Azure registration.14
- Flicense-qualityBmaintenanceTurns your running Outlook Desktop into an MCP server, enabling email, calendar, tasks, and attachment management through your existing Outlook session without any cloud APIs.
Related MCP Connectors
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Outlook Contacts (Microsoft 365) MCP Pack
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/nhantruong96/outlook-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server