Mailrith Email Marketing
v2.1.0Manage Subscribers, Broadcasts, Sequences, Automations, and reporting in Mailrith.
Values you need
| Variable | What it is | |
|---|---|---|
MAILRITH_API_KEY | required secret | A Mailrith workspace API key. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mailrith -e 'MAILRITH_API_KEY=<MAILRITH_API_KEY>' -- npx -y --package=@mailrith/mcp-server@2.1.0 mailrith-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mailrith": {
"args": [
"-y",
"--package=@mailrith/mcp-server@2.1.0",
"mailrith-mcp"
],
"command": "npx",
"env": {
"MAILRITH_API_KEY": "<MAILRITH_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mailrith": {
"args": [
"-y",
"--package=@mailrith/mcp-server@2.1.0",
"mailrith-mcp"
],
"command": "npx",
"env": {
"MAILRITH_API_KEY": "<MAILRITH_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MAILRITH_API_KEY",
"id": "mailrith-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mailrith": {
"args": [
"-y",
"--package=@mailrith/mcp-server@2.1.0",
"mailrith-mcp"
],
"command": "npx",
"env": {
"MAILRITH_API_KEY": "${input:mailrith-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mailrith]
command = "npx"
args = ["-y", "--package=@mailrith/mcp-server@2.1.0", "mailrith-mcp"]
env = { "MAILRITH_API_KEY" = "<MAILRITH_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mailrith https://api.mailrith.com/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mailrith": {
"args": [
"-y",
"mcp-remote",
"https://api.mailrith.com/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mailrith": {
"url": "https://api.mailrith.com/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mailrith": {
"type": "http",
"url": "https://api.mailrith.com/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mailrith]
command = "npx"
args = ["-y", "mcp-remote", "https://api.mailrith.com/mcp"]For AI agents
- Ask the user for: MAILRITH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: discovery_get_capabilities, workspace_get, sender_identities_list, sender_identities_get, analytics_create_report, analytics_get_report, subscribers_list, subscribers_get, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json