Atlas / MCP servers / floriscornel / Teams

TeamsCAUTION

mcp/floriscornel/teams

MCP server providing comprehensive Microsoft Teams and Graph API access for AI assistants including messaging, search, and user management.

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
31 19r · 10w · 2d
Transport
stdio
License
MIT
Stars
142
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://www.npmjs.com/package/@floriscornel/teams-mcp) [](https://www.npmjs.com/package/@floriscornel/teams-mcp) [](https://app.codecov.io/gh/floriscornel/teams-mcp) [](https://opensource.org/licenses/MIT) [](https://github.com/floriscornel/teams-mcp/stargazers)

A Model Context Protocol (MCP) server that provides seamless integration with Microsoft Graph APIs, enabling AI assistants to interact with Microsoft Teams, users, chats, files, and organizational data.

📦 Installation

To use this MCP server in Cursor/Claude/VS Code, add the following configuration:

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

🚀 Features

🔐 Authentication

  • OAuth 2.0 device code authentication flow with Microsoft Graph
  • Secure token management, cache persistence, and refresh token renewal
  • Authentication status checking and logout support
  • Read-only mode with reduced scopes
  • Direct AUTH_TOKEN support for pre-issued Microsoft Graph access tokens

👥 User Management

  • Get current user information
  • Search users by name or email
  • Retrieve detailed user profiles
  • Access organizational directory data

🏢 Microsoft Teams Integration

  • Teams Management
  • List user's joined teams
  • Access team details and metadata
  • Channel Operations
  • List channels within teams
  • Retrieve channel messages and r
Read from source at commit 722b013e0a78OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add teams-mcp --env AUTH_TOKEN=${AUTH_TOKEN} -- npx -y @floriscornel/[email protected]
claude-desktop
{
  "mcpServers": {
    "teams-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@floriscornel/[email protected]"
      ],
      "env": {
        "AUTH_TOKEN": "${AUTH_TOKEN}"
      }
    }
  }
}
03

Exposed tools (31)

19 read · 10 write · 2 destructive. Blast radius: 2 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_chat_memberwrite
auth_statusread
create_chatwrite
delete_channel_messagedestructive
delete_chat_messagedestructive
download_chat_hosted_contentread
download_message_hosted_contentread
get_channel_message_repliesread
get_channel_messagesread
get_chat_messagesread
get_current_userread
get_my_mentionsread
get_userread
list_channelsread
list_chatsread
list_team_membersread
list_teamsread
reply_to_channel_messageread
search_messagesread
search_usersread
search_users_for_mentionsread
send_channel_messagewrite
send_chat_messagewrite
send_file_to_channelwrite
send_file_to_chatwrite
set_channel_message_reactionwrite
set_chat_message_reactionwrite
unset_channel_message_reactionread
unset_chat_message_reactionread
update_channel_messagewrite
update_chat_messagewrite
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (2 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (11)

MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
src/index.ts:128
console.log(`⏰ Access token expires: ${expiresAt.toLocaleString()}`);
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_channel_message, delete_chat_message
Why it matters. 2 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/services/__tests__/graph.test.ts:2
import { mockUser, server } from "../../test-utils/setup.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/services/__tests__/graph.test.ts:5
vi.mock("../../msal-cache.js", () => ({
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tools/__tests__/auth.test.ts:6
} from "../../test-utils/setup.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tools/__tests__/chats.test.ts:4
import type { GraphService } from "../../services/graph.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tools/__tests__/chats.test.ts:5
import type { FileUploadResult } from "../../utils/file-upload.js";
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/services/graph.ts:208
const payload = JSON.parse(atob(tokenSplits[1]));
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@azure/identity, @azure/identity-cache-persistence, @microsoft/microsoft-graph-client, @microsoft/microsoft-graph-types, @modelcontextprotocol/sdk, @types/dompurify, @types/marked, dompurify
Why it matters. 24 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
README.md:261
**Full access:**
INFOPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
README.md:444
# Full access (default)

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 722b013e0a78full audit observations/trust-audit/mcp-server/floriscornel__teams.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07722b013e0a78CAUTIONB89first audit
06

Questions

What is the Teams MCP server?

MCP server providing comprehensive Microsoft Teams and Graph API access for AI assistants including messaging, search, and user management.

What tools does Teams expose?

31 in total: 19 read-only, 10 that write, and 2 that can delete or overwrite (delete_channel_message, delete_chat_message). Every one is listed on this page with its risk.

Is Teams safe to connect to an agent?

With care. The audit graded it B (89/100) and found 11 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Teams need?

It reads AUTH_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Teams run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @floriscornel/teams-mcp at 1.0.1.

How current is this page?

The grade is for one exact copy of the source (722b013e0a78), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement