AgentHubAgentHub

Microsoft Teams API

MCP ServerMCP Registry官方收录

io.github.Maxim-Mazurok/teams-api · v1.5.0

AI-native Microsoft Teams integration — read chats, send messages, search people

概览

Microsoft Teams API 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "teams-api": {
      "command": "npx",
      "args": [
        "-y",
        "teams-api"
      ]
    }
  }
}

环境变量

TEAMS_EMAIL可选

Corporate email address for Teams authentication

TEAMS_AUTO可选

Set to "true" to use auto-login (macOS + FIDO2)

TEAMS_LOGIN可选

Set to "true" to use interactive browser login (all platforms)

TEAMS_TOKEN可选secret

Pre-existing Skype token for direct authentication

TEAMS_REGION可选

API region (required with TEAMS_TOKEN, auto-detected otherwise)

TEAMS_BEARER_TOKEN可选secret

Middle-tier bearer token for profile resolution

TEAMS_SUBSTRATE_TOKEN可选secret

Substrate bearer token for people/chat search

TEAMS_DEBUG可选

Set to "true" to use Chrome debug session for token capture

TEAMS_TELEMETRY可选

Set to "true" to enable full debug telemetry logging (contributor use; logs all inputs and outputs locally)

TEAMS_TELEMETRY_PATH可选

Override the telemetry output file path (default: platform-appropriate ~/Library/... or ~/.local/share/...)

相关资源

统一 Manifest

{
  "id": "io.github.Maxim-Mazurok/teams-api",
  "type": "mcp-server",
  "version": "1.5.0",
  "displayName": "Microsoft Teams API",
  "description": "AI-native Microsoft Teams integration — read chats, send messages, search people",
  "repository": {
    "url": "https://github.com/Maxim-Mazurok/teams-api",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "teams-api",
        "version": "1.5.0",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "TEAMS_EMAIL",
            "description": "Corporate email address for Teams authentication"
          },
          {
            "name": "TEAMS_AUTO",
            "description": "Set to \"true\" to use auto-login (macOS + FIDO2)"
          },
          {
            "name": "TEAMS_LOGIN",
            "description": "Set to \"true\" to use interactive browser login (all platforms)"
          },
          {
            "name": "TEAMS_TOKEN",
            "description": "Pre-existing Skype token for direct authentication",
            "isSecret": true
          },
          {
            "name": "TEAMS_REGION",
            "description": "API region (required with TEAMS_TOKEN, auto-detected otherwise)"
          },
          {
            "name": "TEAMS_BEARER_TOKEN",
            "description": "Middle-tier bearer token for profile resolution",
            "isSecret": true
          },
          {
            "name": "TEAMS_SUBSTRATE_TOKEN",
            "description": "Substrate bearer token for people/chat search",
            "isSecret": true
          },
          {
            "name": "TEAMS_DEBUG",
            "description": "Set to \"true\" to use Chrome debug session for token capture"
          },
          {
            "name": "TEAMS_TELEMETRY",
            "description": "Set to \"true\" to enable full debug telemetry logging (contributor use; logs all inputs and outputs locally)"
          },
          {
            "name": "TEAMS_TELEMETRY_PATH",
            "description": "Override the telemetry output file path (default: platform-appropriate ~/Library/... or ~/.local/share/...)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.Maxim-Mazurok/teams-api",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.Maxim-Mazurok%2Fteams-api/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Microsoft Teams API — MCP Server 安装与配置 · AgentHub