Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the Microsoft Teams in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Drive Microsoft Teams (chat + collaboration) via the Graph API: teams, channels, messages, members. 9 tools, OAuth2 Bearer auth (Microsoft Graph).
こう聞いてみよう
Microsoft Teams のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Microsoft Teams をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Microsoft Teams + Gemini
Drive Microsoft Teams (chat + collaboration) via the Graph API: teams, channels, messages, members. 9 tools, OAuth2 Bearer auth (Microsoft Graph).
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
MICROSOFT_GRAPH_ACCESS_TOKEN
ステップ 1 — 認証情報を取得
0 — Teams endpoints (learn.microsoft.com/en-us/graph/api/resources/teams-api-overview).
Setup:
- Register an Azure AD app at https://portal.azure.com → App registrations.
- API permissions → Microsoft Graph → Delegated (or Application) → add:
Team.ReadBasic.All,Channel.ReadBasic.All,ChannelMessage.Send,ChannelMessage.Read.All(write needs admin consent). - Run OAuth2 to get an access token. Set
MICROSOFT_GRAPH_ACCESS_TOKEN(shared with Microsoft Bookings adapter).
Authentication: Authorization: Bearer ${MICROSOFT_GRAPH_ACCESS_TOKEN}.
Teams hierarchy: Team → Channel → Message (+ replies). Each Team is also a Microsoft 365 Group.
…(continued in the in-app connector instructions)
ステップ 2 — アダプターをインストール
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
ステップ 3 — Gemini にコネクタを追加
Gemini CLI は ~/.gemini/settings.json (Windows は %APPDATA%\gemini\settings.json) から MCP サーバを読み込みます。追加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の Profile → MCP API Keys → New Key で MCP API key を取得。
- ファイルを保存し
geminiを再起動。 - Gemini CLI で
/mcpを実行 —Microsoft Teamsが利用可能として表示されます。 - Vertex AI Studio: 同じ Bearer ヘッダーで
https://cloud.anythingmcp.com/mcpをリクエストのtools配列に渡してください。
利用可能なツール
| Tool | What it does |
|---|---|
microsoft_teams_list_joined_teams | List teams the authenticated user is a member of (for delegated auth) — returns id, displayName, description, internalId |
microsoft_teams_get_team | Get a team by ID |
microsoft_teams_list_channels | List channels in a team |
microsoft_teams_get_channel | Get a channel by ID |
microsoft_teams_list_channel_messages | List recent messages in a channel |
microsoft_teams_send_channel_message | Send a message to a channel |
microsoft_teams_reply_to_message | Post a reply in a thread on a channel message |
microsoft_teams_list_channel_members | List members of a channel |
microsoft_teams_list_team_members | List members of a team |
FAQ
Gemini 1.5 Pro / 2.x は MCP をサポートしますか? はい — Gemini CLI ≥ 0.4 と Vertex AI tools API は Bearer ヘッダー付きの httpUrl MCP コネクタを受け入れます。
次のステップ
このガイドは役に立ちましたか?