Safe-by-default MCP server for Microsoft Outlook mail (Microsoft Graph) — read, search, draft, send, reply, forward and organize email, with browser sign-in.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add outlook --env OUTLOOK_CLIENT_SECRET='<OUTLOOK_CLIENT_SECRET>' --env OUTLOOK_TOKEN='<OUTLOOK_TOKEN>' -- npx -y @dockndevai/mcp-outlook~/.codex/config.toml
[mcp_servers.outlook]
command = "npx"
args = ["-y", "@dockndevai/mcp-outlook"]
env = { OUTLOOK_CLIENT_SECRET = "<OUTLOOK_CLIENT_SECRET>", OUTLOOK_TOKEN = "<OUTLOOK_TOKEN>" }
# codex mcp add outlook --env OUTLOOK_CLIENT_SECRET='<OUTLOOK_CLIENT_SECRET>' --env OUTLOOK_TOKEN='<OUTLOOK_TOKEN>' -- npx -y @dockndevai/mcp-outlook~/.cursor/mcp.json
{
"mcpServers": {
"outlook": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"env": {
"OUTLOOK_CLIENT_SECRET": "<OUTLOOK_CLIENT_SECRET>",
"OUTLOOK_TOKEN": "<OUTLOOK_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"outlook": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"env": {
"OUTLOOK_CLIENT_SECRET": "<OUTLOOK_CLIENT_SECRET>",
"OUTLOOK_TOKEN": "<OUTLOOK_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"outlook": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"env": {
"OUTLOOK_CLIENT_SECRET": "<OUTLOOK_CLIENT_SECRET>",
"OUTLOOK_TOKEN": "<OUTLOOK_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"outlook": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"env": {
"OUTLOOK_CLIENT_SECRET": "<OUTLOOK_CLIENT_SECRET>",
"OUTLOOK_TOKEN": "<OUTLOOK_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"outlook": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-outlook"
],
"env": {
"OUTLOOK_CLIENT_SECRET": "<OUTLOOK_CLIENT_SECRET>",
"OUTLOOK_TOKEN": "<OUTLOOK_TOKEN>"
}
}
}
}Environment variables
OUTLOOK_CLIENT_SECRETOUTLOOK_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.