Purelymail MCP
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.
Purelymail MCP
Manage your Purelymail account from any MCP client
Features • Getting started • Configuration • Tools • Security • Development
An MCP server that gives AI assistants access to the Purelymail API. Ask for what you need in plain language, and let your assistant handle mailboxes, domains and routing for you:
Which of my domains are failing DNS checks?
Create
sales@example.comand forwardhello@example.comto it.
How much account credit do I have left?
Features
Full API coverage: all 19 operations, across users, password reset methods, app passwords, routing rules, domains and billing.
Read-only mode: expose only the 7 tools that cannot change anything.
Safety annotations: tools are marked as read-only or destructive, so clients can ask for confirmation.
Reliable error reporting: failures are detected from the response body, because the API reports them with HTTP 200.
Nothing to install: MCP clients run the package through
npx.
Related MCP server: nice
Getting started
You need Node.js 20 or later and an API token from your Purelymail account settings.
Claude Code
claude mcp add purelymail \
-e PURELYMAIL_API_TOKEN=your-token \
-- npx -y @amplia-labs/purelymail-mcpOther MCP clients
Add the server to your client's MCP configuration:
{
"mcpServers": {
"purelymail": {
"command": "npx",
"args": ["-y", "@amplia-labs/purelymail-mcp"],
"env": { "PURELYMAIL_API_TOKEN": "your-token" }
}
}
}Trying it for the first time? SetPURELYMAIL_READ_ONLY to true and ask for your account credit. It confirms that everything works without changing your account.
Configuration
Variable | Required | Description |
| Yes | API token from your Purelymail account settings |
| No | Set to |
Tools
Area | Read | Write | Destructive |
Users |
|
|
|
Password reset |
|
| |
App passwords |
|
| |
Routing |
|
|
|
Domains |
|
|
|
Billing |
|
Tools that can lock someone out of an account, such as modify_user, are also marked as destructive.
API notes
list_password_reset_methodsreturns the methods under a key namedusers. That name comes from the API.delete_password_reset_methodrequirestarget, even though the API spec marks it as optional, because the spec does not say what happens without it.delete_app_passwordneeds the full password, because the API cannot list app passwords.Requests are never retried automatically. After a timeout, check the current state before repeating a write.
Security
The API token grants administrative access to your whole account.delete_domain deletes a domain and all of its users. Use read-only mode unless you need to make changes, and review destructive actions before approving them.
Passwords given tocreate_user and modify_user, and those returned by create_app_password, pass through the model's context and your client's conversation history. Rotate any that are sensitive afterwards.
Development
git clone https://github.com/amplia-labs/purelymail-mcp.git
cd purelymail-mcp
npm install
npm run buildTo try a local build, use node /path/to/purelymail-mcp/dist/index.js as the command in your MCP client. Development tools require Node.js 20.19 or later.
Command | Description |
| Runs types, linting, formatting, knip, jscpd, build and tests |
| Fixes linting issues |
| Formats the code |
| Describes a change for the next release |
Tests use a fake HTTP server and never call the real API.
Releasing
Releases are automated with Changesets:
Add a changeset to any pull request that changes the package.
After it merges, the publish workflow opens a Version Packages pull request.
Merging that pull request runs all checks and publishes to npm through trusted publishing, so no npm token is stored in the repository.
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
Hosted email for AI agents: create inboxes, send, receive, and reply over MCP with scoped API keys
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP control plane for AI developers managing customer mail, DNS, projects, keys, and diagnostics.
Related MCP Servers
- AlicenseCqualityCmaintenanceProvides AI assistants with access to PurelyMail's email management API, enabling user, domain, routing, and billing management through natural language.1943 npm13MIT
- AlicenseNot gradedqualityDmaintenanceProvides a secure MCP gateway for AI agents to access APIs without exposing raw credentials, with scoped access, audit logging, and OAuth support.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read, search, sort, draft, and send email from connected mailboxes through MCP tools, with access controlled by per-token permissions.182MIT
- AlicenseBqualityBmaintenanceEnables management of LWS client accounts through MCP clients like Claude, Cursor or Codex, covering domains, DNS records and propagation checks, hosting plans, renewals and contacts via the full LWS Client API. Purchases and write operations stay off unless explicitly enabled, with read-only and sandbox modes available.2626 PyPIMIT