Skip to content

How to Read Microsoft Teams in Cursor on Mac — With Your Microsoft 365 Account

In short: Read and send Microsoft Teams chats and channels from Cursor, Claude Desktop, VS Code, or any MCP client on Mac. LMCP uses the work or school Microsoft 365 account you connect, through Microsoft Graph — no Azure app of your own and no API key. Reading channel messages can need your administrator's approval.

L
LMCP··5 min read

Average 4.7 out of 5 · Ratings: 73See all reviews →

  • “Me ayuda para todas mis tareas diarias”

    Alejo M.
  • “helps me out so much with daily tasks”

    LMCP user
  • “ansolutely amazing! love pairing it with my AI and watching my productivity increase literally tenforld.”

    Andrew S.

The Problem

You are deep in a coding session when someone mentions on Teams that the API endpoint schema changed. Or a teammate posted the new database credentials in a channel three hours ago. Normally, you would have to switch to Teams, scroll through conversations, find the relevant message, copy the information, and switch back to your editor.

Microsoft Teams can be reached programmatically through Microsoft Graph, which normally means registering your own Azure app, configuring permissions and handling token refresh. For a developer who just wants to read a message while coding, that is a lot of ceremony.

How LMCP Solves It

LMCP reads and sends Teams messages through Microsoft Graph, using the work or school Microsoft 365 account you connect once. LMCP makes the Graph calls for you, so:

  • You register no Azure app of your own
  • You create no API key
  • You sign in once, with a code your AI shows you
  • The Teams desktop app does not need to be installed or running
  • A network connection is required
  • Personal Microsoft accounts (@outlook.com, @hotmail.com) do not have Teams, so a work or school account is required

Once your account is connected, you can ask your AI assistant things like:

Prompt — paste into your AI

Summarize unread messages in my Teams channels about the API migration

Your AI reads the messages through LMCP and gives you a summary right in your editor. No context switching, no copy-pasting.

How It Works

Every Teams tool calls Microsoft Graph with your connected account. Without a connected account, the Teams tools return no data.

Reads cover recent activity: the most recent chats and the newest messages, within a bound. When an answer is cut, it says truncated: true, so it is not your full history. Search uses Microsoft Search and returns snippets in relevance order, at most 100 results. Call history lists the calls and meetings that ended in your 50 most recent chats; Microsoft does not say who started a call or whether it was answered.

Reading channel messages needs a permission that an administrator of your Microsoft 365 organization approves. Without it, the answer is consent_required and tells you what to do.

Sending takes two steps: the first call shows a preview of the chat message or channel post, and a second call with confirm=true sends it. Messages cannot be edited or deleted through LMCP.

Step 1: Install LMCP on Your Mac

Download LMCP and install it:

  1. Open the downloaded LMCP-Installer.dmg from your Downloads folder
  2. Open LMCP Installer — it installs LMCP to Applications for you (no dragging)
  3. Open LMCP from your Applications folder — it appears in your menu bar

Takes about 30 seconds. Your AI clients are configured automatically.

Step 2: Restart Your AI Client

After installing, restart your AI client so it picks up the new MCP tools:

  • Cursor — restart the editor
  • Claude Desktop — quit completely (Cmd+Q) and reopen
  • VS Code — reload the window (Cmd+Shift+P → “Reload Window”)
  • ChatGPT / Devin Desktop (formerly Windsurf) — restart the application

Step 3: Connect Your Microsoft 365 Account

Ask your AI assistant: “Connect my Microsoft 365 account.” It runs connect_m365_account and shows you a code. Sign in with that code using your work or school Microsoft 365 account. You do this once; you can connect several accounts.

The Teams desktop app does not need to be installed or running, and with a connected account LMCP needs no Full Disk Access for Teams. A network connection is required.

If no Microsoft 365 account is connected at all, the Teams read tools on a Mac fall back to the local cache of the Teams desktop app. This needs Full Disk Access for LMCP, can be hours or days behind, and is read-only; sending still needs a connected account.

