Mails.ai MCP
An official MCP server for Mails.ai that allows AI agents to send, receive, and thread emails. It provides a real inbox for agents, handles prompt injection scanning, and supports features like scheduled sends, drafts, and structured reply events with injection scores.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Send emails from AI agents via REST or SDK
- Receive and process email replies as structured events
- Scan inbound emails for prompt injection attacks
- Manage email drafts and scheduled sends
Source and maintenance
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@mailsai/mcp-server 0.5.0
{
"version": "0.5.0",
"transport": "stdio",
"identifier": "@mailsai/mcp-server",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MAILS_API_KEY",
"isRequired": true,
"description": "Your mails.ai API key. Use an mk_test_ key to run against the sandbox or an mk_live_ key to send real mail. Free key at https://mails.ai"
},
{
"name": "MAILS_BASE_URL",
"description": "Override the API base URL. Defaults to the hosted mails.ai API; only needed for staging or self-hosted deployments."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mails-ai-mcp-mailsai-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server@0.5.0"
],
"env": {
"MAILS_API_KEY": "<YOUR_MAILS_API_KEY>",
"MAILS_BASE_URL": "<YOUR_MAILS_BASE_URL>"
}
}
}
}Cline
{
"mcpServers": {
"mails-ai-mcp-mailsai-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server@0.5.0"
],
"env": {
"MAILS_API_KEY": "<YOUR_MAILS_API_KEY>",
"MAILS_BASE_URL": "<YOUR_MAILS_BASE_URL>"
}
}
}
}VS Code
{
"servers": {
"mails-ai-mcp-mailsai-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server@0.5.0"
],
"env": {
"MAILS_API_KEY": "<YOUR_MAILS_API_KEY>",
"MAILS_BASE_URL": "<YOUR_MAILS_BASE_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mails-ai-mcp-mailsai-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server@0.5.0"
],
"env": {
"MAILS_API_KEY": "<YOUR_MAILS_API_KEY>",
"MAILS_BASE_URL": "<YOUR_MAILS_BASE_URL>"
}
}
}
}Let your agent find its tools
Find servers like Mails.ai MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.