outlook-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@outlook-mcpWhat's my schedule for tomorrow?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
outlook-mcp
Outlook/Office365 para agentes de IA — servidor MCP (stdio) + serviço FastAPI (:8445), sem App Registration no Azure AD.
Arquitetura
Claude Code / agente ──(MCP stdio)──► mcp_server ──HTTP──► outlook_service :8445
│
┌───────────────┴───────────────┐
▼ primário ▼ fallback
OWA REST API v2.0 Playwright/Chromium
(token da sessão, TTL 30min) (sessão web logada)Sem App Registration: o token Bearer é extraído da própria sessão web do Outlook (interceptação Playwright), com cache de 30 min e invalidação automática em 401.
11 ferramentas MCP: inbox, inbox compartilhado, enviar e-mail, agenda hoje/semana, detalhes de evento, criar/editar/cancelar evento, disponibilidade, freebusy.
Endpoints REST completos (
/calendario/*,/email/*): use direto por HTTP se preferir (bridges, cron, outros serviços).
⚠️ Sobre o método de login. Este projeto não usa OAuth/App Registration — ele automatiza o login web real do Outlook via Playwright (a senha é lida de uma variável de ambiente e digitada no formulário de login da Microsoft). É um atalho deliberado para evitar burocracia de Azure AD, mas foge do fluxo oficial suportado pela Microsoft: rode isso só com contas que você controla, entenda que a sessão pode quebrar se a Microsoft mudar o formulário de login ou exigir MFA adicional, e prefira uma App Registration + Graph API oficial se isso for rodar em produção para terceiros.
Related MCP server: msgraph-mcp
Instalação
pip install -e .
playwright install chromiumConfigure as variáveis de ambiente antes do primeiro login:
Variável | Uso |
| conta que faz login (obrigatório) |
| senha dessa conta (obrigatório, só usado no login inicial) |
| e-mail do calendário/caixa gerenciada por padrão (opcional) |
| e-mail incluído em CC automático nos envios (opcional) |
| domínios internos da sua organização, separados por vírgula — usado pra distinguir participante interno de externo no FreeBusy (opcional) |
Login (uma vez): inicie o serviço e faça o login web quando o Chromium abrir — a sessão persiste (cookies) e o serviço renova sozinho.
outlook-service # FastAPI em 127.0.0.1:8445Produção (macOS): use launchd/com.outlookmcp.service.plist via install.sh (inclui restart automático). Em Linux, rode outlook-service sob o supervisor de sua preferência (systemd, supervisord etc.) — não há unit pronta ainda.
Registrar o MCP em outro projeto (Claude Code)
.mcp.json do projeto (ou ~/.claude/.mcp.json para todas as sessões):
{
"mcpServers": {
"outlook": {
"command": "outlook-mcp"
}
}
}O MCP fala com
localhost:8445— o serviço precisa estar rodando (mesma máquina).
FreeBusy externo (opcional)
Calendários externos via iCal: copie config/ical_feeds.json.example para ical_feeds.json no diretório do pacote instalado e preencha. ⛔ ical_feeds.json contém tokens privados — está no .gitignore, nunca commite.
Notas de robustez
Token OWA: TTL 30 min + invalidação em 401. Um TTL curto força refresh constante do Chromium de vida longa, o que desgasta o driver com o tempo — 30 min reduz bastante essa frequência sem risco de token vencido (o token real vive ~60 min).
Recomenda-se um watchdog no
/health(o corpo indicastatus: degradedmesmo com HTTP 200) e uma reciclagem preventiva diária do serviço.
Status
O projeto ainda não tem testes automatizados nem CI. Use, reporte problemas, contribua.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for any Microsoft Exchange / OWA deployment. Gives LLM agents access to email, calendar, directory search, folders, availability, and meeting analytics via 30 tools.307MIT
- FlicenseBqualityBmaintenanceMCP server providing AI assistants with full access to Microsoft Outlook email and calendar via the Microsoft Graph API, featuring 26 tools for mail, calendar, contacts, and scheduling with delegated authentication.29
- Alicense-qualityDmaintenanceA Python-based MCP server for Microsoft 365 Outlook email operations using OAuth 2.0 Client Credentials Flow, enabling automated email management for autonomous agents.MIT
- Alicense-qualityDmaintenanceLightweight MCP server that enables AI agents to manage Microsoft Outlook email, calendar, and files using PKCE authentication with only a Client ID.MIT
Related MCP Connectors
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/georgedagher/outlook-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server