Skip to main content
Glama
Email MCP Server for Cloudflare Workers

Email MCP Server for Cloudflare Workers

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POLICY_AUDNoCloudflare Access application AUD tag. Required in production for Access JWT validation.
TEAM_DOMAINNoCloudflare Zero Trust team domain, e.g. https://your-team.cloudflareaccess.com. Required in production for Access JWT validation.
ADMIN_PASSWORDNoPassword for the optional administrator sign-in to the web management pages. Enables password sign-in when set.
ADMIN_USERNAMENoUsername for the optional administrator password sign-in to the web management pages. Defaults to `admin`.admin
OUTLOOK_TENANTNoMicrosoft sign-in tenant for Outlook OAuth: `consumers`, `organizations`, `common`, or a specific tenant ID. Optional; used with OUTLOOK_CLIENT_ID.
ACCESS_LOCAL_DEVNoSet to `true` to bypass Cloudflare Access verification for local development. Only works when the request hostname is localhost, 127.0.0.1, or ::1. Never use in production.
GOOGLE_CLIENT_IDNoGoogle OAuth client ID for Gmail OAuth. Optional; if set, Gmail can use OAuth instead of an app password.
OUTLOOK_CLIENT_IDNoMicrosoft Entra application (client) ID for Outlook OAuth. Optional; required only for Outlook OAuth.
GOOGLE_CLIENT_SECRETNoGoogle OAuth client secret for Gmail OAuth. Optional; required with GOOGLE_CLIENT_ID.
OUTLOOK_CLIENT_SECRETNoMicrosoft Entra application client secret value for Outlook OAuth. Optional; required only for Outlook OAuth.
CREDENTIAL_ENCRYPTION_KEYNoBase64-encoded 32-byte key used to AES-256-GCM encrypt mailbox credentials and session cookies. Generate with `openssl rand -base64 32`. Required; do not change after accounts are stored.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources