Skip to main content
Glama
stalwart-mcp

stalwart-mcp

by exciting-it

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENVIRONMENTNoOptional. Set to staging for a trial deployment, for example in a second worker with its own name, storage and OAuth client. A staging deployment answers under the origin of the request and needs no PUBLIC_ORIGIN.
PUBLIC_ORIGINNoThe address the connector is served under, written the same way as STALWART_ORIGIN. It must match routes; the worker answers under no other host. Not needed in staging.
TOKEN_ENC_KEYYesSecret. 32 random bytes, base64 (openssl rand -base64 32). Changing it later makes every stored mailbox token unreadable: every mailbox is disconnected.
CONNECTOR_NAMENoOptional. The name AI tools show (default "Stalwart Mail").
SEND_ALLOWLISTNoStaging only. Comma-separated addresses mail may go to. This covers send_mail and the participants of every event write that makes the mail server notify. If empty, nothing is sent.
STALWART_ORIGINYesYour Stalwart server as an https origin, written the plain way: lower case, no path, no :443 (e.g. https://mail.example.com).
SIGNIN_ALLOWLISTNoStaging only. Comma-separated mailbox addresses that may connect. If empty, nobody can connect.
DATA_JURISDICTIONNoOptional; decide before the first sign-in. One of: eu, us or fedramp. Restricts where the Durable Object vaults are stored. Cannot be changed later without losing stored connections.
DISABLED_FEATURESNoOptional. Switch off areas with: contacts, calendars or contacts,calendars (spaces are ignored; empty or unset switches nothing off). Any other name, mail included, closes the worker with 503 and config_error DISABLED_FEATURES.
STALWART_OAUTH_CLIENT_IDYesThe id of the OAuth client from Stalwart. It is not a secret.
STALWART_OAUTH_CLIENT_SECRETYesSecret. The client secret of the OAuth client from Stalwart.

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