# Zerosmtp

> Zerosmtp is an open-source MCP server. A free SMTP relay that still takes a username and password, for devices that cannot do OAuth 2.0. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/msgwing/zerosmtp/tree/HEAD/packages/zerosmtp-mcp
- **MCP Registry name:** io.github.msgwing/zerosmtp
- **Listing updated:** 2026-11-13

## About

A free SMTP relay that still takes a username and password, for devices that cannot do OAuth 2.0.

## Install

### Claude Code (Terminal)

```sh
claude mcp add zerosmtp -- npx -y zerosmtp-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "zerosmtp": {
      "command": "npx",
      "args": [
        "-y",
        "zerosmtp-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "zerosmtp": {
      "command": "npx",
      "args": [
        "-y",
        "zerosmtp-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "zerosmtp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "zerosmtp-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "zerosmtp": {
      "command": "npx",
      "args": [
        "-y",
        "zerosmtp-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "zerosmtp": {
      "command": "npx",
      "args": [
        "-y",
        "zerosmtp-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Zerosmtp free?

Yes. Zerosmtp is open source, so you can use and self-host it for free.

### How do I add Zerosmtp to Claude Code?

Run this command in your terminal: claude mcp add zerosmtp -- npx -y zerosmtp-mcp

---
Source: https://ai-powered.com/mcp/zerosmtp
