Microsoft Outlook MCP, CLI, and Lua Integration for AI Agents
Microsoft Outlook integration docs for AI agents: MCP gateway setup, Microsoft Outlook CLI commands, Lua API reference, credentials, and function schemas.
7 functions 5 read 2 write Manual OAuth token auth
Microsoft Outlook for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
microsoft-outlook- route_slug
microsoft-outlook- package
microsoft-outlook- auth_strategy
oauth2_manual_tokenManual OAuth token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Microsoft Outlook CLIHeadless setup and direct function calls. Microsoft Outlook MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Microsoft Outlook MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Microsoft Outlook.
Claude Code Microsoft Outlook MCP setup for Claude Code. Cursor Microsoft Outlook MCP setup for Cursor. Codex Microsoft Outlook MCP setup for Codex. OpenAI Agents Microsoft Outlook MCP setup for OpenAI Agents SDK. Claude Agent SDK Microsoft Outlook MCP setup for Claude Agent SDK. Vercel AI SDK Microsoft Outlook MCP setup for Vercel AI SDK. LangChain Microsoft Outlook MCP setup for LangChain. LangGraph Microsoft Outlook MCP setup for LangGraph. CrewAI Microsoft Outlook MCP setup for CrewAI. MCP clients Microsoft Outlook MCP setup for Generic MCP Clients.
Microsoft Outlook CLI Matrix
Use these pages for direct Microsoft Outlook CLI workflows in scripts, CI, cron, and agent wrappers.
CI Microsoft Outlook CLI for CI. Cron Jobs Microsoft Outlook CLI for cron jobs. Shell Scripts Microsoft Outlook CLI for shell scripts. Headless Automation Microsoft Outlook CLI for headless automation. Coding Agents Microsoft Outlook CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
microsoft-outlook.outlook_list_messages | Read read | 5 | List email messages in the signed-in user's Outlook mailbox. Supports filtering by subject, sender, date range, and read status. Returns a paginated list of messages with subject, sender, date, and preview. |
microsoft-outlook.outlook_get_message | Read read | 2 | Retrieve a single email message by its id. Returns the full message including body, sender, recipients, subject, and attachments metadata. |
microsoft-outlook.outlook_send_message | Write write | 7 | Send an email message via Outlook. Specify recipients, subject, and body. Supports HTML and plain-text bodies, CC, BCC, and reply-to addresses. |
microsoft-outlook.outlook_list_calendars | Read read | 2 | List all calendars in the signed-in user's Outlook mailbox. Returns calendar names, ids, and default calendar indicator. |
microsoft-outlook.outlook_list_events | Read read | 6 | List upcoming calendar events from the default Outlook calendar. Supports filtering by date range, subject, and more via OData query parameters. |
microsoft-outlook.outlook_create_event | Write write | 9 | Create a new event on the default Outlook calendar. Specify subject, start/end time, body, and optionally attendees and location. |
microsoft-outlook.outlook_get_current_user | Read read | 1 | Get the signed-in user's profile information including display name, email address, and job title. Useful for identifying which account is connected. |