outlook-local-mcp
Enables local automation of classic Outlook for Windows via COM, allowing email search, folder listing, calendar leave block creation, and contact/recipient management without needing cloud APIs or admin approval.
README
outlook-classic-windows-mcp
MVP MCP server for working with a locally configured classic Outlook for Windows desktop profile.
This does not use Microsoft Graph, Outlook on the web, new Outlook for Windows, or admin-enabled cloud APIs. It uses Windows COM automation against the classic Outlook desktop app/profile available on the machine running the MCP server. This is useful if you don't want to deal with your IT support or ask for your admin's blessing.
Note: this MCP is idiosyncratic to my own workflow and requirements. It is advised to fork and modify it—or ask your coding agent to do it for you—to mold the MCP to your own Outlook setup and use case.
Warning: Classic Outlook for Windows for Microsoft 365 users is supported until at least 2029. New Outlook gradually becomes the default or replacement. This MCP will only be viable in the near/medium term. In the long term, use a different MCP that uses admin-backed APIs! See https://learn.microsoft.com/en-us/answers/questions/5554339/when-will-classic-outlook-end
Requirements
- Windows
- Classic Microsoft Outlook desktop installed and configured
uv
Install / run
cd C:\Users\muhammad.menjeni\git\outlook-classic-windows-mcp
uv sync
uv run outlook-local-mcp
The MCP server speaks stdio, so it is intended to be launched by an MCP client.
Pi MCP config example
Add a local server entry similar to this in your Pi MCP configuration, adjusting the path if needed:
{
"mcpServers": {
"outlook-local": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\muhammad.menjeni\\git\\outlook-classic-windows-mcp",
"run",
"outlook-local-mcp"
]
}
}
}
Tools
search_email
Searches Outlook mail by subject and/or body.
Arguments:
querystring: case-insensitive substring to find.folderstring: folder to search. Default:Inbox. You can use paths likeInbox/ArchiveorMailbox Name/Inbox.search_scope:all,subject, orbody. Default:all.max_results: number of matches to return. Default:10.max_items: newest items to inspect in the folder. Default:500.include_body_preview: include a short body preview. Default:true.
list_mail_folders
Lists available Outlook folders to help choose a folder path.
create_leave_calendar_blocks
Creates two unsent Outlook calendar items for leave review:
- A personal blocker marked Out of Office with no attendees.
- A notification meeting marked Free with the supplied attendees.
Nothing is sent. By default both items are saved and opened in Outlook for manual review/sending.
Arguments:
start_timestring: start date/time, e.g.2026-09-01 08:00.end_timestring: end date/time. For all-day events this is interpreted as an exclusive end, e.g. one day from2026-09-04 00:00to2026-09-05 00:00.required_attendeeslist/string: additional notification recipients. Configurable defaults can also be used.subjectstring: default comes from config, initiallyAmirul: On-Leave.bodystring: message body.optional_attendeeslist/string: optional notification recipients.locationstring.displayboolean: open the saved items in Outlook. Default:true.confirmedboolean: must betrueto actually create Outlook calendar items. Without confirmation, the tool only returns a proposal.
get_leave_defaults
Shows the current leave defaults and config path.
set_leave_defaults
Persists leave defaults such as subject and notification attendees. Requires confirmed=true before writing config.
infer_leave_recipients
Read-only scan of recent local Outlook email to infer candidate distribution lists for leave notifications. Returns candidates and evidence; it does not write config or create drafts.
resolve_recipients
Resolves names, emails, or distribution lists using Outlook recipient resolution/address book.
search_contacts
Searches local Outlook contact folders by name, email, company, department, or job title.
Notes / limitations
- First access may start Outlook if it is not already running.
- Your organization may show Outlook Object Model Guard prompts or block automation by policy.
- This MVP searches by scanning recent folder items, which is simple and reliable but not as fast as indexed Outlook search for very large folders.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。