Lockally Email — Claude Code MCP server: features and setup
The Lockally Email MCP server for Claude Code lets an agent work with email. It can read inboxes, reply in existing threads, and prepare drafts for approval.
MIT ★ 1 updated 2026-09-17
claude mcp add --transport http email https://mcp.lockally.com/What Lockally Email does
The server connects an agent to Lockally email. It can inspect incoming messages and reply within an existing thread. For a new message, the agent prepares a draft that needs approval.
Drafts require approval before they are sent. Add the server to Claude Code over HTTP at https://mcp.lockally.com/; other supported clients use the same connection endpoint in their configuration.
What it helps with
- read incoming email through an agent
- reply within an existing email thread
- prepare a draft reply that requires approval
Example prompts for the agent
- Read the new messages in my inbox.
- Reply to this message in the same thread.
- Draft a reply and request approval.
How to install Lockally Email
Platform CLI: remote server
claude mcp add --transport http email https://mcp.lockally.com/Platform CLI: remote server
codex mcp add lockally-email --url https://mcp.lockally.com/Config file
{
"mcpServers": {
"lockally-email": {
"url": "https://mcp.lockally.com/"
}
}
}Config file
{
"servers": {
"lockally-email": {
"type": "http",
"url": "https://mcp.lockally.com/"
}
}
}Platform CLI: remote server
gemini mcp add -t http lockally-email https://mcp.lockally.com/Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Lockally Email
How do I install Lockally Email in Claude Code?
Run claude mcp add --transport http email https://mcp.lockally.com/. This registers the server over HTTP.
What does Lockally Email do?
It lets an agent read inboxes, reply in existing email threads, and prepare drafts that require approval.
Do Lockally Email drafts need approval?
Yes. A draft needs approval before it can be sent.