Skip to main content
Glama
unstko

postfach-mcp

by unstko

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POSTFACH_MCP_HOSTNoBind address of the HTTP server127.0.0.1
POSTFACH_MCP_PORTNoPort of the HTTP server8000
POSTFACH_MCP_TOKENYesBearer token, at least 32 characters (`openssl rand -hex 32`)
POSTFACH_MCP_IMAP_HOSTYesIMAP server to connect to
POSTFACH_MCP_IMAP_PORTNoIMAP over TLS port993
POSTFACH_MCP_IMAP_USERYesLogin name
POSTFACH_MCP_ENABLE_SENDNoReserved for a future explicit opt-in; not implemented in v0.1
POSTFACH_MCP_DRAFT_FORMATNo`text` writes plain-text drafts; `html` adds an HTML rendering of the same text as a `multipart/alternative` part — for clients whose HTML-based composer collapses plain-text line breaks (Spark, for example)text
POSTFACH_MCP_EXTRA_TOKENSNoComma-separated additional bearer tokens, same length rule — give each client its own so one can be revoked without touching the others
POSTFACH_MCP_FROM_ADDRESSNoFrom header for drafts, e.g. `Your Name <you@example.org>`; defaults to the value of POSTFACH_MCP_IMAP_USER
POSTFACH_MCP_ALLOWED_HOSTSNoComma-separated Host header allowlist — add the public name your proxy or tunnel uses127.0.0.1,localhost
POSTFACH_MCP_DRAFTS_FOLDERNoFolder that receives created drafts; `postfach-mcp check` verifies it existsDrafts
POSTFACH_MCP_IMAP_PASSWORDYesPassword — use an app password if your provider offers them
POSTFACH_MCP_FROM_ADDRESSESNoComma-separated additional sender identities `create_draft` may select via its `from_address` argument; anything not listed here or in FROM_ADDRESS is rejected

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

Maintenance

ActivityMaintained
ResponsivenessNo issues