Entrabot logo

Entrabot

Gives a local AI agent its own Microsoft Entra identity for Teams, Outlook, Microsoft 365 files, Word, and audit operations.

Install Entrabot

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for entrabot, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

entrabot MCP server gives a device-local agent its own Microsoft Entra Agent ID and Agent User, enabling autonomous Microsoft 365 authentication. It exposes Teams, Outlook, files, Word, audit, and identity capabilities through a local Python FastMCP server over stdio. Reach for entrabot when an agent needs separate attribution, authorization, and mailbox or Teams access instead of acting through a human user's identity. It runs on macOS, Linux, and Windows and supports Claude Code, Copilot CLI, and other MCP-speaking clients.

Use cases

  • Provision an autonomous Microsoft 365 agent with its own Entra identity
  • Send and receive Teams messages as a dedicated agent account
  • Give an agent access to its own mailbox and Microsoft 365 files
  • Apply separate attribution and Conditional Access policies to agent activity

Key features

  • Microsoft Entra Agent ID and Agent User provisioning
  • Certificate-backed three-hop token flow
  • Teams, Outlook, files, Word, audit, and identity tools
  • OS-backed private-key storage
  • Background polling for Teams messages and email
  • Optional Azure Blob-backed agent memory

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars12Stargazers on the source repository.
Last commit8d agoMost recent push to the default branch.

How Entrabot works

What entrabot does

entrabot gives a local AI agent a distinct identity in Microsoft Entra rather than making it operate as the person who launched it. The provisioning flow creates an Agent Identity Blueprint, Agent Identity, and Agent User, then assigns the resulting user a Microsoft 365 license and makes it available for services such as Teams and Outlook.

Actions are performed with tokens for the agent's own account. This provides separate sign-in attribution and lets administrators apply Conditional Access policies to the agent identity or user account. The server also records local audit events for operations such as sending, creating, sharing, and deleting content before those actions occur.

The server is intended for developers building Microsoft 365 agents who need an identity model that matches an autonomous architecture. It supplies the identity and service access layer; the agent's behavior and task logic remain application-specific.

How it works

The local MCP client communicates with entrabot over stdio. FastMCP registers the Teams, Outlook, files, Word, audit, and identity tools, while the server obtains delegated Microsoft 365 access through a three-stage certificate-based flow: a Blueprint token, an Agent Identity token, and an Agent User token.

Private key material is kept in the operating system's secure storage: macOS Keychain, Windows CNG, or Linux Secret Service. The design avoids client secrets in flight and does not require a human to approve every token refresh.

Inbound Teams messages and email are polled in the background. Claude Code can receive messages through its channel-push notification extension. Hosts without that extension retain the messages in the interaction log; the agent can inspect them with read_teams_messages, and send_teams_message waits for the sponsor's reply when push delivery is unavailable. Local interaction data, summaries, and watched-chat state can remain on the device or use Azure Blob Storage scoped to the Agent User object ID.

Setup and configuration

Entrabot requires Python 3.12 and a Microsoft 365 development tenant where an administrator can create app registrations and grant consent. The tenant needs a license that includes Teams and Outlook, such as an E3 or E5 development tenant license. Agent User accounts require Microsoft's Frontier preview program.

On Windows, scripts\\setup-windows.cmd provisions the identity, uploads the self-signed certificate, assigns the license, configures the local server, and tests the installation. It does not require PowerShell 7, Python, Azure CLI, winget, or administrator rights on the PC before setup. The resulting agent can be started with start-entrabot.cmd.

On macOS or Linux, run ./scripts/setup.sh, then start the server with ./start-entrabot.sh. The setup scripts handle the Entra objects and local configuration. Cloud memory through Azure Blob Storage is optional; device-local operational state is the default.

Tools and capabilities

  • Send and receive Teams messages through the agent's own account.
  • Work with the agent's mailbox and Outlook-based activity.
  • Read and manipulate Microsoft 365 files.
  • Use Word-related Microsoft 365 capabilities.
  • Create local audit records for supported actions.
  • Inspect identity and authentication-related state.
  • Deliver inbound activity through Claude Code channel notifications when supported.
  • Emit Microsoft Agent 365 telemetry through Microsoft's OpenTelemetry distribution when telemetry is enabled.

Limitations and notes

Agent User identities are limited to tenants enrolled in Microsoft's Frontier preview program. Conditional Access for agents requires Microsoft 365 E7 or Agent 365 with Entra ID P1, and agent-focused ID Protection remains in preview.

Hosts without Claude Code's channel-push extension use the polling fallback rather than immediate message delivery. In that mode, activity remains available through the interaction log and command-line catch-up tooling, but it does not stream directly into the model.

Entrabot's body prompt establishes security rules, channel discipline, and external-content boundaries. These controls reduce instruction-injection risk but are not an absolute defense against every jailbreak technique. The project is an open-source reference implementation rather than a general-purpose agent behavior framework.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Entrabot

entrabot is an MCP server that connects a device-local AI agent to Microsoft Entra, Teams, Outlook, Microsoft 365 files, and Word. Its main tools handle Teams messaging, mailbox and file work, Word operations, audit events, and identity functions while authenticating as the agent's own Entra Agent User.

Run the platform setup script after preparing Python 3.12 and an eligible Microsoft 365 tenant. Windows uses `scripts\setup-windows.cmd`; macOS and Linux use `./scripts/setup.sh`. The scripts provision the Entra objects, certificate, license, and local configuration.

Yes, entrabot works with Cursor through its stdio MCP interface. Cursor does not implement the channel-push extension described for Claude Code, so inbound messages use the server-side polling and interaction-log fallback.

Yes, Agent User accounts require a tenant enrolled in Microsoft's Frontier preview program. Setup also requires an administrator who can create app registrations and grant consent, plus a license that includes Teams and Outlook.

entrabot stores private keys in the operating system's secure keystore: macOS Keychain, Windows CNG, or Linux Secret Service. The certificate-backed authentication flow avoids putting a client secret in flight.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEntrabot AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/entrabot?style=directory)](https://allmcps.com/mcp/entrabot)
HTML Embed
<a href="https://allmcps.com/mcp/entrabot"><img src="https://allmcps.com/api/badge/entrabot?style=directory" alt="Entrabot on AllMCPs" /></a>