Skip to main content
Glama
MailCP

MailCP

by Napreth

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATA_KEYSYesEncryption keys, with the key set as DATA_KEYS["1"] (random 32-byte unpadded Base64URL key). Required for local login and deployment.
SIGNING_KEYYesA random 32-byte unpadded Base64URL signing key. Required for local login and deployment.
ADMIN_ORIGINNoSet to the Pages HTTPS origin (admin UI origin).
PAGES_BRANCHNoProduction branch name for the Cloudflare Pages project.
PUBLIC_ORIGINNoSet to the Worker's HTTPS origin. Used to build the MCP URL (PUBLIC_ORIGIN/mcp).
LOGIN_CLIENT_IDYesThe public Cloudflare OAuth Client ID registered for admin login. Required for local login and deployment.
DATA_KEY_VERSIONNoEncryption key version, e.g. "1". Existing instances should keep their original key and version.
MICROSOFT_TENANTNoMicrosoft tenant, e.g. "consumers" for personal accounts only or "common" to also accept work/school accounts.
MCP_REDIRECT_URISNoFull OAuth callback URLs provided by the MCP client, required when using DCR.
PAGES_PROJECT_NAMENoName of the Cloudflare Pages project to deploy to.
LOGIN_OWNER_SUBJECTYesThe instance owner's Cloudflare-verified user ID. Required for local login and deployment.
MICROSOFT_AUTH_MODENoMicrosoft auth mode, e.g. "device" (default) or "web" for existing Outlook Web clients.
MICROSOFT_CLIENT_IDNoClient ID of the Microsoft Entra app used for Outlook.
ALLOW_CLIENT_METADATANoEnable for clients that support Client ID Metadata Documents.
ALLOW_DYNAMIC_CLIENTSNoEnable this in the instance config when using Dynamic Client Registration (DCR).
MICROSOFT_CLIENT_SECRETNoClient secret for the Microsoft app; leave empty when using device mode.

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