io.github.mcp-z/mcp-outlook
OfficialOutlook
Outlook integration with OAuth, message search, batch operations, and calendar management
Manage Outlook emails, calendar events, and perform batch message operations.
README not available yet.
Install
Configuration
MS_CLIENT_IDrequiredMicrosoft OAuth client ID (required for OAuth authentication modes)
MS_TENANT_IDrequiredMicrosoft tenant ID (required for OAuth authentication)
MS_CLIENT_SECRETsecretMicrosoft OAuth client secret (optional for public clients)
AUTH_MODEdefault loopback-oauthAuthentication mode
HEADLESSdefault falseDisable browser auto-open, return auth URL instead (true/false)
REDIRECT_URIOAuth redirect URI (optional, default: ephemeral loopback)
RESOURCE_STORE_URIdefault file://~/.mcp-z/mcp-outlook/filesResource store URI for CSV export files (file://)
PORTHTTP server port (overrides --port)
BASE_URLBase URL for HTTP transport (used for OAuth/DCR endpoints and file links)
LOG_LEVELdefault infoLogging level
DCR_MODEdefault self-hostedDynamic Client Registration mode
DCR_VERIFY_URLExternal verification endpoint URL (required for external DCR mode)
DCR_STORE_URIdefault file://~/.mcp-z/mcp-outlook/dcr.jsonDCR client storage URI (for self-hosted DCR mode)
-y--auth--tenant-id--headless--redirect-uri--resource-store-uri--base-url--log-level--portdefault 9003--dcr-mode--dcr-verify-url--dcr-store-uriclaude_desktop_config.json
{
"mcpServers": {
"mcp-outlook": {
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-outlook@1.0.13",
"--auth",
"--tenant-id",
"--headless",
"--redirect-uri",
"--resource-store-uri",
"--base-url",
"--log-level"
],
"env": {
"MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
"MS_TENANT_ID": "<YOUR_MS_TENANT_ID>",
"MS_CLIENT_SECRET": "<YOUR_MS_CLIENT_SECRET>",
"AUTH_MODE": "loopback-oauth",
"HEADLESS": "false",
"REDIRECT_URI": "<YOUR_REDIRECT_URI>",
"RESOURCE_STORE_URI": "file://~/.mcp-z/mcp-outlook/files",
"PORT": "<YOUR_PORT>",
"BASE_URL": "<YOUR_BASE_URL>",
"LOG_LEVEL": "info"
}
}
}
}