Microsoft Teams MCP Server
microsoft-teams-mcp MCP サーバー
Microsoft Teams チャット通知用のツールを備えた MCP サーバー。
[!警告]
これは参考のために提供されており、VS Code 以外の MCP クライアントではテストされていません。
コンポーネント
ツール
サーバーは 1 つのツールを実装します。
send-notification: Microsoft Teamsに通知メッセージを送信します
必須の文字列引数として「message」と「project」を取ります
メッセージのMarkdownフォーマットをサポート
Azure AD 認証を使用して、Teams と安全に通信します
Related MCP server: Toast MCP Server
構成
通知にはMicrosoft Teamsボットが必要です。Teams Toolkitで作成したサンプル通知ボットをご利用ください。
サーバーでは次の環境変数を設定する必要があります。
BOT_ENDPOINT: Microsoft Teams ボットの URL エンドポイントMICROSOFT_APP_ID: Azure AD アプリ登録からのアプリケーション (クライアント) IDMICROSOFT_APP_PASSWORD: Azure AD アプリ登録からのクライアント シークレットMICROSOFT_APP_TENANT_ID: Azure AD テナント IDEMAIL: 通知を受信するユーザーのメールアドレス
これらは、プロジェクトのルート ディレクトリにある.envファイルで設定できます。
クイックスタート
インストール
VSコード
これは、VS Code の MCP サポートを使用してテストされました。これは、作成時点では VS Code Insiders でのみ利用可能でした。
これをVS Code Insiders設定(JSON)に追加します
"mcp": {
"inputs": [],
"servers": {
"MicrosoftTeams": {
"command": "uv",
"args": [
"--directory",
"<path/to/the/project>/microsoft-teams-mcp",
"run",
"microsoft-teams-mcp"
],
"env": {
"BOT_ENDPOINT": "<endpoint or dev tunnel URL of Teams bot>/api/notification",
"MICROSOFT_APP_ID": "<microsoft-entra-client-id>",
"MICROSOFT_APP_PASSWORD": "<microsoft-entra-client-secret>",
"MICROSOFT_APP_TENANT_ID": "<microsoft-entra-tenant-id>",
"EMAIL": "<your-email-in-teams>",
}
}
}
}発達
建物
配布用のパッケージを準備するには:
依存関係を同期し、ロックファイルを更新します。
uv syncパッケージディストリビューションをビルドします。
uv buildAvailable Tools
1 toolsend-notificationC
Send a notification message to the user. Supports markdown formatting for messages. Use backticks for code blocks and inline code. Use square brackets for placeholders.
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| project | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions markdown formatting support, which adds some behavioral context about message handling. However, it lacks details on delivery mechanisms, user targeting, error handling, or response format, leaving significant gaps for a notification-sending tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the core purpose. The formatting details are relevant but could be more efficiently integrated. No wasted sentences, though it could be slightly more structured for clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, 0% schema coverage, and no output schema, the description is incomplete. It covers message formatting but misses parameter explanations, behavioral traits like delivery guarantees, and expected outcomes. For a tool with two required parameters, this is inadequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It does not explain the 'message' or 'project' parameters at all—no semantics, examples, or constraints. The formatting advice applies generally to messages but doesn't clarify parameter roles or usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Send a notification message to the user.' It specifies the action (send) and resource (notification message), though it doesn't distinguish from siblings since none exist. The mention of markdown formatting adds specificity about message capabilities.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, prerequisites, or exclusions. It only describes formatting features (markdown, backticks, square brackets) without contextual usage advice. Since there are no sibling tools, this is less critical but still a gap.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
send-notification
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'send-notification' has a clear and singular purpose, making it impossible for an agent to misselect between tools.
The single tool name 'send-notification' follows a consistent verb-noun pattern. Since there is only one tool, there is no inconsistency to evaluate, and the naming is straightforward and predictable.
A single tool is too few for a server named 'Microsoft Teams MCP Server', which suggests a broader domain like messaging, collaboration, or team management. This minimal set likely leaves significant gaps in functionality, making it inappropriate for the implied scope.
The tool set is severely incomplete for a Microsoft Teams server. It only covers sending notifications, missing essential operations such as reading messages, managing channels, handling meetings, or interacting with users, which are core to the Teams domain and will cause agent failures.
Maintenance
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
An MCP server that integrates with Discord to provide AI-powered features.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server that integrates Microsoft Teams messaging (read, post, mention, list members and threads)6397Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that displays desktop notifications on Windows 10 and macOS, compatible with VSCode Cline and supporting customizable notification parameters.3MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges Microsoft Teams and MCP-compatible clients, enabling chat integration, message handling, and advanced search capabilities without REST API endpoints.1-
- FlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables sending data to webhooks via HTTP POST for both local and remote team environments. It provides a tool for relaying task descriptions, custom metadata, and automated notifications to external services.4 npm-