What it does
Microsoft Outlook mail, calendar, and tasks MCP server, CLI, and TUI in Rust with SQLite FTS5.
- Connects Runs on your computer
- Account or key Needs OUTLOOK_ACCESS_TOKEN
- Category Developer tools
Use together with
Skills that teach the AI this kind of work; they work alongside this one
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Microsoft Outlook (TUI, CLI & MCP). Follow https://mcp.popnx.com/i/bitefoundry-outlook.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 24, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Microsoft Outlook (TUI, CLI & MCP) for Claude on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "outlook": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OUTLOOK_ACCESS_TOKEN", "ghcr.io/bitefoundry/outlook:0.3.2" ], "env": { "OUTLOOK_ACCESS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OUTLOOK_ACCESS_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Microsoft Outlook (TUI, CLI & MCP) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Docker (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
docker --version- A version number such as Docker version … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
docker --versionInstall once; it works for everything that needs Docker
Sign up and create a Microsoft Outlook (TUI, CLI & MCP) key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "outlook": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OUTLOOK_ACCESS_TOKEN", "ghcr.io/bitefoundry/outlook:0.3.2" ], "env": { "OUTLOOK_ACCESS_TOKEN": "your-value" } } } }Paste the key only into the app’s field, never into a chat or to anyone
Quit Claude and open it again
Try it
Use Microsoft Outlook (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing✓ If Claude says it is using Microsoft Outlook (TUI, CLI & MCP) or shows a Microsoft Outlook (TUI, CLI & MCP) tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
OUTLOOK_TOKEN_FILEPath to a file containing a Microsoft Graph bearer token (read live on demand).
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Microsoft Outlook (TUI, CLI & MCP) yet
Microsoft Outlook (TUI, CLI & MCP) runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect Microsoft Outlook (TUI, CLI & MCP)
- You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time)
- You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time)
- You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time)
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Works with Claude Code, with some setup first
You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Microsoft Outlook (TUI, CLI & MCP) for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user outlook --env OUTLOOK_ACCESS_TOKEN=your-value -- docker run -i --rm -e OUTLOOK_ACCESS_TOKEN ghcr.io/bitefoundry/outlook:0.3.2 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OUTLOOK_ACCESS_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Microsoft Outlook (TUI, CLI & MCP) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Docker (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
docker --version- A version number such as Docker version … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
docker --versionInstall once; it works for everything that needs Docker
Sign up and create a Microsoft Outlook (TUI, CLI & MCP) key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user outlook --env OUTLOOK_ACCESS_TOKEN=your-value -- docker run -i --rm -e OUTLOOK_ACCESS_TOKEN ghcr.io/bitefoundry/outlook:0.3.2Replace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
Type /mcp in Claude Code
You should see Microsoft Outlook (TUI, CLI & MCP) listed as connected
Try it
Use Microsoft Outlook (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Microsoft Outlook (TUI, CLI & MCP) or shows a Microsoft Outlook (TUI, CLI & MCP) tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
OUTLOOK_TOKEN_FILEPath to a file containing a Microsoft Graph bearer token (read live on demand).
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Microsoft Outlook (TUI, CLI & MCP) for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "outlook": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OUTLOOK_ACCESS_TOKEN", "ghcr.io/bitefoundry/outlook:0.3.2" ], "env": { "OUTLOOK_ACCESS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OUTLOOK_ACCESS_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Microsoft Outlook (TUI, CLI & MCP) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Docker (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
docker --version- A version number such as Docker version … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
docker --versionInstall once; it works for everything that needs Docker
Sign up and create a Microsoft Outlook (TUI, CLI & MCP) key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Fill in your key
In the Microsoft Outlook (TUI, CLI & MCP) settings, OUTLOOK_ACCESS_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in Cursor in Agent mode
Try it
Use Microsoft Outlook (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Microsoft Outlook (TUI, CLI & MCP) or shows a Microsoft Outlook (TUI, CLI & MCP) tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
OUTLOOK_TOKEN_FILEPath to a file containing a Microsoft Graph bearer token (read live on demand).
Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Microsoft Outlook (TUI, CLI & MCP) key (create it on the maker’s site) · Install Docker on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Microsoft Outlook (TUI, CLI & MCP) for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "outlook": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OUTLOOK_ACCESS_TOKEN", "ghcr.io/bitefoundry/outlook:0.3.2" ], "env": { "OUTLOOK_ACCESS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OUTLOOK_ACCESS_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Microsoft Outlook (TUI, CLI & MCP) tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install Docker (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
docker --version- A version number such as Docker version … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
docker --versionInstall once; it works for everything that needs Docker
Sign up and create a Microsoft Outlook (TUI, CLI & MCP) key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Fill in your key
In the Microsoft Outlook (TUI, CLI & MCP) settings, OUTLOOK_ACCESS_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in VS Code in Agent mode
Try it
Use Microsoft Outlook (TUI, CLI & MCP) and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Microsoft Outlook (TUI, CLI & MCP) or shows a Microsoft Outlook (TUI, CLI & MCP) tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
OUTLOOK_TOKEN_FILEPath to a file containing a Microsoft Graph bearer token (read live on demand).
Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user outlook --env OUTLOOK_ACCESS_TOKEN=your-value -- docker run -i --rm -e OUTLOOK_ACCESS_TOKEN ghcr.io/bitefoundry/outlook:0.3.2Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"outlook": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OUTLOOK_ACCESS_TOKEN",
"ghcr.io/bitefoundry/outlook:0.3.2"
],
"env": {
"OUTLOOK_ACCESS_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"outlook": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OUTLOOK_ACCESS_TOKEN",
"ghcr.io/bitefoundry/outlook:0.3.2"
],
"env": {
"OUTLOOK_ACCESS_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"outlook": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OUTLOOK_ACCESS_TOKEN",
"ghcr.io/bitefoundry/outlook:0.3.2"
],
"env": {
"OUTLOOK_ACCESS_TOKEN": "your-value"
}
}
}
}Values you fill in
OUTLOOK_ACCESS_TOKENsecret required envMicrosoft Graph delegated bearer token for Microsoft Outlook.OUTLOOK_TOKEN_FILEenvPath to a file containing a Microsoft Graph bearer token (read live on demand).
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
- Registry name
io.github.BiteFoundry/outlook- Downloads per weeki
- Not on npm/PyPI
- Connection
- Runs on your computer
- Latest versioni
- 0.3.2
- Categoryi
- Developer tools
- Published to registryi
- Nov 24, 2026
- Code last changedi
- Nov 25, 2026
- Maker
- BiteFoundry
- Packages
oci: ghcr.io/bitefoundry/outlook:0.3.2- Website
- bitefoundry.dev
- Registry status
- Active
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account BiteFoundry, which owns the repo
- ✓ Pass
Still maintained
Code last changed yesterday
- ✓ Pass
Has a licence
Uses MIT
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
Not checked: only npm and PyPI packages with a version can be checked
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/bitefoundry-outlook)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Developer toolsi
- More stars than 0% of the other 7984 servers in this category
- Published to the registry more recently than 94% of the other 7984 servers in this category
- Basic checks equal to or better than 99% of the other 7984 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Microsoft Outlook (TUI, CLI & MCP) safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: OUTLOOK_ACCESS_TOKEN
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed yesterday, and the latest version (0.3.2) reached the registry 2 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.
What can I use instead?
In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| This one Microsoft Outlook (TUI, CLI & MCP) | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | Yes | No | No |
| Basic checks | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| License | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
outlook
Manage Outlook mail, calendar events, contacts, and Microsoft To Do from the terminal.
BiteFoundry · Latest release notes
Highlights
| Pillar | What You Get |
|---|---|
| Minimal-Chrome TUI | 3-tier responsive ratatui workspace across Mail (1), Calendar (2), and Microsoft To Do (3) with HTML-rendered email preview, inline href toggle (h), Link Extractor (u), quoted-reply folding (z), structured Compose modal (c), zoxide File Picker (Ctrl+F), and Ctrl+K Omni-Switcher. |
| High-Res Terminal Images | Native inline rendering for attached and cid:/https:// email images across Kitty, iTerm2 (`OSC 1337`), Sixel (`DCS q`), and 24-bit Half-Blocks (`▀`) fallback with live zoom (+/-/0) and protocol cycling (p). |
| Local SQLite FTS5 + IPC Daemon | Bundled SQLite WAL + FTS5 cache (cache.db) with incremental delta sync, $batch neighbor hydration, optimistic triage (archive, flag, mark-read, complete), offline search, and cached CLI reads via outlook daemon. |
| 4-in-1 Agent Interface | One static binary (Windows, macOS, Linux GLIBC 2.28 / AlmaLinux 8+) delivers TUI, scriptable CLI (`--json`), Axum HTTP REST API (`outlook serve`, `:3939`), and stdio MCP server (`outlook mcp`, 23 tools). |
Quick Start
# 1. Install the native CLI via npm
npm i -g @bitefoundry/outlook
2. Authenticate with Microsoft Entra ID (or automatically reuse your @bitefoundry/teams M365 session!)
outlook login
3. Launch the interactive TUI
outlook
outlook read MESSAGE_ID --json
Read a message and its attachment metadata. To save a file, use outlook download MESSAGE_ID --attachment ATTACHMENT_ID --dir .. For full detail, add --full in the CLI or pass compact: false to get_message in MCP.
For a company registration, use outlook login --client-id YOUR_CLIENT_ID --tenant-id YOUR_TENANT_ID. Without an override, Outlook uses the Microsoft Graph Command Line Tools client for its own interactive login. Register a desktop app · Outlook delegated permissions
Shared M365 Session & Token Brokers: When
share_m365_auth = true(default),outlookseamlessly reuses or upgrades an existing@bitefoundry/teamssession without a second browser login. Also supports--device-code,OUTLOOK_ACCESS_TOKEN,OUTLOOK_TOKEN_FILE,OUTLOOK_TOKEN_REFRESH_CMD(az account get-access-token), and custom Entra ID apps. Runoutlook whoamioroutlook doctor --onlinefor JWT scope diagnostics.
Corporate TLS proxies:
outlooktrusts the bundled Mozilla roots and the OS trust store. If your network re-signs HTTPS with a private root CA, export it as PEM and setOUTLOOK_EXTRA_CA_PEM(SSL_CERT_FILEandNODE_EXTRA_CA_CERTSalso work).outlook doctorshows which CA files were loaded. Details
Update a global npm install with npm install -g @bitefoundry/outlook@latest. For a standalone binary from GitHub Releases, use outlook update.
Keybindings Cheat Sheet
| Key | Context | Action |
|---|---|---|
1 / 2 / 3 (Alt+1..3) | Global | Switch Mail / Calendar / To Do Tasks tabs |
Ctrl+K | Global | Omni-Switcher / Command Palette (> commands, # folders, @ contacts, / search) |
j / k / ↑ / ↓ | Global | Navigate folders, message list, calendar agenda, tasks, or reading pane |
Tab / Enter / Esc | Global | Cycle pane focus (Folders ↔ List ↔ Reader) or close modal |
c / r / R / f | Compose / Reply / Reply-All / Forward (Markdown + Ctrl+F attach + Ctrl+V image) | |
C / Ctrl+S | Mail / Compose | Start a separate composition / save the current draft to Outlook |
e / g / m / Del | Archive / Flag / Move to folder / Delete (optimistic updates) | |
h / u / z | Mail Reader | Toggle inline href URLs / open Link Extractor / fold quoted reply history |
t / F / U | Toggle Thread grouping / Focused Inbox / Unread filter | |
v / Alt+v / d | Mail Reader | High-res Inline Image Preview / download latest attachment (A for picker) |
n / a / y / x | Calendar | New Event / RSVP Accept (a), Tentative (y), Decline (x) |
Space / n | Tasks | Toggle To Do completion (Space) / create new task or list (n) |
/ / Ctrl+D / Ctrl+B | Global | Search mail (FTS5 + Graph KQL) / toggle Cozy / Compact density / toggle sidebar |
Ctrl+, / ? / Ctrl+Q | Global | Settings / full help overlay / safe quit |
CLI, HTTP API & MCP
CLI Examples
# Mail: inspect inbox, read, reply, and send Markdown with attachments
outlook mail --folder inbox --unread --limit 20 --json outlook read AAMkAGI2... --json outlook read AAMkAGI2... --json --full outlook read AAMkAGI2... --mark-read outlook send --to elena.park@acme.dev --subject "v2.4 Release" \ --body "All canary checks passed. See attached benchmarks." \ --attach ./v24-benchmarks.pdf --importance high
Calendar & To Do: view agenda, schedule Teams meeting, RSVP, and manage tasks
outlook calendar --days 7 outlook create-event --subject "Go / No-Go Review" \ --start "2026-11-20T14:00:00Z" --end "2026-11-20T14:45:00Z" \ --attendee elena.park@acme.dev --online outlook add-task "Promote canary to 100%" --due 2026-11-20 --importance high outlook daemon start
JSON output for mail, read, move, archive, search --remote, calendar, and event is compact by default. Pass --full with --json for full cached fields, HTML bodies, and attachment metadata (content_bytes_b64 is never embedded in CLI/MCP JSON; fetch attachment bytes with outlook download, or outlook download --offline for cached bytes). --compact remains a compatibility alias and conflicts with --full. Paginated JSON listings (mail, search --remote, folders, task-lists) include returned, has_more, and next_cursor; continue with --cursor . Cursors are bound to the originating command, folder, query, and filter, while --limit and --full may change between pages. In mail --json, folder is the canonical folder ID string, and the first online listing of an uncached folder syncs the folder delta: up to 40 delta pages (about 2,000 messages) per call. A larger folder returns the newest messages right away with "sync_complete": false and continues the sync on the following listings (or in the TUI / serve background sync) until it is complete; the key is absent otherwise. In search --remote --json, hits holds local cache matches while remote holds Graph results, so the same message ID can appear in both arrays.
For read, message_id is an exact message ID; subject and ID-prefix resolution apply only to CLI read --offline (online callers should locate IDs with search first). Runtime failures with --json emit a structured JSON error object on stdout ({"ok": false, "error": {"code": ..., "message": ...}}) with exit code 1; exit code 2 indicates a CLI usage/parsing error printed as plain text on stderr. For sync --json (and doctor --online --json), check the ok field in the JSON output to determine overall success.
Use outlook mark for read and flag changes, and outlook move to change folders. MCP update_message supports both. In the TUI, Ctrl+S saves the current composition. Reopening and saving reuses the draft ID. Reply, reply-all, and forward drafts retain their source message relationship and quoted HTML.
outlook edit-draft DRAFT_ID --subject "Revised release notes" --json
outlook edit-draft DRAFT_ID --body 'The final checklist is attached.' --json outlook update-event EVENT_ID --start 2026-11-23T09:00 --end 2026-11-23T09:30 --json outlook update-task TASK_ID --list tasks --due 2026-11-25 --json
Each edit sends the specified fields. A draft subject change preserves the original body and its markup. Use --body-html to supply replacement HTML directly. Calendar edits leave the body, attendees, and recurrence out of the request. To Do edits leave the body and checklist out of the request. Message updates · Event updates · To Do updates
For create-event, RFC3339 times are exact instants and wall-clock times such as "2026-11-23 09:00" are read in the machine's time zone, or in --time-zone when given. --all-day needs YYYY-MM-DD for both --start and --end, with an exclusive end date (--start 2026-11-23 --end 2026-11-24 is one day).
For update-event, calendar wall-clock times such as 2026-11-23T09:00 use the event's original Graph time zone. Use date-only values with all-day events and give the exclusive end date. RFC3339 values such as 2026-11-23T09:00:00+09:00 are sent in UTC for timed events. Non-UTC recurring events require wall-clock times. To Do dates use midnight UTC, and RFC3339 To Do timestamps are converted to UTC. Event time and recurrence
Local HTTP REST API (outlook serve)
Start an Axum JSON server on 127.0.0.1:3939 (with live /openapi.json). Requests need a Bearer key: pass your own with --api-key, or use the random token the server prints to stderr at startup.
outlook serve --port 3939 --api-key "$OUTLOOK_API_KEY"
curl -H "Authorization: Bearer $OUTLOOK_API_KEY" \ "http://127.0.0.1:3939/v1/mail/messages?folder=inbox&unread=true" curl -X POST http://127.0.0.1:3939/v1/mail/send \ -H "Authorization: Bearer $OUTLOOK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"to":["elena.park@acme.dev"],"subject":"Build green","markdown":"All checks passed!"}'
--allow-keyless serves loopback clients without a key. Browser apps are refused unless their origin is passed with --cors-origin; see Security.
Full endpoint & schema docs: [docs/API.md](docs/API.md) · [docs/openapi.yaml](docs/openapi.yaml)
MCP Server (outlook mcp)
Exposes 23 Microsoft Outlook tools over newline-delimited stdio JSON-RPC 2.0, including update_draft, update_event, and update_task.
# Claude Code
claude mcp add outlook -- outlook mcp
// Claude Desktop / Cursor / Windsurf MCP config
{ "mcpServers": { "outlook": { "command": "outlook", "args": ["mcp"] } } }
Full tool schemas & client setups: [docs/MCP.md](docs/MCP.md) · [docs/NPM.md](docs/NPM.md)
@bitefoundry Enterprise Terminal Suite
| Package | Command | Domain | Interfa