@alfe.ai/microsoft-mcp
v0.1.14
Published
Microsoft 365 MCP server — multi-account Microsoft Graph access using Alfe OAuth credentials with server-mediated token refresh
Readme
@alfe.ai/microsoft-mcp
Microsoft 365 MCP server — bounded, multi-account Microsoft Graph access using Alfe OAuth credentials with server-mediated token refresh.
Part of Alfe — the operating system for AI agents: build, deploy, and run agents with persistent memory, identity, integrations, and channels. See the documentation to get started.
Install
npm install @alfe.ai/microsoft-mcpThe Alfe integration launches the server over stdio. It exposes three tools:
microsoft_list_accountslists safe account metadata.microsoft_run_commandsends[METHOD] /v1.0-relative-path [json-body]for one explicitly selected email/account.microsoft_disconnect_accountremoves one explicitly selected connection.
There is no implicit default account. Graph calls are locked to HTTPS
graph.microsoft.com/v1.0, reject redirects, use a deadline, and bound command,
request, and response sizes. Refresh tokens and Microsoft OAuth client
credentials stay in the Alfe connect service; the MCP receives short-lived
access tokens and uses the server-mediated per-account refresh endpoint.
Development
pnpm --filter @alfe.ai/microsoft-mcp lint
pnpm --filter @alfe.ai/microsoft-mcp typecheck
pnpm --filter @alfe.ai/microsoft-mcp test
pnpm --filter @alfe.ai/microsoft-mcp buildLinks
- 🌐 Website: https://alfe.ai
- 📚 Docs: https://docs.alfe.ai