Step 4: Query Teams from Your AI

Open your AI client and try prompts like these:

  • “List my recent Teams chats” — see your 1:1 and group conversations.
  • “What did the backend team post in the #deployments channel today?” — search specific channels.
  • “Summarize unread messages in my Teams channels about the API migration” — get a focused summary.
  • “Find the message where Sarah shared the new staging URL” — search across all conversations.

What Teams Data Is Available?

LMCP exposes these Teams tools to your AI assistant:

  • List chats — your recent 1:1 and group chats (teams_list_chats)
  • Read chat messages — the newest messages of a chat (teams_read_chat_messages)
  • List teams — the teams you belong to (teams_list_teams)
  • List channels — the channels of a team (teams_list_channels)
  • Read channel messages — posts and replies from a channel; can need administrator approval (teams_read_channel_messages)
  • Search messages — Microsoft Search across your Teams messages (teams_search_messages)
  • Call history — calls and meetings from your recent chats (teams_call_history)
  • Send messages — chat messages and channel posts, preview first, then confirmation (teams_send_message, teams_send_channel_message)

Reads cover recent activity, not your full Teams history.

If Cursor or another selected AI client uses a cloud AI provider, that provider can receive and process the Teams message content requested for the task under its own terms.

Developer Workflows

Code review context

Prompt — paste into your AI

Check my Teams messages for any discussion about the payment service refactor, then look at the open PR in this repo and summarize both together.

Your AI pulls context from Teams and your codebase simultaneously, giving you the full picture before you start reviewing.

Incident response

Prompt — paste into your AI

Read the latest messages in the #incidents channel on Teams and check the error logs in this project. What is likely causing the 500 errors?

During an incident, having Teams context right in your editor saves critical minutes.

Frequently Asked Questions

How do I connect my Microsoft account to read Teams in Cursor?

Install LMCP and restart Cursor, then ask your AI to connect your Microsoft 365 account. It runs connect_m365_account and shows a code; sign in with it using a work or school account. You do this once.

Can Cursor send a Teams message for me?

Yes, with the same connected account. LMCP can send chat messages and channel posts. The first call shows a preview, and a second call with confirm=true sends the message. Editing or deleting messages is not available.

Does reading Teams need administrator approval?

Only reading channel messages can. It needs a permission that an administrator of your Microsoft 365 organization approves; without it, the answer says consent_required and explains what to do. What else your organization restricts depends on its own settings.

Which Microsoft accounts work?

Work or school Microsoft 365 accounts. Personal Microsoft accounts (@outlook.com, @hotmail.com) do not have Teams, so they cannot be used to read Teams. You can connect several accounts.

Does the Teams desktop app need to be running?

No. The Teams desktop app does not need to be installed or running. LMCP reads through Microsoft Graph, so a network connection is required. Without a connected account the Teams tools return no data.

Works With All Major AI Clients

While this guide focuses on Cursor, LMCP works with any MCP-compatible client. You can also access Teams from Claude Desktop, VS Code with Copilot, Devin Desktop, ChatGPT, Zed, and others. The installation command is the same for all of them.

What Else Can LMCP Do?

Teams is just one of the apps LMCP connects to your AI assistant. You can also access Mail and email, Calendar without OAuth, Contacts, OneDrive, Outlook, and more. Check the full list of guides for all available integrations.

Related Guides

LMCP as a plugin or a connector, by AI client

LMCP is one MCP server, and each AI client has its own word and install path for it. Install the LMCP app first: its tools run on your computer.

The LMCP plugin for Cursor

The plugin (the MCP server, a rule and skills) is the public repository below. The shortest path skips that step: the LMCP installer adds LMCP to Cursor, and you enable local-mcp in Cursor’s MCP settings.

colibird-ai/local-mcp-releases

Comments

Questions and experiences welcome — comments are reviewed before they appear.