Skip to content

MCP server for AI assistants

Vaartix works with AI assistants such as Claude, Cursor and VS Code through the Model Context Protocol (MCP). They can send email and look up delivery status, emails and domains for you. There are two ways to connect, with the same tools:

Hosted (sign in) Local (npx)
Server https://mcp.vaartix.com npx -y vaartix-mcp on your computer
Sign-in Your Vaartix login (OAuth): pick the team and permissions An API key in your config
Install Nothing Node.js 20 or later
Disconnect Settings → Connected apps Revoke the API key
Works in Claude (web, desktop, mobile), Claude Code, Cursor, VS Code and other remote MCP clients Clients that run local (stdio) servers

Add https://mcp.vaartix.com to your AI app and sign in with your Vaartix login. Step-by-step for each app: Connect Claude, Cursor or VS Code.

Before connecting an app, read Using Vaartix with AI agents safely: what an app can and can’t do, the safe defaults, approvals, and how to see and stop what it does.

vaartix-mcp runs on your own computer and calls the Vaartix API with an API key. It’s on npm as vaartix-mcp and the source is on GitHub at vaartix-mail/vaartix-mcp. It needs Node.js 20 or later.

Tool What it does API key
send_email Send one email: HTML and/or text, cc, bcc, reply-to, tags, scheduled sending and an idempotency key Send-only or full access
send_batch Send up to 20 emails in one call Send-only or full access
get_email One email with its status and event timeline; its body only when asked for, and only if the key may read content Full access
list_emails Recent emails, filtered by status, search text or number of days Full access
cancel_email Cancel a scheduled email Full access
list_domains Your sending domains, with verification status and DNS records Full access
get_domain One domain: whether it’s verified, and the DNS records it needs Full access

In the dashboard, open API keys and create a key for the assistant. When asked Is this key for an AI agent or MCP server?, choose Yes, an AI agent. The key then starts with safe limits:

  • it can’t read email content (bodies and headers);
  • it can only send to test addresses;
  • at most 20 emails an hour and 50 a day.

It shows as AI agent key in the list. When you’re happy with what the assistant does, an owner or admin can change the limits with Limits next to the key, for example to allow your own address or domain. Widening a limit asks for a confirmation code.

For sending only, create a send-only key limited to your domain. Use a full-access key only if you also want the assistant to read your email logs: get_email, list_emails and cancel_email need one. See API keys.

Open Settings → Developer → Edit Config, and add the server to the config file:

claude_desktop_config.json
{
"mcpServers": {
"vaartix": {
"command": "npx",
"args": ["-y", "vaartix-mcp"],
"env": { "VAARTIX_API_KEY": "vx_your_api_key" }
}
}
}

Then restart Claude Desktop.

Variable Required Default
VAARTIX_API_KEY Yes
VAARTIX_BASE_URL No https://api.vaartix.com
  • “Send a test email to [email protected]”
  • “How many emails bounced today?”
  • “Did the order confirmation to [email protected] get delivered?”
  • “Show me emails that bounced in the last 7 days”
  • “Cancel my scheduled email em_…”

Reading questions need a full-access key (or, on the hosted server, the read permission); with a send-only key the assistant can only send.

  • The key lives only in your local config. Don’t paste it into a chat with the assistant.
  • Keep the config out of shared or committed files: anyone who can read it can send email as you.
  • Create it as an AI agent key, and widen its limits only as far as you need. More in Using Vaartix with AI agents safely.
  • Prefer a send-only key limited to one domain. It can send, but it can’t read your emails, change domains or manage keys.
  • If a key leaks, revoke it in the dashboard under API keys and create a new one.

https://vaartix.com/docs/mcp is a second MCP server, for these docs: your assistant can search them (search_docs) and read any page as markdown (get_page). It’s read-only, needs no sign-in and can’t see anything in your Vaartix account. Add it like the hosted server, for example in Claude Code:

Terminal window
claude mcp add --transport http vaartix-docs https://vaartix.com/docs/mcp

Both servers are listed in vaartix.com/.well-known/ai-catalog.json, each with a Server Card (docs server, hosted server), for tools that discover MCP servers by domain.

Building your own integration instead? Use the Node.js, Python or PHP SDK, or the REST API.