postfach-mcp
by unstko
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| POSTFACH_MCP_HOST | No | Bind address of the HTTP server | 127.0.0.1 |
| POSTFACH_MCP_PORT | No | Port of the HTTP server | 8000 |
| POSTFACH_MCP_TOKEN | Yes | Bearer token, at least 32 characters (`openssl rand -hex 32`) | |
| POSTFACH_MCP_IMAP_HOST | Yes | IMAP server to connect to | |
| POSTFACH_MCP_IMAP_PORT | No | IMAP over TLS port | 993 |
| POSTFACH_MCP_IMAP_USER | Yes | Login name | |
| POSTFACH_MCP_ENABLE_SEND | No | Reserved for a future explicit opt-in; not implemented in v0.1 | |
| POSTFACH_MCP_DRAFT_FORMAT | No | `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_TOKENS | No | Comma-separated additional bearer tokens, same length rule — give each client its own so one can be revoked without touching the others | |
| POSTFACH_MCP_FROM_ADDRESS | No | From header for drafts, e.g. `Your Name <you@example.org>`; defaults to the value of POSTFACH_MCP_IMAP_USER | |
| POSTFACH_MCP_ALLOWED_HOSTS | No | Comma-separated Host header allowlist — add the public name your proxy or tunnel uses | 127.0.0.1,localhost |
| POSTFACH_MCP_DRAFTS_FOLDER | No | Folder that receives created drafts; `postfach-mcp check` verifies it exists | Drafts |
| POSTFACH_MCP_IMAP_PASSWORD | Yes | Password — use an app password if your provider offers them | |
| POSTFACH_MCP_FROM_ADDRESSES | No | Comma-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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues