agentisend
# AgentiSend — MCP server (stdio launcher)
AgentiSend is a transactional email API for applications and AI agents: Resend-compatible requests, a send budget on every key, a kill switch, and refusals that name the fix. Verify a domain, create a key with a budget, send over REST or MCP, and read a log that says what happened to every message.
This package is the stdio launcher for clients that start a command and talk over pipes rather than speaking HTTP MCP. It is a proxy, not a second implementation: every tool, resource and prompt is forwarded to the hosted server at `https://api.agentisend.com/mcp` with your key, so what you get here is exactly what an HTTP client gets — the same catalogue, the same budgets, the same stops, and refusals with their `fix` field intact.
## Install
```bash
npm install -g @agentisend/mcp-server
```
Most clients do not need that: `npx -y @agentisend/mcp-server` fetches it on first launch.
## Add it to your MCP client
```json
{
"mcpServers": {
"agentisend": {
"command": "npx",
"args": ["-y", "@agentisend/mcp-server"],
"env": { "AGENTISEND_API_KEY": "your-key" }
}
}
}
```
| Variable | Required | Meaning |
|---|---|---|
| `AGENTISEND_API_KEY` | to run tools | Your API key, from https://console.agentisend.com/api-keys. Read from the environment only — never passed as an argument, because process arguments are visible to every other process on the machine. |
| `AGENTISEND_MCP_URL` | no | The hosted endpoint this launcher proxies to. Defaults to `https://api.agentisend.com/mcp`. |
Without a key the server still starts and lists its tools, resources and prompts, from a copy of the hosted server's default listing bundled in the package (`catalogue.json`), so a directory or a host can see what it offers. Every tool call, resource read and prompt then answers with how to set the key. With a key, nothing comes from that copy.
## Docker
```bash
docker build -t agentisend-mcp .
docker run -i --rm -e AGENTISEND_API_KEY agentisend-mcp
```
`--help` prints the config above. `--version` prints the version. Both work without a key.
## Send
Once connected, this is one turn:
> Send a receipt to customer@example.com from receipts@yourdomain.com.
The agent calls `send_email`. `preflight_email` runs every gate a real send runs, sends nothing and costs nothing. Every 4xx returns `code`, `message` and `fix`. There is no tool for unsolicited mail.
## Connecting over HTTP instead
Point any HTTP MCP client at `https://api.agentisend.com/mcp`. Auth is a bearer API key or OAuth 2.1 with dynamic client registration — no launcher, no install.
## Links
- Docs: <https://agentisend.com/docs> · MCP guide: <https://agentisend.com/docs/guides/mcp>
- API contract: <https://agentisend.com/openapi.json>
- MCP endpoint: `https://api.agentisend.com/mcp`
- [AGENTS.md](AGENTS.md) — the short version, for an agent doing this without a person.
`server.json` is the Model Context Protocol registry manifest; its `repository` field points at the monorepo the registry entry was claimed from, and is left as the registry has it.
Problems: hello@agentisend.com. Licensed MIT.
This repository is generated from the AgentiSend monorepo; open an issue rather than a pull request.
TDQS
Scored across 46 tools
Most tools have explicit Purpose and NOT for sections that clearly separate send, receive, domain, suppression, contact, webhook, approval and diagnostic workflows. However, the large set creates real overlap between get_email/get_email_events, list_agent_actions/list_pending_approvals, whoami and the specific budget/kill-switch/trust reads, and the several domain verification/setup tools.
The set overwhelmingly uses snake_case with action-oriented names such as send_email, list_domains, verify_domain and create_webhook. A few exceptions stand out, especially whoami and the noun-first domains_setup_link, plus list_more_tools, but the overall convention remains predictable.
The 46-tool surface is far above the typical 3-15 range and is heavy even for a broad email platform, forcing agents to navigate many closely related reads and diagnostics. list_more_tools also adds meta-complexity rather than reducing the load.
Core sending, receiving, domain, suppression, contact, webhook, approval and account-limit workflows are covered. Notable gaps remain: templates support list/render/publish but not create or edit, webhooks lack an update/disable operation, domains lack delete/update operations, and get_metrics is referenced in another description but is absent from this tool set.