outlook
MCP server by rlrghb Community
olk is a scriptable CLI and MCP server for Outlook mail, calendars, contacts, tasks, and OneDrive through Microsoft Graph. It supports personal Outlook.com accounts and Microsoft 365 enterprise accounts.
Install outlook
Built from the published package, never by AI.
claude mcp add outlook -- npx -y olkcliRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"outlook": {
"args": [
"-y",
"olkcli"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"outlook": {
"args": [
"-y",
"olkcli"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"outlook": {
"args": [
"-y",
"olkcli"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add outlook -- npx -y olkcli{
"mcpServers": {
"outlook": {
"args": [
"-y",
"olkcli"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add outlook npx -y olkcliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the outlook block.
About
olk is a command line tool and MCP server for Microsoft Outlook and OneDrive. It covers mail, calendar, contacts, tasks, and files through Microsoft Graph. You can list and search mail, view calendars, search contacts, list task lists, browse OneDrive, and send or draft messages. Output can be JSON, TSV, or aligned tables, which suits scripts. Running `olk mcp` starts it as an MCP server for AI agents.
The project works with personal Outlook.com accounts and enterprise Microsoft 365 accounts. Enterprise features need a separate login flag. The source says MCP exposes curated tools and needs explicit opt-in for mutations. Refresh tokens are stored in the OS keychain, and access tokens stay in memory. It suits people who want to manage Outlook and OneDrive from a terminal or let an AI assistant work with their Microsoft mail and files.
Written from the project's README and checked against it.
What you need
- A personal Outlook.com account or a Microsoft 365 work or school account
- Homebrew, Go, or npm to install the tool
Try asking
- Search my mail for urgent messages from person@example.com
- What is on my calendar for the next 7 days?
- Draft a reply-all to the last message from Alex
Good to know
- Draft commands do not send mail, and immediate sends and forwards do not accept inline images.
- Inline image files must be images and each must be under 3 MB.
- MCP requires explicit opt-in for mutations.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Search and read Outlook mail from the terminal
- Check calendars and contacts from an AI assistant
- Browse and manage OneDrive files
- Script mail and task workflows with JSON output
Alternatives to outlook
All alternatives →Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.
Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.
Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.
Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.
Compare with MR Office, kordoc or Desktop Commander
outlook: common questions
Does olk work with personal Outlook.com accounts?
Yes. The source says olk works with personal Outlook.com accounts and enterprise Microsoft 365 accounts.
How does olk store login tokens?
Refresh tokens are stored in the OS keychain. Access tokens are kept in memory only.
Can an AI agent use olk?
Yes. Running `olk mcp` uses it as an MCP server, and the source says external text can be wrapped with --wrap-untrusted for agent-safe use.
How do I install outlook?
In Claude Code run claude mcp add outlook -- npx -y olkcli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is outlook the official server?
outlook is a community project by rlrghb, not verified by a company domain.
Is outlook free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is outlook safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to outlook?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does outlook work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
