# outlook [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/rlrghb/olkcli  
**GitHub Stars:** 25  
**Views:** 10  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/outlook-2

## Description
Microsoft Outlook & OneDrive: curated read-first mail, calendar, contacts & file tools for agents

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/rlrghb/olkcli), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install rlrghb/tap/olk
```

2. Install:

```sh
go install github.com/rlrghb/olkcli/cmd/olk@latest
```

3. Install:

```sh
npm install -g olkcli
```

4. Sign in:

```sh
olk auth login
```

## Documentation

## What outlook does

outlook provides a command-line interface and MCP server for Microsoft Outlook and OneDrive. It connects to Microsoft Graph and gives scripts or agents access to mail, calendars, contacts, task lists, and files. The same installation supports interactive terminal commands, JSON-oriented automation, and MCP-based agent workflows.

The server is designed around read-first access. Agents can inspect messages, search mail, view upcoming calendar items, find contacts, list task lists, browse OneDrive, and synchronize changes. Actions that alter data, such as sending mail or creating drafts, require explicit mutation opt-in when exposed through MCP.

## How it works

Install the `olk` command with Homebrew, Go, or npm, then authenticate with `olk auth login`. Enterprise work or school accounts use `olk auth login --enterprise`. `olk auth status` and `olk whoami` show the signed-in account. Start the MCP interface with `olk mcp`.

CLI output can be returned as JSON, TSV, or aligned tables. JSON combined with `--results-only`, `--select`, and tools such as `jq` supports scripts that need predictable fields. `--concise` can reduce large bodies and previews. Command results go to standard output, while diagnostics and prompts use standard error.

Refresh tokens are stored in the operating system keychain, and access tokens remain in memory. macOS users may be prompted to allow Keychain access after an upgrade.

## Setup and configuration

Install one of the following:

- `brew install rlrghb/tap/olk`
- `go install github.com/rlrghb/olkcli/cmd/olk@latest`
- `npm install -g olkcli`

After installation, run `olk auth login`, check the account with `olk auth status`, and launch `olk mcp` when connecting an MCP client. Use the enterprise login option for work or school accounts and enterprise-only features. No environment variables are required by the documented setup.

## Tools and capabilities

- List, search, inspect, send, and draft Outlook mail.
- Create reply or reply-all drafts, including HTML drafts with inline images.
- View calendar entries over a selected number of days.
- Search and list contacts.
- List to-do lists and work with task data.
- Browse OneDrive files and directories.
- Retrieve synchronized changes with `olk changes`.
- Limit returned fields and choose JSON, TSV, or table output.

HTML drafts can reference local images with `cid:` URLs and repeatable `--inline CID=PATH` arguments. Each inline file must be an image under 3 MB, and every content ID must be unique within the HTML. Inline images apply to new drafts and threaded reply or reply-all drafts; immediate sends and forwards do not accept them.

## Limitations and notes

Use `--no-write --no-send --no-input` for unattended read-only CLI runs. MCP mutations are not enabled implicitly and require explicit opt-in. Mail, calendar, contact, and file text can be wrapped with `--wrap-untrusted` for safer agent consumption.

The service depends on Microsoft Graph access and the permissions of the authenticated account. Personal Outlook.com accounts and enterprise Microsoft 365 accounts are supported, with enterprise login required for work or school scenarios. Review the security and privacy guidance before connecting an agent or sharing logs.

_Full upstream README: https://allmcps.com/mcp/outlook-2/readme_

