Prerequisites
- A Langmail account — sign up at app.langmail.me with Google. Signing up creates your
you@langmail.memailbox. - Claude Code installed. Using a different client? See Connect other MCP clients.
Add the Langmail MCP server
Add the server as a remote MCP server over the Streamable HTTP transport:
Authorize access
Start Claude Code and run
/mcp. Select langmail and choose to authenticate. Your browser opens: sign in with the Google account you used for Langmail, then approve the consent screen.The grant is per-client: you authorize this Claude Code installation, not a shared credential. Your agent never sees your password.Verify the connection
Output
search_emails to respond_to_event.Make your first tool call
Ask Claude:Claude calls Search results deliberately omit message bodies to stay light on tokens — Claude fetches a full message with
Prompt
search_emails with { "mailbox": "Inbox", "limit": 5 } and gets back a compact, newest-first hit list:Result
get_email when it needs one.Next steps
Search and triage email
Find to-dos, filter by category and sender, read whole threads.
Calendar workflows
Schedule meetings with invitations, create recurring series, RSVP.
How authorization works
The OAuth flow behind the browser window, endpoint by endpoint.
Tool reference
Exact parameters and output shapes for all 10 tools.