# Mailport

> Mailport is an open-source MCP server. Gmail messages, threads, labels, drafts and sending, as MCP tools via the Gmail API. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/cloudcorprecords/mailport
- **MCP Registry name:** io.github.CloudCorpRecords/mailport
- **Listing updated:** 2026-11-13

## About

Gmail messages, threads, labels, drafts and sending, as MCP tools via the Gmail API.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mailport -- npx -y @reneturcios/mailport
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mailport": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/mailport"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mailport": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/mailport"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mailport": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/mailport"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mailport": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/mailport"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mailport": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/mailport"
      ]
    }
  }
}
```

## FAQ

### Is Mailport free?

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

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

Run this command in your terminal: claude mcp add mailport -- npx -y @reneturcios/mailport

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