AI-native Microsoft Teams integration β read chats, send messages, search people
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Microsoft Teams API.
teams_list_conversationsList available conversations
teams_find_conversationFind a conversation by topic or member name
teams_find_one_on_oneFind a 1:1 chat with a person
teams_get_profilesGet user profiles, including office location
teams_find_peopleSearch the organization directory
teams_find_chatsSearch chats by name or member
AI-native Microsoft Teams integration β read conversations, send messages, and manage members via the Teams Chat Service REST API.
Designed for autonomous AI agents that need to interact with Teams: read messages, reply to people, monitor conversations, and participate in team workflows.
[!NOTE] This project was AI-generated using Claude Opus 4.6 with human guidance and review.
teams-api can be used in three ways:
npx, which all MCP and CLI commands use.The quickest way to get started is to click one of the install badges above, or follow the instructions for your editor below.
Option 1 β One-click install:
Option 2 β CLI:
macOS / Linux:
Windows (PowerShell):
Windows (CMD):
Option 3 β Manual config:
Add to your VS Code MCP config (.vscode/mcp.json or User Settings):
Add to claude_desktop_config.json (how to find it):
Then set the environment variable TEAMS_LOGIN=true in your shell before starting Claude Code. The server will ask for your email interactively on first use.
Add to ~/.codeium/windsurf/mcp_config.json:
[!TIP] On macOS with a FIDO2 passkey, replace
TEAMS_LOGINwithTEAMS_AUTOfor fully unattended auth. See Authentication for details.
You can also use the CLI directly without installing anything:
If you use the CLI often, a global install is optional:
Compatible coding agents can install the optional teams-api skill to learn when and how to use the CLI or SDK:
The installer detects supported agents and asks whether to install the skill for the current project or globally. Once installed, the agent loads it automatically for relevant Teams tasks.
Manual token usage, debug-session auth, and programmatic Node.js usage are covered later in this README.
| Feature | macOS | Windows / Linux |
|---|---|---|
| Interactive login | Full support | Full support |
| Auto-login (FIDO2) | Full support | Not supported |
| Debug session | Full support | Full support |
| Direct token | Full support | Full support |
| Token caching | macOS Keychain | Windows DPAPI / Linux secret-tool |
| CLI & MCP server | Full support | Full support |
| Programmatic API | Full support | Full support |
[!NOTE] Windows Defender false positive: Older versions of this package used inline PowerShell to call the Windows DPAPI β a pattern that Windows Defender flags as ransomware-like behavior. This has been replaced with native Windows Credential Manager storage via keytar. If you hit issues on an older version, upgrade and re-run
teams-api auth --login. See SECURITY.md for details.
Most users do not need to manage tokens manually.
If you use interactive login, auto-login, or a Chrome debug session, teams-api captures the full token bundle automatically from Teams web traffic. That includes the base skypeToken plus the extra bearer tokens used for profile resolution and reliable people/chat/channel search.
Those flows also detect the Teams chat region automatically from the intercepted request URLs, so most users do not need to set --region or TEAMS_REGION.
On macOS, prefer auto-login when you have a platform authenticator / FIDO2 passkey set up. On other platforms, use interactive login.
Direct token usage is the advanced/manual path.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/microsoft-teams-api)<a href="https://allmcps.com/mcp/microsoft-teams-api"><img src="https://allmcps.com/api/badge/microsoft-teams-api?style=directory" alt="Microsoft Teams API on AllMCPs" /></a>