Skip to main content
Lettr’s remote MCP server is hosted at https://app.lettr.com/mcp and authenticates through OAuth 2.1. Connect directly from Claude.ai, ChatGPT, Cursor, Claude Desktop, or GitHub Copilot — no API key required.
Looking for the local MCP server that runs on your machine with an API key? See Local Server Setup.

Prerequisites

You’ll need a Lettr account with at least one verified sending domain and an AI assistant that supports the Model Context Protocol.

Connection Details

When configuring your AI client, use the following settings:
SettingValue
Server URLhttps://app.lettr.com/mcp
AuthenticationOAuth 2.1 (automatic)
TransportHTTP/SSE

Setup by AI Client

Claude Desktop

Claude Desktop supports MCP servers through its configuration file.
1

Open Claude Desktop Settings

Open Claude Desktop and go to Settings (gear icon in the bottom left).
2

Navigate to MCP Servers

Select DeveloperMCP Servers from the settings menu.
3

Add Lettr Server

Click Add Server and enter “Lettr” as the name with https://app.lettr.com/mcp as the URL.
4

Authenticate

Click Connect. A browser window opens to Lettr’s OAuth flow. Sign in and authorize Claude to access your account.
5

Verify Connection

Once connected, you’ll see “Lettr” listed under your active MCP servers. Start a new conversation and ask Claude about your email infrastructure.

Claude.ai (Web)

Claude on the web supports MCP through the integrations panel.
1

Open Integrations

In a Claude conversation, click the Integrations icon (plug symbol) in the composer area.
2

Add MCP Server

Click Add IntegrationMCP Server.
3

Enter Server URL

Enter https://app.lettr.com/mcp as the server URL.
4

Complete OAuth

Follow the OAuth prompts to sign in to Lettr and authorize access.

Verifying the Connection

After connecting, verify that your AI assistant can access Lettr by asking a simple question:
“List my sending domains”
The AI should respond with your verified sending domains. If you see domain information, the connection is working correctly.

Available Actions

Once connected, your AI assistant gains access to a range of Lettr capabilities. These are organized into categories based on the type of operation.

Email Operations

For sending emails, your AI assistant can use send_email to compose and send messages with specified recipients, subject, and content, or send_template_email to send using a pre-built template with merge tag substitution.
ActionDescription
send_emailSend an email with specified recipients, subject, and content
send_template_emailSend an email using a pre-built template with merge tags

Template Management

Your AI assistant can work with email templates—listing, viewing, creating, and updating them.
ActionDescription
list_templatesList all email templates with metadata and merge tags
get_templateView a template’s HTML content and configuration
create_templateCreate a new Custom HTML email template
update_templateUpdate template content and create a new version

Analytics

For insights into email performance, the AI can pull aggregate delivery metrics or per-template statistics.
ActionDescription
get_analyticsView aggregate delivery analytics with daily breakdown
list_template_statsView per-template delivery statistics by campaign

Event Monitoring

To track what happens after emails are sent, the AI can use browse_email_events to view delivery events including deliveries, opens, clicks, and bounces. For debugging API integrations, browse_api_logs provides access to request history and response data.
ActionDescription
browse_email_eventsView delivery events (delivered, opened, clicked, bounced, etc.)
browse_api_logsInspect API request history and responses

Domain Management

Your AI assistant can check the status of your email infrastructure across all domain types. Each domain category has its own listing action that returns verification status and configuration details.
ActionDescription
list_sending_domainsView sending domains with verification status
list_tracking_domainsView tracking domains for branded links
list_inbound_domainsView inbound email receiving domains
list_storage_domainsView asset storage/CDN domains

Configuration

Beyond domains, the AI can inspect your account configuration including API keys and webhooks. For security, API keys are shown with prefixes only—never full values.
ActionDescription
list_api_keysView API keys (prefixes only, for security)
list_webhooksView webhook endpoints and their configuration

Example Workflows

Sending a Quick Email

Ask your AI assistant:
“Send an email to support@customer.com from hello@mycompany.com with subject ‘Your request has been received’ and body ‘We’ve received your support request and will respond within 24 hours.’”
The AI will compose and send the email using your verified domain.

Debugging Delivery Issues

“Check if the email I sent to john@example.com yesterday was delivered”
The AI will search your email events and report the delivery status, including any bounce information or error codes.

Using Templates with Personalization

“Send the ‘order-confirmation’ template to buyer@example.com with order_id ‘12345’ and customer_name ‘Sarah’”
The AI will use your saved template and substitute the merge tags with the provided values.

Checking Domain Health

“Are all my sending domains verified and ready to use?”
The AI will list your domains and highlight any with verification issues.

Troubleshooting

Start by ensuring you’re already signed in to Lettr in your browser before initiating the OAuth flow. Check that pop-ups aren’t blocked for the AI client’s domain. If the flow still fails, try disconnecting and reconnecting the MCP server, or clear your browser cache and attempt the connection again.
First, verify that the MCP server URL is exactly https://app.lettr.com/mcp with no trailing slash or typos. Confirm that your Lettr session is active by signing in to the dashboard in your browser. Make sure the AI client has MCP support enabled in its settings. If problems persist, try removing the server connection entirely and adding it fresh.
MCP uses your Lettr session permissions, so you can only access resources your account has permission to view or modify. Team members with restricted roles may not have access to all actions. If you need elevated permissions, contact your team administrator to adjust your role.
Verify that your sending domain is both verified and approved in the Lettr dashboard. Check that the “from” address in your email uses one of your verified domains. Ensure the recipient isn’t on your suppression list due to previous bounces or complaints. Finally, review your account’s sending limits to make sure you haven’t exceeded them.
Email events typically appear within a few seconds of delivery, but there can be slight delays. Check your date range filters, as event queries default to recent activity. For open and click events specifically, ensure that tracking is enabled for the emails you sent—events won’t be recorded for emails sent with tracking disabled.

Security Best Practices

When using MCP with Lettr, keep these security considerations in mind:
  • Only connect trusted clients — MCP allows AI assistants to send emails and access account data on your behalf, so treat authorization requests with the same caution you’d apply to any OAuth connection
  • Review before confirming — Most AI clients display the intended action before executing it — review email content and recipient lists before confirming sends, especially for bulk operations or sensitive communications
  • Audit connected clients — Periodically revoke access for clients you no longer use via SettingsConnected Apps
  • Permission scoping — MCP respects your existing Lettr team permissions, so team members with view-only access won’t be able to send emails through MCP

Disconnecting

To revoke an AI client’s access to your Lettr account, sign in to the Lettr dashboard, navigate to SettingsConnected Apps, find the AI client you want to disconnect, and click Revoke Access. You can also disconnect from within the AI client’s own settings.

Rate Limits

MCP requests follow the same rate limits as the REST API:
  • Sending — Standard API rate limits apply to emails sent through AI assistants
  • Event queries — 25 results per request by default (configurable: 10, 25, 50, or 100)
  • API log queries — 20 results per request by default (configurable: 1, 20, 50, or 100)
  • Pagination — Both support cursor-based pagination for accessing larger result sets
See Rate Limits for detailed information.

Learn More