{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.yarenty/emperor-mail","description":"Email over IMAP and SMTP: search, read messages and attachments, draft, and send when allowed","title":"emperor-mail","repository":{"url":"https://github.com/yarenty/emperor-mail","source":"github"},"version":"0.1.1","websiteUrl":"https://github.com/yarenty/emperor-mail","packages":[{"registryType":"cargo","identifier":"emperor-mail","version":"0.1.1","transport":{"type":"stdio"},"packageArguments":[{"description":"Run the MCP server","isRequired":true,"type":"positional","value":"serve","valueHint":"serve"},{"description":"Speak MCP over stdin/stdout with one mailbox from the environment","isRequired":true,"type":"named","name":"--stdio"},{"description":"Turn the send tool on; without it send refuses and points to draft","format":"boolean","type":"named","name":"--allow-send"},{"description":"Recipients send may write to: an address (ann@example.org) or a domain (@example.org); repeatable","placeholder":"@example.org","type":"named","name":"--send-allow","isRepeated":true}],"environmentVariables":[{"description":"Login name for IMAP and SMTP","isRequired":true,"placeholder":"you@example.com","name":"MAIL_USER"},{"description":"Password or app password (set this or MAIL_OAUTH_TOKEN)","isSecret":true,"name":"MAIL_PASSWORD"},{"description":"OAuth 2.0 access token for XOAUTH2, instead of a password (Gmail, Microsoft 365)","isSecret":true,"name":"MAIL_OAUTH_TOKEN"},{"description":"From address when the login name is not an address (default: the login name)","name":"MAIL_FROM"},{"description":"IMAP server host name","isRequired":true,"placeholder":"imap.example.com","name":"IMAP_HOST"},{"description":"IMAP port (default 993, or 143 with starttls)","format":"number","name":"IMAP_PORT"},{"description":"IMAP connection security; plain only for a loopback host (default tls, starttls on port 143)","choices":["tls","starttls","plain"],"name":"IMAP_SECURITY"},{"description":"SMTP server host name, needed only for send","placeholder":"smtp.example.com","name":"SMTP_HOST"},{"description":"SMTP port (default 465, or 587 with starttls)","format":"number","name":"SMTP_PORT"},{"description":"SMTP connection security; plain only for a loopback host (default tls, starttls on ports 587 and 25)","choices":["tls","starttls","plain"],"name":"SMTP_SECURITY"}]}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-11-01T20:58:33.620411Z","publishedAt":"2026-11-01T20:58:33.620411Z","updatedAt":"2026-11-01T20:58:33.620411Z","isLatest":true}}}
