Senlo MCP server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Senlo MCP server
Your coding agent creates transactional emails in Senlo: the template, the trigger your code sends, an automation if you need one, and a test email in your inbox. You don't open the editor. The templates are ordinary Senlo templates, so anyone on the team can open them in the visual editor and change them later.
"Add password reset. The email goes through Senlo."
The agent writes the endpoint, creates the
Password resettemplate and its trigger, puts the send call in your code and sends a test to you.
A remote MCP server over Streamable HTTP, a thin layer over Senlo's API v1. It never touches a database and doesn't check tokens itself: it passes your key on to Senlo, and Senlo decides what it may do. MIT licensed.
Tools
Group | Tool | What it does |
General |
| The workspace, permissions and instance behind the connection |
General |
| The format rules: design document blocks, automation format, step types, examples |
Templates |
| The workspace's templates |
Templates |
| One template with its design document |
Templates |
| Creates a template from a design document; |
Templates |
| Changes a template and keeps the previous version; |
Templates |
| The rendered HTML and text, with your variables |
Templates |
| A test email to a member of the organization |
Triggers |
| Triggers with their ids and variables |
Triggers |
| One trigger: template, sender, variables |
Triggers |
| The trigger your code sends, for a template |
Triggers |
| Changes a trigger |
Automations |
| Automations and their status |
Automations |
| The graph and settings as an export |
Automations |
| Creates a draft; |
Automations |
| Replaces an automation's draft |
Automations |
| Goes live or pauses |
Automations |
| A test run for a member of the organization |
Automations |
| How a test run went, step by step |
Code |
| The send call for your backend: JavaScript, Python, PHP or curl |
What it deliberately can't do:
Delete. Remove what you don't need in Senlo yourself.
Send real email to anyone. Tests go only to members of the organization (self-hosted: the project owner). Your app sends real email with its own key.
Every change an agent makes is kept as a version, marked "MCP", and can be restored in the editor's History.
Related MCP server: Quolle MCP
Connect
You need a Senlo API key with the manage permission (create one in the project's API keys and turn on manage). Keep it apart from the key your app sends with (send): the agent's key can't send real email, and your app's key can't change templates.
The server's address is https://<your-senlo>/mcp on a self-hosted install, see Self-hosting. Senlo Cloud gets a hosted server with OAuth sign-in soon.
Claude Code
claude mcp add --transport http senlo https://<your-senlo>/mcp \
--header "Authorization: Bearer snl_..."Add --scope user to have it in every project. To share the setup with your team without the key, put it in .mcp.json at the repository root; Claude Code fills in the variable from each developer's environment:
{
"mcpServers": {
"senlo": {
"type": "http",
"url": "https://<your-senlo>/mcp",
"headers": { "Authorization": "Bearer ${SENLO_MCP_KEY}" }
}
}
}Check with /mcp in Claude Code, then ask: "Call Senlo whoami."
Cursor
~/.cursor/mcp.json (every project) or .cursor/mcp.json (this one):
{
"mcpServers": {
"senlo": {
"url": "https://<your-senlo>/mcp",
"headers": { "Authorization": "Bearer snl_..." }
}
}
}Other clients
Any client with remote MCP servers over Streamable HTTP and custom headers works: the URL above and the header Authorization: Bearer snl_.... Clients that only connect with OAuth (claude.ai, ChatGPT) need Senlo Cloud's OAuth sign-in, which is coming.
Self-hosting
The image is ghcr.io/igorfilippov3/senlo-mcp (:latest for releases, :main for the newest commit; amd64 and arm64). Next to Senlo's own docker-compose.yml:
services:
mcp:
image: ghcr.io/igorfilippov3/senlo-mcp:latest
container_name: senlo-mcp
restart: always
environment:
# Senlo inside the compose network.
SENLO_API_URL: http://app:3000
# Senlo as your app reaches it: the send snippets use this address.
SENLO_PUBLIC_URL: https://senlo.example.com
depends_on:
- appThen route /mcp to it in your reverse proxy. Caddy:
senlo.example.com {
handle /mcp* {
reverse_proxy senlo-mcp:3000
}
handle {
reverse_proxy senlo-app:3000
}
}The server answers GET /health with 200; the image's health check uses it.
Environment variables
Variable | Default | |
| (required) | Where the server calls Senlo's API v1. May be an internal address |
|
| The Senlo address in the send snippets: the one your app reaches |
|
| |
|
| |
|
| The MCP endpoint's path |
| (none) | Browser origins allowed to call the server, comma-separated hostnames. Agents and desktop clients send no |
The server is stateless: run as many copies as you like behind a load balancer. It logs JSON lines to stdout.
Development
Node 22 and pnpm.
pnpm install
cp .env.example .env # SENLO_API_URL of a Senlo with API v1
pnpm dev # http://localhost:3000/mcp, reloads on change
pnpm typecheck
pnpm test
pnpm build && pnpm startpnpm dev doesn't read .env by itself: set -a; . ./.env; set +a; pnpm dev, or pass the variables inline. To try it against a local Senlo, npx @modelcontextprotocol/inspector and connect to http://localhost:3000/mcp with the header Authorization: Bearer snl_....
The tests run the real server in process, with an MCP client in front and a fake Senlo behind (test/fake-senlo.ts): no network, no Senlo needed.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Transactional email for AI agents: templates, domain verify, and sends.
Send transactional emails for AI agents via SMTP. Templates included.
Related MCP Servers
AlicenseAqualityDmaintenanceEnables AI agents to send emails, manage campaigns, subscribers, templates, and domains via the SendCraft email API.26MIT- AlicenseAqualityBmaintenanceEnables AI agents to send transactional emails through Quolle, including sending, batching, canceling, and checking delivery status of emails.615 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to send transactional email, authenticate sending domains, track delivery, and diagnose deliverability issues programmatically.13264 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to send transactional emails and manage email infrastructure through the AgentiSend API, including domain verification, budgeted keys, and message logs.46MIT