Repository navigation
Assets
ost-mcp-aarch64-apple-darwin.tar.gz— macOS Apple silicon (arm64), built and tested locally (66 tests passed).- Windows x64 (
ost-mcp-x86_64-pc-windows-msvc.zip) will be attached by the release workflow once GitHub Actions billing is available for this repo.
Verify: compare shasum -a 256 ost-mcp-aarch64-apple-darwin.tar.gz with the .sha256 file.
Changes
Changed
- A Mac Outlook profile's New Outlook cache (
HxStore.hxd) is re-read whenever
the file changes, so a running MCP server sees new mail within seconds, without
a restart. - Hx-cached messages are deduplicated by content (preview text, or the HTML body
a preview's ending appears in) instead of by(sender, send time), which merged
almost none of a message's revisions: a measured mailbox went from 1,699 entries
to 753. Sender and subject are a majority vote across revisions; the time is the
upper median. - Hx-cached message ids are derived from each message's content, so they are the
same in every process and survive new mail arriving. They are now large negative
numbers rather than-1000000 - position; an id from an earlier version no
longer resolves. - Times in every reply and in SQL date comparisons are this computer's local time,
not UTC.store_infoaddsutc_offsetandlocal_now. list_attachments(and--attachments) return{"attachments": [...]}instead
of a bare array: MCP requires an objectoutputSchema, and strict clients
rejected the whole tool list.- Tool descriptions say they read the user's Outlook email on this computer, that
Outlook need not be running, and what New Outlook for Mac cannot provide, so a
model can tell this server from other mail servers in the same harness.
Security
- The DuckDB configuration is locked after external access is disabled, so a
PRAGMA x = y(DuckDB'sSET) can no longer change settings such as profiling
output or the memory limit.EXPLAIN ANALYZEmust wrap a read-only statement. sql,searchandlist_foldersare interrupted after 120 seconds, so a
runaway statement cannot block every later tool call.- Tool output and the skill state that mail content is untrusted data, not
instructions.
Fixed
- A crafted or corrupt OST/PST can no longer hang or crash the reader: the BTree,
heap-BTree, data-tree and subnode walkers reject a node reached twice, table
cells are read with bounds checks, and a BTree page whose entry stride is too
narrow is rejected.