npm @mailsink/mcpstdioMITupdated 18d ago
Model Context Protocol server for MailSink — programmatic temporary email inboxes for AI agents and test automation.
¿Qué puedes hacer con mailsink?
@mailsink/mcp
Model Context Protocol server for MailSink — programmatic temporary email inboxes for AI agents and test automation.
Gives your agent eight typed tools for provisioning disposable addresses, waiting on signup emails, extracting OTP codes and magic links, and cleaning up after itself. Works in Claude Code, Claude Desktop, Cursor, Windsurf, and any other MCP-aware client.
Install
npm install -g @mailsink/mcp
Or run via npx without installing:
npx @mailsink/mcp
Get an API key
-
Sign in at https://mailsink.dev/app with GitHub.
-
Copy the key from the one-time reveal. Store it in your password manager or
.env. -
Export it so the MCP server can read it:
export MAILSINK_API_KEY="msk_..."
Free tier is 50 inboxes/month and includes MCP. Pro ($15/mo) and Team ($49/mo) lift the inbox cap, raise email size limits, extend TTL, and bump request rates. See pricing.
Configure your client
Claude Code
claude mcp add mailsink -- npx -y @mailsink/mcp
Claude Desktop / Cursor / Windsurf
Add to the mcpServers section of the client's config file:
{
"mcpServers": {
"mailsink": {
"command": "npx",
"args": ["-y", "@mailsink/mcp"],
"env": {
"MAILSINK_API_KEY": "msk_..."
}
}
}
}
Restart the client. You should see the mailsink server listed with its
eight tools.
Tools
| Tool | Purpose |
|---|---|
create_inbox |
Provision a throwaway address. Returns email, id, expires_at. |
list_inboxes |
List active inboxes on the account. |
wait_for_email |
Block up to timeout seconds (max 120) for any email to arrive. |
get_verification_code |
Extract the most recent OTP from the inbox (polls until found or timeout). |
get_verification_link |
Extract the most recent magic link. |
list_messages |
Summaries of all messages in an inbox. |
get_message |
Full content of a specific message by ID. |
delete_inbox |
Burn an inbox immediately. |
Example agent flow
> Sign me up for Figma, capture the verification code, confirm, and
> tell me the plan once you're in.
[agent invokes]
create_inbox() → agent@codenotify.net
[agent fills the Figma signup form with that address]
wait_for_email(inbox_id) → blocks 30s…
→ returns email + OTP
[agent types the OTP into the Figma form]
delete_inbox(inbox_id) → cleanup
No webhook plumbing. No IMAP credentials. No parsing MIME.
Environment variables
MAILSINK_API_KEY(required) — your account's API key.MAILSINK_API_URL(optional, defaulthttps://api.mailsink.dev) — override for self-hosted or dev API.
Source
https://github.com/heocoi/mailsink/tree/main/mcp
License
MIT — see LICENSE.
Instalación
Añade mailsink a tu cliente. Elige el que uses.
claude mcp add mcp -- npx -y @mailsink/mcpcodex mcp add mcp -- npx -y @mailsink/mcpamp mcp add mcp -- npx -y @mailsink/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mailsink/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mailsink/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@mailsink/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mailsink/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mailsink/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mailsink/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@mailsink/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@mailsink/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @mailsink/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
8 herramientas
mailsink expone 8 herramientas a un agente conectado.
- create_inbox
- Provision a throwaway address. Returns `email`, `id`, `expires_at`.
- list_inboxes
- List active inboxes on the account.
- wait_for_email
- Block up to `timeout` seconds (max 120) for any email to arrive.
- get_verification_code
- Extract the most recent OTP from the inbox (polls until found or timeout).
- get_verification_link
- Extract the most recent magic link.
- list_messages
- Summaries of all messages in an inbox.
- get_message
- Full content of a specific message by ID.
- delete_inbox
- Burn an inbox immediately.
Puntuación
72 / 100
Buena
- Documentación22/25
- Mantenimiento19/25
- Confianza13/20
- Capacidad6/15
- Instalación12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 11 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 8 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Historial de versiones
| Versiones | Publicada |
|---|---|
| 0.1.5Última | 21 ago 2026 |