MM

m0nkmaster/msteams-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

36 stars 26 forks 品質 83 トレンド 21MIT

マイクロソフトのチームMCP フロー内の標準ユーザサインを使用してサーバー.

概要

標準的なチームログインで、Microsoft Teams に簡単にアクセスできるようにします。 メッセージとメールを検索し、未読のチャットをキャッチし、スレッドを読み込み、返信を送信します。 - - - 検索、未読のチャット、スレッド、返信、人々、チャンネル、会議、トランスクリプト、ファイル、反応、および教育テナントの割り当て。 - - トークンは自動的に更新され、ブラウザは定期的な操作から離れます。 - - - アシスタントは、ローカルに保存された暗号化されたセッションデータを使用して、既存のチーム権限のみを持っています。 - - MCP クライアントと含まれている msteams CLI の両方ですべての機能が機能します。 - Node.js 18 + - チームアクセスを備えたMicrosoftアカウント - Google Chrome、Microsoft Edge、またはChromeブラウザをインストール MCP クライアント構成 (例、Claude デスクトップ、Windsurf、Cursor) に追加します。 です。 npxは最新バージョンをダウンロードして実行します。 アシスタントにTeam loginを一度呼び、ブラウザで通常のMicrosoftサインインを完了し、チームを使用して起動します.

概要(AI 翻訳)

標準的なチームログインで、Microsoft Teams に簡単にアクセスできるようにします。

Azure のセットアップ、アプリの登録、グラフの権限または IT サポートは必要ありません。

メッセージとメールを検索し、未読のチャットをキャッチし、スレッドを読み込み、返信を送信します。

#msteams-mcpの理由

  • 実際の作業 - 検索、未読のチャット、スレッド、返信、人々、チャネル、会議、トランスクリプト、ファイル、反応、および教育テナントの割り当て。
  • 一度にサインイン - トークンは自動的に更新され、ブラウザは日常的な操作から離れます。 -Secure - アシスタントは、ローカルに保存された暗号化されたセッションデータを使用して、既存のチーム権限のみを持っています。
  • どこでもそれを使用して - MCPクライアントと含まれている[[[T0] CLIの両方を介してすべての機能が動作します。

クイックスタート

前提条件

  • Node.js 20 +
  • チームアクセスによるMicrosoftアカウント
  • Google Chrome、マイクロソフトエッジ、またはクロムブラウザがインストールされている

##MCP クライアントの設定

MCP クライアント構成 (例、Claude デスクトップ、Windsurf、Cursor) に追加します。

です。 [npx]] 最新バージョンをダウンロードして実行します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Microsoft Teams MCP Server & CLI

Give AI access to Microsoft Teams easily with your standard Teams login.

No Azure setup, app registration, Graph permissions or IT support required.

Search messages and email, catch up on unread chats, read threads, send replies, retrieve meeting transcripts and more.

Why msteams-mcp?

  • Do real work - search, unread chats, threads, replies, people, channels, meetings, transcripts, files, reactions, and assignments on education tenants.
  • Sign in once - tokens refresh automatically and the browser stays out of routine operations.
  • Secure - the assistant has only your existing Teams permissions, with encrypted session data stored locally.
  • Use it anywhere - every capability works through both MCP clients and the included msteams CLI.

Quick start

Prerequisites

  • Node.js 20+
  • A Microsoft account with Teams access
  • Google Chrome, Microsoft Edge, or Chromium browser installed

Configure your MCP client

Add to your MCP client configuration (e.g., Claude Desktop, Windsurf, Cursor):

{
  "mcpServers": {
    "teams": {
      "command": "npx",
      "args": ["-y", "msteams-mcp@latest"]
    }
  }
}

That is it. npx downloads and runs the latest version. Ask your assistant to call teams_login once, complete the normal Microsoft sign-in in the browser, and then start using Teams.

How it works

This server calls Microsoft’s Teams services directly (Substrate, chatsvc, CSA), using the authenticated session created by the Teams web app.

  1. teams_login opens a browser for your normal Microsoft sign-in.
  2. The resulting OAuth tokens and session data are encrypted and cached locally.
  3. Routine operations use those tokens directly, without browser automation.
  4. Expiring tokens are refreshed automatically over HTTP, with headless browser SSO as a fallback.

Your access remains limited to what your Teams account can already see and do.

From Source (alternative)

If you prefer to run from a local clone:

git clone https://github.com/m0nkmaster/msteams-mcp.git
cd msteams-mcp
npm install && npm run build

Then configure your MCP client:

{
  "mcpServers": {
    "teams": {
      "command": "node",
      "args": ["/path/to/msteams-mcp/dist/index.js"]
    }
  }
}

The server uses your system’s Chrome (macOS/Linux) or Edge (Windows) for authentication.

GitHub で README 全文を見る

インストール

npx -y msteams-mcp@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "teams": { "command": "npx", "args": ["-y", "msteams-mcp@latest"] } } }