Skip to content

Connect Claude Code to Microsoft Outlook

Connect Claude Code to Microsoft Outlook: 1. Connect Microsoft Outlook in ApexGenius. 2. Add the ApexGenius MCP server. 3. Ask Claude Code.

1,000 free credits · No card required

How to connect Microsoft Outlook to Claude Code

  1. 1Sign in to ApexGenius and connect Microsoft Outlook
  2. 2Add the ApexGenius MCP server to Claude Code
  3. 3Start using Microsoft Outlook in Claude Code
  1. 1ApexGenius

    Connect ApexGenius to Claude Code

    Copy the MCP address

    On Start, pick API key, open Manual setup, and copy the MCP address.

  2. 2ApexGenius

     

    Approve access

    ApexGenius opens its approval page. Review the access, then approve.

Add the ApexGenius MCP server to Claude Code

Claude Code stores MCP servers in ~/.claude.json. With --scope user the server is available in every project. Without it, only in the project where you ran the command.

  1. Run the command. Claude Code prints an Added line.
  2. Start Claude Code, run /mcp, choose apexgenius and follow the sign-in in your browser. From a shell, claude mcp login apexgenius does the same.
  3. Approve access on the ApexGenius page.
Run in your terminal
claude mcp add --transport http --scope user apexgenius https://server.autom8.pro/mcp

Check it. Run claude mcp list. Each server shows a status, such as Connected or Needs authentication. claude mcp get apexgenius shows the detail.

Steps follow Claude Code documentation, Connect Claude Code to tools via MCP (opens in a new tab), read November 12, 2026.

Then ask Claude Code

Show the subjects and senders of my five most recent Outlook messages. Do not send anything.

Start free
Written setup, step by stepShow

Before you start

  • An account with permission to use the Microsoft Outlook resources you intend to connect.

1. Connect Microsoft Outlook to ApexGenius

  1. Open Microsoft Outlook in Connections. Choose Connect, or Add connection when offered. Give the connection a name if prompted. If Gateway setup pending appears, contact ApexGenius support before continuing.
  2. Choose the account and review access. Sign in with your Microsoft work, school or personal account and review the access Microsoft lists: read your mail, send mail as you, and stay signed in. No API key is pasted into ApexGenius. If Microsoft says an admin must approve, ask your Microsoft 365 admin.
  3. Review the connected account and resources. Confirm the connected mailbox on the connection page. Open Tools to review the reads and the send tool. Sending runs right away when enabled and cannot be recalled.
  4. Check the connection. Use Test connection or Check again and read the reported status. Add an AI agent from the AI agents page, choose Read only for the first test, and try the question below.
Connect Microsoft Outlook →

2. Connect ApexGenius to Claude Code

Use this server address when adding the connection:

https://server.autom8.pro/mcp

The steps are above, under Add the ApexGenius MCP server to Claude Code. These notes apply to Claude Code only.

  • Over SSH or without a browser. claude mcp login apexgenius prints the authorization URL when it finds no local browser. Open it on your own machine, then paste the full redirect URL from the address bar back at the prompt. Add --no-browser to force that.
  • Headless runs. A claude -p run has no /mcp panel and cannot run the sign-in. Sign in once from an interactive session, or with claude mcp login, first.
  • Signing out. Clear authentication in the /mcp menu, or claude mcp logout apexgenius, removes the stored sign-in.
  • Access. When ApexGenius asks what Claude Code may use, choose Read only for the first test, or Custom to limit it to the tools you need.
A generated anonymous terminal illustration showing a setup command, ApexGenius added, browser authorization, and ready to use.
Generated terminal example. Use the exact copy button on this page; the image only shows what kind of screen to expect.Open full-size image (opens in a new tab)

3. Try your first question

Show the subjects and senders of my five most recent Outlook messages. Do not send anything.

Show the subjects and senders of my five most recent Outlook messages. Do not send anything.

Check that the answer matches what you see in Microsoft Outlook.

Full guide: the Microsoft Outlook setup guide.

What it looks like in Claude Code

Example workflow
Claude Code
Claude CodeApexGenius MCP route
Show the subjects and senders of my five most recent Outlook messages. Do not send anything.
ApexGenius
Working with ApexGenius1 tool search · 2 reads
RequestRecent mail
Account scopeAuthorized connections checked
apex_search_toolsOutlook messages · Find the Outlook read routeComplete
apex_call_read_toolget_me · Check the connected mailboxComplete
apex_call_read_toollist_messages · List recent messagesComplete
Claude Code

