# Capimail

> Capimail is an MCP server. Email for AI agents: send, receive and reply in threads, validate addresses, OTP, docs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** io.github.lelianto/capimail
- **Listing updated:** 2026-11-13

## About

Email for AI agents: send, receive and reply in threads, validate addresses, OTP, docs.

## Install

### Claude Code (Terminal)

```sh
claude mcp add capimail --env CAPIMAIL_API_KEY='<CAPIMAIL_API_KEY>' -- npx -y @capimail/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "capimail": {
      "command": "npx",
      "args": [
        "-y",
        "@capimail/mcp"
      ],
      "env": {
        "CAPIMAIL_API_KEY": "<CAPIMAIL_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "capimail": {
      "command": "npx",
      "args": [
        "-y",
        "@capimail/mcp"
      ],
      "env": {
        "CAPIMAIL_API_KEY": "<CAPIMAIL_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "capimail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@capimail/mcp"
      ],
      "env": {
        "CAPIMAIL_API_KEY": "<CAPIMAIL_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "capimail": {
      "command": "npx",
      "args": [
        "-y",
        "@capimail/mcp"
      ],
      "env": {
        "CAPIMAIL_API_KEY": "<CAPIMAIL_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "capimail": {
      "command": "npx",
      "args": [
        "-y",
        "@capimail/mcp"
      ],
      "env": {
        "CAPIMAIL_API_KEY": "<CAPIMAIL_API_KEY>"
      }
    }
  }
}
```

## FAQ

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

Run this command in your terminal: claude mcp add capimail --env CAPIMAIL_API_KEY='<CAPIMAIL_API_KEY>' -- npx -y @capimail/mcp

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