
Outlook
io.github.rlrghbPublished by GitHub account rlrghbv1.16.1Updated Oct 24, 2026
Outlook & OneDrive MCP: personal & enterprise tools for mail, calendar, contacts, tasks, files
Overview
Local MCP server and CLI that gives an assistant access to Outlook mail, calendar, contacts, tasks and OneDrive through Microsoft Graph.
- What you can do
- Read and search mail, including message IDs, subjects and senders, and synchronize changes across the mailbox and other resources via Microsoft Graph, with JSON, TSV or table output for scripting and field selection to limit results. View calendar events for a chosen number of days. Search and list contacts. List task lists and browse OneDrive files. Draft, reply, reply-all, send and forward mail, including HTML drafts with inline images, with mutations exposed over MCP only after explicit opt-in. Wrap external mail, calendar, contact and file text as untrusted content for safer agent consumption.
- When to use it
- Useful when an assistant should work with a personal Outlook.com or enterprise Microsoft 365 account: triaging and searching mail, checking upcoming calendar events, looking up contacts, managing tasks, browsing OneDrive, or preparing drafts and replies. Read-only unattended runs are supported through flags that disable writes, sends and prompts.
- Requirements
- Runs as a local process; install via Homebrew, Go, or the npm package olkcli, which provides the olk command. Sign-in is required through the CLI's auth login, with an enterprise option for work or school accounts. On macOS, Keychain access may be requested after an upgrade. Network access to Microsoft Graph is needed.
Installation
In SourceWeft
- Open Outlook in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
olk — Microsoft Outlook in Your Terminal
olk is a scriptable CLI and MCP server for Outlook mail, calendars, contacts,
tasks, and OneDrive through Microsoft Graph. It works with personal Outlook.com
accounts and enterprise Microsoft 365 accounts.
Install
The npm package is olkcli; the installed command is olk:
See macOS notes if macOS asks for Keychain access after an upgrade.
Quick start
For work/school accounts and enterprise-only features:
Common commands
See the command reference for all commands and flags.
Inline images in HTML drafts
Use a cid: URL in the HTML and supply the matching image with repeatable
--inline CID=PATH flags. This works for new drafts and true threaded reply or
reply-all drafts:
Each CID must be unique and referenced by the HTML. Files must be images and
each must be under 3 MB, the Microsoft Graph simple-attachment limit. Draft
commands do not send mail; immediate sends and forwards do not accept
--inline.
Output and scripting
Results are written to stdout; diagnostics and prompts go to stderr.
Output modes are JSON (--json), TSV (--plain), and aligned tables by
default. Use --concise to omit large bodies/previews and --select to limit
fields where supported. See scripting and sync.
Safety defaults
- Use
--no-write --no-send --no-inputfor unattended read-only runs. - MCP exposes curated tools and requires explicit opt-in for mutations.
- External mail, calendar, contact, and file text can be wrapped with
--wrap-untrustedfor agent-safe consumption. - Refresh tokens are stored in the OS keychain; access tokens are kept in memory only.
Read the security and privacy guide before connecting an agent or sharing logs.
Documentation
- Command reference
- Authentication and accounts
- Scripting and synchronization
- MCP and AI agents
- Security and privacy
- Enterprise app setup
- Development and releases
- Agent instructions
Contributing
See development and releases for repository structure, validation, CI, and publishing details.
License
See LICENSE.
Source: README.md at commit 6228443
Tools
0Version history
4- v1.16.1LatestOct 12, 2026
- v1.15.1Sep 26, 2026
- v1.15.0Sep 24, 2026
- v1.14.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts