Lockally Email MCP Server
Stateful email for AI agents: read inboxes, reply in-thread, draft with approval.
Lockally Email scores 59 (Fair), licensed MIT and written in Go. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Communication. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
59 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 59 comes from
22 + 15 + 1 + 10 + 4 + 7 = 59. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "lockally-email": { "url": "https://mcp.lockally.com/" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Lockally CLI
The official command-line interface for Lockally — send mail, manage domains, mailboxes, templates, API keys and webhooks, tail delivery logs, and run a local webhook listener, all from your terminal.
Install
Homebrew / prebuilt binaries — download the archive for your OS/arch from the
latest release and put lockally
on your PATH.
Go:
go install github.com/lockallyinc/lockally-cli@latest # installs `lockally-cli`
Authenticate
lockally login # paste your API key when prompted
lockally login --api-key lk_live_… # or pass it directly
echo $LOCKALLY_API_KEY | lockally login # or pipe it
The key is stored at ~/.config/lockally/config.json (override the location with
LOCKALLY_CONFIG_DIR). You can also skip login entirely and set LOCKALLY_API_KEY
in the environment (great for CI). lockally whoami shows the active credential.
Commands
lockally send Send an email (--from --to --subject --text/--html --attach --template --var)
lockally domains list · add · verify · check (recheck DNS) · rm
lockally mailboxes list · create · rm
lockally templates list · create · update · rm
lockally keys list · create · revoke (create prints the secret once)
lockally logs View the delivery log (--status --since --follow --download)
lockally events Live-tail delivery events
lockally webhook list · create · rm · listen
lockally init Scaffold a lockally.json
lockally deploy Apply lockally.json to your account
Send
lockally send --from alerts@yourdomain.com --to user@example.com \
--subject "Your code" --text "Code: 847291" --attach invoice.pdf
Domains & DNS
lockally domains add yourdomain.com # prints the DNS records to set
lockally domains verify yourdomain.com # checks ownership (TXT)
lockally domains check yourdomain.com # live SPF/DKIM/DMARC/MX recheck (bypasses caches)
Generate an API key
lockally keys create --label ci --scope send:write --scope send:read
Logs
lockally logs --status bounced --since 2026-08-01T00:00:00Z
lockally logs --follow # live tail
lockally logs --download messages.ndjson # export all matching rows
Local webhook listener
Receive and signature-verify webhook deliveries locally (Stripe-style):
lockally webhook listen --port 4747 --secret whsec_… \
--forward http://localhost:3000/webhooks
Point a webhook (or a tunnel like ngrok/cloudflared) at the listener. It verifies the
X-Lockally-Signature header, pretty-prints each event, and optionally relays the raw
body to your app.
Project config (init + deploy)
lockally init # writes lockally.json + templates/welcome.html
lockally deploy # reconciles it into your account (domains+verify, mailboxes, webhooks, templates)
lockally.json:
{
"domains": ["yourdomain.com"],
"mailboxes": [{ "email": "alerts@yourdomain.com", "quota_gb": 5 }],
"webhooks": [{ "url": "https://yourapp.com/webhooks/lockally", "events": ["delivery.delivered", "delivery.bounced"] }],
"templates": [{ "name": "welcome", "subject": "Welcome", "html_file": "templates/welcome.html" }]
}
deploy is additive and idempotent — it never deletes, and re-running is safe.
Notes
- A secret API key authenticates every command; treat it like a password.
- Most commands accept
--jsonfor scripting. - Lockally has no pollable events feed, so
events/logs --followpoll the message log; for true push events usewebhook listen.
License
MIT © Lockally
Frequently asked questions
What is Lockally Email MCP Server?
Stateful email for AI agents: read inboxes, reply in-thread, draft with approval.
How do I install Lockally Email MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Lockally Email MCP Server connects to the remote endpoint https://mcp.lockally.com/, so there is nothing to install locally.
Is Lockally Email MCP Server free and open source?
Yes. Lockally Email MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Lockally Email MCP Server support remote (HTTP) connections?
Yes. Lockally Email MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Lockally Email MCP Server's trust score calculated?
Lockally Email MCP Server scores 59 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.