MCP Server
Let your AI agent send email directly — without writing API calls. Claude Code, Cursor, Windsurf, and any MCP-compatible client can use tinysend as a tool.
Model Context Protocol (MCP) is an open standard that lets AI agents call external tools and services directly. Instead of your agent generating an API call that your code must execute, the agent calls the tool itself — including sending email.
tinysend ships an MCP server. Add it to your AI client config, and your agent gains a send_email tool it can call natively — with full visibility into what it's sending.
npx @tinysend/mcp
Or install globally: npm install -g @tinysend/mcp
For Claude Code (~/.claude/settings.json):
{
"mcpServers": {
"tinysend": {
"command": "npx",
"args": ["-y", "@tinysend/mcp"],
"env": {
"TINYSEND_API_KEY": "ts_live_xxxxxxxxxxxx",
"TINYSEND_FROM": "[email protected]"
}
}
}
}For Cursor (.cursor/mcp.json):
{
"mcpServers": {
"tinysend": {
"command": "npx",
"args": ["-y", "@tinysend/mcp"],
"env": {
"TINYSEND_API_KEY": "ts_live_xxxxxxxxxxxx",
"TINYSEND_FROM": "[email protected]"
}
}
}
} Create a free account and generate an API key at tinysend.co/api-keys. The TINYSEND_FROM address must be from an authenticated domain.
Once configured, your AI agent has access to these tools:
send_emailcoreSend a transactional email to one or more recipients.
enroll_sequencesequencesEnroll a contact in a drip email sequence (e.g. onboarding flow).
check_deliveryobservabilityCheck delivery status of a previously sent email by message ID.
Once the MCP server is connected, you can ask your AI agent to send emails naturally:
User prompt:
"Send a welcome email to [email protected] — introduce tinysend and include the getting started link."
Agent calls send_email:
{
"to": "[email protected]",
"subject": "Welcome to tinysend",
"body": "<p>Hi Alice, welcome to tinysend! ...</p>",
"idempotency_key": "welcome-alice-2026-03-31"
}tinysend supports BYOK delivery — use your own AWS SES, SendGrid, or Mailgun credentials as the sending provider, while tinysend handles the API surface, sequencing, and analytics. Your keys stay in your account and never pass through tinysend's servers.
Configure providers under Settings → Providers.
Quick start and language guides
Full API reference with examples
Why tinysend is built for agents
Free plan, no credit card. Up and running in 5 minutes.
Start for free