Koskamo

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.

Mails.ai MCP logo, by Mails.aiVendor evidenceLocal stdioSource reviewed; not executedOperated by Mails.ai
You need:To get started with mails.ai, you’ll need: An API key
Vendor documentation

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

Vendor evidenceRegistry 0.5.0

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@mailsai/mcp-server 0.5.0

npm
@mailsai/mcp-server package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.