Ask Marcel Office README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Ask Marcel Office listing page.

ask-marcel-office

The Microsoft 365 command line built for AI agents

One sign-in. No Azure app registration. Every document as clean markdown.

Outlook · OneDrive · SharePoint · Calendar · Excel · Teams · Planner · To Do · OneNote · People

Packages · Install · Agent skill · Develop


ask-marcel-office gives a tool-calling agent (Claude Code, Cursor, Cline, an MCP host or your own loop) access to your Microsoft 365 data through Microsoft Graph. You sign in one time, in a browser, as yourself. You do not need an Azure app registration, the consent of a tenant admin or a client secret. Office files, PDF files and mail become clean markdown, so the agent can read them.

The project is three npm packages. Each package has its own bin, its own MCP server, its own library and its own docs.

The three packages

PackageBinWhat it doesDo you need it?Docs
@ask-marcel/office-authask-marcel-office-authSigns you in, keeps the token cache and gives the tokens to the other two packages.YesREADME · USAGE · COMMANDS
@ask-marcel/office-readask-marcel-office-readReads mail, calendar, OneDrive and SharePoint, Teams and chats, users, Excel, OneNote, To Do and Planner. Converts files and mail to markdown. It cannot change your tenant.YesREADME · USAGE · COMMANDS
@ask-marcel/office-writeask-marcel-office-writeWrites mail drafts and calendar drafts and never sends them. Changes the state of mail, and the tasks of To Do and Planner. Each change has a dry-run and an undo. Converts mail, group post and calendar attachments to PDF through a temporary OneDrive file.Only to change your tenant or to convert to PDFREADME · USAGE · COMMANDS

Start with the read package README. It shows what an agent can do with your Microsoft 365 data.

A fourth package, ask-marcel-office-cli 3.0.0, installs the three packages and their three bins in one step. It holds no command of its own (README). Install the packages one by one for a host that must never write.

Install

To read only, install auth and read, then sign in:

Terminal
npm i -g @ask-marcel/office-auth @ask-marcel/office-read
ask-marcel-office-auth login
ask-marcel-office-read my-quick-context

To also write (drafts, mail state, To Do, Planner) and convert attachments to PDF, install the three packages:

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

The packages need Node 20 or later, or Bun 1.0 or later, on macOS, Windows or Linux. Each package README shows how to register its MCP server.

If you used 2.8.0

The bin ask-marcel-office is gone. A script or a skill that calls it must call the bin of the package that owns the command:

Command of 2.8.0Bin to call now
login, logout, scopes-check (now status)ask-marcel-office-auth
The mail draft commands and the *-to-pdf conversionsask-marcel-office-write
All the other commandsask-marcel-office-read

scopes-check and update are gone. The changelog of the facade gives the full list of changes. The write bin also has commands that 2.8.0 did not have: the write package README lists them.

The agent skill

The skills/ folder holds an agent skill: it tells an agent how to answer a question from your Microsoft 365 data, and how to write a reply as an unsent draft. No package ships it. To use it, copy skills/ to ~/.claude/skills/ask-marcel/, or to the skill folder of your agent.

Develop

License

MIT © Vincent Delacourt