MCP directory
MT

Microsoft Teams Mcp

by github.com/chrischall · v0.13.1 · updated Nov 12, 2026

Microsoft Teams for Claude — read any chat or channel and its unread messages; send and react

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @chrischall/[email protected]

Environment variables

  • TEAMS_WS_PORT

    fetchproxy concentrator port used for the browser bridge. Defaults to 37149, the fleet-wide shared port.

  • FETCHPROXY_WS_HOST

    Bind interface for the bridge (default 127.0.0.1; a literal IP only, anything else is ignored). Keep on loopback — it exists for ONE topology: a hosted child in its own network namespace.

  • FETCHPROXY_IDENTITY_DIR

    Where to store the long-term fetchproxy identity keypair (default ~/.fetchproxy/identity/; an absolute path only, anything else is ignored). Exists for a host that runs a separate child per caller, so they can share one identity.

  • TEAMS_ACCESS_TOKENsecret

    A pre-obtained Teams chat-service bearer token (the JWT itself). Leave blank to capture one from your signed-in Teams browser tab via the ContextMint Bridge extension.

  • TEAMS_DISABLE_FETCHPROXY

    Set to true to never capture a token from the browser; then TEAMS_ACCESS_TOKEN is required. Leave blank.

  • TEAMS_CHATSVC_REGION

    The Teams chat-service region in the API path. Defaults to amer. Leave blank unless your tenant lives elsewhere.

  • TEAMS_CHATSVC_BASE

    Full override for the chat-service API base (default https://teams.cloud.microsoft/api/chatsvc/<region>/v1). Leave blank.

  • TEAMS_CAPTURE_TIMEOUT

    Seconds to wait for the Teams tab to issue a chat-service request when capturing a token. Defaults to 30.

  • TEAMS_TOKEN_CACHE

    Set to false to keep the captured token in memory only. Defaults to on: it is cached so a restart within its ~23h lifetime needs no browser.

  • TEAMS_TOKEN_FILE

    Where the captured token is cached. Defaults to ~/.microsoft-teams-mcp/token.json.

  • TEAMS_SUBSTRATE_TOKEN_FILE

    Where the captured Substrate search token is cached. Defaults to ~/.microsoft-teams-mcp/substrate-token.json.

  • TEAMS_RECAP_TOKEN_FILE

    Where the captured meeting-recap token is cached. Defaults to ~/.microsoft-teams-mcp/recap-token.json.

  • TEAMS_MCPS_REGION

    The region in the Teams meeting-recap API path (teams.cloud.microsoft/api/mcps/<region>). Defaults to us. Leave blank unless your tenant lives elsewhere.

  • TEAMS_SHAREPOINT_TOKEN_FILE

    Where the captured SharePoint tokens are cached. Defaults to ~/.microsoft-teams-mcp/sharepoint-tokens.json.

  • TEAMS_TIME_ZONE

    Default IANA time zone (e.g. America/New_York) for time_local on read results. Unset means UTC only.

  • TEAMS_OUTPUT_DIR

    Folder teams_export_messages writes exports into. Unset means ~/Downloads/microsoft-teams-mcp.

  • MCP_CONFIRM_MODE

    What the writes (teams_send_message, teams_edit_message, teams_delete_message, teams_react, teams_mark_read, teams_rename_chat, teams_add_chat_members, teams_remove_chat_members, teams_create_group_chat and the read tools' mark_read) do on a client that cannot show a confirmation prompt (claude.ai,...

  • MCP_CONFIRM_ELICITATION

    "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can show prompts but never does. Defaults to on.

  • MCP_CONFIRM_TTL_SECONDS

    How long a confirmToken stays valid, in seconds. Defaults to 600.

  • MCP_CONFIRM_SECRETsecret

    Signing key for confirmTokens. Random per process by default; set it only if tokens must survive a server restart.

More from github.com/chrischall

More MCP servers