imap2mcp
by czepter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP port. Default 3000. | 3000 |
| BASE_URL | Yes | Public URL of the server. The MCP resource/audience is ${BASE_URL}/mcp. Required for production. https enables Secure cookies and HSTS. | |
| DATA_DIR | No | Directory for bridge.db (SQLite, WAL). Default ./data. | ./data |
| CORS_ORIGIN | No | CORS origin for machine-facing endpoints. | |
| SIDECAR_BIN | No | Path to the sidecar binary. Default sidecar/bin/sidecar. | sidecar/bin/sidecar |
| ENCRYPTION_KEY | No | 64 hex character master key. No default. Alternative to ENCRYPTION_KEY_FILE; the file is preferred. | |
| SESSION_SECRET | No | Session secret, at least 32 characters. No default. Alternative to SESSION_SECRET_FILE. | |
| AUDIT_FAIL_MODE | No | Audit failure mode: closed (default) or open. | closed |
| SIDECAR_DISABLED | No | Set to 1 to use the v0 direct IMAP read path. Debugging only; bypasses the sidecar and its cache. | |
| REGISTRATION_MODE | No | Client registration mode: dynamic (default, RFC 7591) or admin (clients created in UI only). | dynamic |
| ALLOW_PRIVATE_HOSTS | No | Comma-separated list of mailbox host names that may resolve to private/loopback addresses. Matched by exact host name. | |
| ENCRYPTION_KEY_FILE | No | Path to a file containing the 32-byte master key (hex or base64). No default. Alternative to ENCRYPTION_KEY. | |
| SESSION_SECRET_FILE | No | Path to a file containing the session secret. No default. Alternative to SESSION_SECRET. | |
| SYNC_RECONCILE_SECS | No | Interval in seconds for the sidecar's UID/flag reconciliation. Default 30. | 30 |
| AUDIT_RETENTION_DAYS | No | Audit retention in days. Default 90; 0 keeps forever. | 90 |
| ADMIN_BOOTSTRAP_TOKEN | No | Fixed one-time bootstrap token instead of a random one. | |
| SIDECAR_EXTRA_CA_FILE | No | Extra CA bundle the sidecar trusts for IMAP TLS. |
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 recent community issues