Repository navigation
Releases
msoutlook-mcp v0.2.0
msoutlook-mcp 0.2.0
Minor release: MIME fidelity and backlog pagination for consumers that rebuild
messages, plus continuation for both mail list tools.
mise use -g github:t128n/msoutlook-mcp@0.2.0
msoutlook-mcp setupWhat is new
- Transport headers (#18).
read_mail(include_transport_headers=true)returns
the verbatimPR_TRANSPORT_MESSAGE_HEADERSblock (capped at 64 KiB), including
References,In-Reply-Toand theReceivedchain. Off by default and never
logged. - Attachment fidelity (#19). Attachments now carry
content_id,mime_type
andis_inline.read_mail(attachments="base64")returns bytes with per-part
and per-response caps; skipped parts reporttoo_large,total_capor
unavailable. - Pagination (#20).
list_mailacceptssort: "newest" | "oldest"and an
opaque cursor.search_mailgains the same cursor. A cursor carries the
ReceivedTimeboundary and the EntryIDs already delivered, so shared-timestamp
blocks drain without duplicates or gaps. Cursors are bound to their query and
sort.
Compatibility notes
read_mailattachment metadata gainscontent_id,mime_typeandis_inline
in the default mode. Existing fields are unchanged.transport_headersand attachment bytes are opt-in. Base64 is capped at
2 MiB per part and 8 MiB per response by default; the response can be about
4/3 the byte size.list_mailandsearch_mailaddnext_cursoronly on a capped page. A request
with neithersortnorcursorkeeps the previous newest-first response.
The Windows verification caveat still applies: real COM/Outlook, Task Scheduler,
the hidden launcher, rules/contacts and OpenCode event wake-up remain unverified
and are listed in docs/windows-checklist.md. Use a test mailbox first; sending
is off by default.
msoutlook-mcp v0.1.1
msoutlook-mcp 0.1.1
Patch release: the default daemon port moves from 8787 (commonly used by
other tools) to 28471. setup still checks the port and picks the next free
one, and the port remains configurable with config set port.
mise use -g github:t128n/msoutlook-mcp@0.1.1
msoutlook-mcp setupEverything else is unchanged from 0.1.0. The Windows verification caveat still
applies: real COM/Outlook, Task Scheduler, the hidden launcher, rules/contacts,
and OpenCode event wake-up remain unverified and are listed in
docs/windows-checklist.md. Use a test mailbox first; sending is off by default.
msoutlook-mcp v0.1.0
msoutlook-mcp 0.1.0
An MCP server for classic Outlook on Windows through COM, with a polling
new_mail event. One executable, a local HTTP daemon, no app registration and no
Microsoft Graph permissions.
Install
# mise (recommended)
mise use -g github:t128n/msoutlook-mcp@0.1.0
msoutlook-mcp setup
# or download msoutlook-mcp-x86_64-pc-windows-msvc.zip from the release assets,
# then run msoutlook-mcp.exe setupmise picks the asset for the current platform. Windows is the supported
platform; the macOS and Linux binaries are development builds for serve and
the CLI, because COM is Windows-only.
Then:
msoutlook-mcp install # per-user Task Scheduler logon task, no admin
msoutlook-mcp doctorStart classic Outlook, sign in, and minimize it; don't close it. To keep it
out of the way, right-click the Outlook icon in the notification area and enable
Hide When Minimized.
What is in this release
- Persistent PowerShell COM bridge with per-call timeout, HRESULT mapping and a
fake bridge for tests. - CLI and local daemon:
setup,doctor,install,uninstall,upgrade,
serve,config,version. - Loopback Streamable HTTP MCP at
/mcp, bearer token, Host/Origin checks, and
/healthwithconnected/waiting_for_outlook/error. - Reconnect after Outlook closes, 2–60 s backoff, retryable tool errors.
- All 27 ported tools: read mail and calendar, guarded drafts/sends/replies,
moves/flags, event drafts/invites, meeting responses, rules, contacts. new_mailevent over poll and SSE push, persisted cursor, thin payload (no
body).- Task Scheduler logon tasks for the daemon and for Outlook minimized.
- Cross-platform release archives and
SHA256SUMS.
Safety
- Sending is off by default;
config set allow-send onenables it without a
restart. - Every state-changing call creates a draft or needs
confirm=true. - Recipients are checked against the allowlist at creation and again at send
time. - Mail bodies, subjects and tokens are never logged.
Not verified in 0.1.0
The implementation was built and tested on macOS against a fake COM bridge. A
real Windows machine with classic Outlook was not available, so these are
documented in docs/windows-checklist.md and are not claimed to work yet:
- Real COM calls, DASL acceptance, X.500 → SMTP, attachments, rules, contacts.
- Task Scheduler logon, restart, hidden launcher,
icacls, locked-exe upgrade. - A real Outlook close/restart or modal prompt.
- OpenCode waking on
new_mail(depends on t128n/github-events-mcp#2). - The manual smoke test against a real mailbox.
Use a test mailbox first. Do not enable sending until the checks pass.
License
MIT. Port of Astral0/outlook-com-mcp (MIT); see NOTICE.