Five messages from today, two from clients and three newsletters. Nothing was sent.

Read-only route
Claude Code

What to ask Claude Code about Microsoft Outlook

  • Recent mail

    Show the subjects and senders of my five most recent Outlook messages. Do not send anything.

    Runs get_me (read), then list_messages (read).

  • Unread today

    What unread mail did I get today, and who is it from? Do not send anything.

    Runs get_me (read), then list_folder_messages (read), then get_message (read).

  • Folder check

    List my Outlook mail folders with their unread counts. Do not send anything.

    Runs get_me (read), then list_mail_folders (read).

These 3 questions use 5 of Microsoft Outlook’s 6 operations. The full list is below.

  • Find the latest Outlook message that mentions an invoice and tell me the amount and due date. Do not send anything. (read)
  • Send a new email from my Outlook mailbox to the address I give you. Show me the recipients, subject and text first, and send only after I say yes. (write)

What Claude Code can do in Microsoft Outlook

6 operations: 5 read, 1 write. Read looks things up and changes nothing. Writes change Microsoft Outlook and run only when you turn them on.

Mailbox

1 read
  • get_meread

Messages

2 read
  • list_messagesread
  • get_messageread

Mail folders

2 read
  • list_mail_foldersread
  • list_folder_messagesread

Send

1 write
  • send_mailwrite

You choose the access. When you approve Claude Code, pick Full access, Read only, or Custom.

One connection is one Microsoft mailbox: the one you signed in to. Shared mailboxes and other people's mail are not included.

Mail only. There is no operation for drafts, replies, forwarding, attachments, or moving or deleting mail. Calendar is a separate connector, Outlook Calendar.

The read route runs only reads. Sending uses the write route.

Writes run immediately. Blocked hides a tool from agents.

A sent message cannot be recalled. Microsoft confirms it accepted the message, which is not proof of delivery.

Start free

Questions about connecting Claude Code to Microsoft Outlook

Updated November 16, 2026.

How do I connect Claude Code to Outlook?

Connect Claude Code to Outlook through ApexGenius in three steps. Sign in to ApexGenius and connect Microsoft Outlook by signing in with the Microsoft account that owns your mailbox. In Claude Code, run claude mcp add --transport http --scope user apexgenius https://server.autom8.pro/mcp, then run /mcp and sign in. Then open a task in Claude Code and ask a question about your mail. Start with a read, so nothing is sent.

How do I check that Claude Code can use Microsoft Outlook?

Run claude mcp list in your terminal. apexgenius should show Connected. If it shows Needs authentication, run /mcp inside Claude Code, or claude mcp login apexgenius in your shell, and finish the browser sign-in. Then ask: “Show the subjects and senders of my five most recent Outlook messages. Do not send anything.”

Is there an Outlook MCP server for Claude Code?

Yes. ApexGenius is an MCP server that Claude Code connects to once. It carries your Outlook connection and 6 Outlook operations, so Claude Code does not need a separate Outlook integration or plugin. You set it up one time and add each agent the same way.

What can Claude Code do in Outlook once it is connected?

Claude Code can run 6 Outlook operations through ApexGenius: 5 reads that check the signed-in account, list and read messages, and list mail folders and the messages in one folder, plus a send operation that sends a new message as you.

Can Claude Code read my Outlook inbox?

Yes, the one mailbox you connect. The connection reads only the mailbox of the Microsoft account you signed in with, and message bodies come back as plain text. Choose Read only and Claude Code can list and read mail and folders, and nothing else.

Can Claude Code send email from my Outlook?

Not until you allow writes. Choose Read only and it cannot send. With writes on, Claude Code can send a new message as you, and a sent message cannot be recalled. It cannot reply, forward, save drafts, add attachments or delete mail. Block the send tool to stop sending.

Can I use the same Outlook connection with Claude, ChatGPT, Grok Bot or Muse?

Yes. One Outlook connection in ApexGenius works with every compatible agent you add, including Claude, ChatGPT, Grok Bot or Muse. Each agent gets its own access choice and its own short setup, so you can pick read only for one agent and more for another.

Connect Microsoft Outlook to Claude Code today

Start free

1,000 free credits. No card required. Disconnect any time.