02 / BITEFOUNDRY SUITE · @bitefoundry/outlook@0.3.10 · MIT LICENSE

Microsoft Outlook in the Terminal — Mail, Calendar & To Do CLI/MCP

Triage email, check calendar schedules, manage Microsoft To Do tasks, and let AI agents read or draft messages safely via 24 MCP tools with token-saving selective fields:[...] projection.

$npm i -g @bitefoundry/outlook
$brew install bitefoundry/tap/outlook # or: curl -fsSL https://bitefoundry.dev/i | sh -s outlook
v0.3.10 Latest Release
24 Tools Stdio MCP Server
393 Passing Rust Tests
127.0.0.1:3939 Local HTTP API
Win · macOS · Linux Native Rust Binaries
Microsoft Outlook terminal TUI demo

Key Capabilities

Mail, Calendar, Contacts & To Do Unified

Switch between inbox threads, calendar agenda, contacts, and Microsoft To Do lists inside one keyboard-driven Ratatui workspace.

24 MCP Tools with Selective Projection

Use fields:[...] projection so AI coding agents read only subject, sender, and trimmed body—eliminating massive HTML email bloat from LLM context.

Parallel Sync & Instant Drafts

Background daemon prefetches adjacent message bodies in parallel and saves drafts instantaneously over Microsoft Graph.

Pure-Rust HTML, SVG & Markdown Rendering

Cleanly wraps complex HTML newsletters and renders inline graphics directly inside the terminal without spawning a headless browser.

Quickstart & MCP Agent Setup

CLI & TUI Commands (outlook)
outlook                       # Launch interactive Mail, Calendar & To Do TUI
outlook auth login            # Sign in to Microsoft 365 / Outlook via OS keychain
outlook mail list --json      # Scriptable JSON inbox query
outlook mcp                   # Start 24-tool stdio MCP server for AI agents
MCP Config (Claude Code · Codex · Cursor · OpenCode)
{
  "mcpServers": {
    "outlook": {
      "command": "outlook",
      "args": [
        "mcp"
      ]
    }
  }
}

Representative MCP tools (io.github.BiteFoundry/outlook): list_messages, get_message, send_mail, reply_mail, list_events, create_event, list_tasks.

BiteFoundry Outlook vs. Traditional Desktop / Web Client

Dimension BiteFoundry Outlook (Rust) Electron / Browser Client
Interfaces included TUI + --json CLI + HTTP (:3939) + 24 MCP tools GUI-only web or heavy desktop app
LLM context efficiency Selective fields:[...] compact JSON Raw HTML email dumps burn context tokens
Local search Local SQLite FTS5 across cached mail & events Slow web search
Footprint Single native Rust binary Hundreds of MB to >1 GB RAM

Frequently Asked Questions

Is there a fast CLI and MCP server for Microsoft Outlook?

Yes. @bitefoundry/outlook provides a standalone Rust binary with an interactive TUI, scriptable --json CLI, local HTTP API on 127.0.0.1:3939, and 24 stdio MCP tools for Mail, Calendar, Contacts, and To Do.

How does Outlook MCP save AI tokens on long email threads?

Tool calls support selective fields:[...] projection and clean text/Markdown extraction from HTML mail, returning compact structured JSON instead of raw MIME/HTML blobs.

Where are my Microsoft credentials stored?

All OAuth tokens are stored locally in your OS keychain (Windows Credential Manager, macOS Keychain, or Linux Secret Service) and talk directly to Microsoft Graph.

Explore the Full BiteFoundry Suite