# ask-marcel-office [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/ask-marcel/ask-marcel-office-cli  
**GitHub Stars:** 10  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ask-marcel-office-cli

## Description
The Microsoft 365 command line built for AI agents: one sign-in, 182 read-only commands, every document as clean markdown. Outlook, OneDrive, SharePoint, Teams, Calendar, Excel, OneNote, Planner. MCP server included.

## 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/ask-marcel/ask-marcel-office-cli), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm i -g @ask-marcel/office-auth @ask-marcel/office-read
```

2. Sign in:

```sh
ask-marcel-office-auth login
```

3. Install:

```sh
npm i -g @ask-marcel/office-auth @ask-marcel/office-read @ask-marcel/office-write
```

## Documentation

## What ask-marcel-office does

ask-marcel-office gives tool-calling agents access to Microsoft 365 data through Microsoft Graph. The supported areas include Outlook mail, OneDrive, SharePoint, Teams and chats, calendars, Excel, OneNote, Planner, To Do, and people. Office documents, PDFs, and mail are converted into clean markdown so an agent can inspect their contents.

The project is split into three npm packages. `@ask-marcel/office-auth` handles sign-in and token storage. `@ask-marcel/office-read` provides read access and cannot change the tenant. `@ask-marcel/office-write` adds controlled changes, including mail and calendar drafts, mail state updates, and To Do or Planner task changes.

## How it works

Sign in once in a browser as the Microsoft 365 user who will be used by the agent. The authentication package retains the token cache and supplies tokens to the read and write packages. Access is performed through Microsoft Graph rather than through a separately configured Azure application.

Each package has its own command-line executable and MCP server. The read package is suitable for hosts that must remain read-only. The write package is optional and is needed for tenant changes or PDF conversion. Write operations provide a dry-run and an undo path, and mail or calendar drafts are not sent by the package.

The repository also includes an agent skill that describes how to answer questions from Microsoft 365 data and create an unsent reply draft. It must be copied into the relevant agent skill directory; it is not shipped inside an npm package.

## Setup and configuration

Install Node.js 20 or later, or Bun 1.0 or later, on macOS, Windows, or Linux. For read-only use, install the authentication and read packages globally, then sign in:

```sh
npm i -g @ask-marcel/office-auth @ask-marcel/office-read
ask-marcel-office-auth login
```

To enable writing and PDF conversion, install the write package as well:

```sh
npm i -g @ask-marcel/office-auth @ask-marcel/office-read @ask-marcel/office-write
```

Each package's MCP setup is separate, so register the package server that matches the operations an MCP host should be allowed to perform. The combined `ask-marcel-office-cli` package installs all three packages and their command-line executables but does not add commands of its own.

## Tools and capabilities

- Read mail, calendar entries, OneDrive and SharePoint content, Teams conversations, chats, users, Excel workbooks, OneNote, To Do, and Planner data.
- Convert supported office files, PDF files, and mail into markdown for agent processing.
- Create mail and calendar drafts without sending them.
- Change mail state and manage To Do or Planner tasks through the write package.
- Convert mail, group posts, and calendar attachments to PDF through a temporary OneDrive file.
- Use dry-run and undo support for write changes.

## Limitations and notes

The read package is intentionally unable to change the Microsoft 365 tenant. Writing requires the separate write package, and PDF conversion also depends on that package. Draft creation does not send the resulting message or calendar item.

The former single `ask-marcel-office` executable is no longer the command to use after the package split. Authentication commands belong to `ask-marcel-office-auth`, read commands belong to `ask-marcel-office-read`, and write or PDF-conversion commands belong to `ask-marcel-office-write`.

The project is licensed under MIT. Its published packages require Node.js 20 or newer, or Bun 1.0 or newer.

_Full upstream README: https://allmcps.com/mcp/ask-marcel-office-cli/readme_

