# simplelogin-mcp

MCP server for creating and managing SimpleLogin email aliases, domains, and routing from compatible MCP clients.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 16
- Author: enthouan
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/enthouan/simplelogin-mcp
- Updated: 2026-10-19
- HTML: https://affpapa.org/en/nevibecode/mcp/simplelogin-mcp

## What it does

Runs locally via stdio or as a persistent HTTP service in Docker Compose. Exposes a tool catalog: random and custom alias creation (`alias_create_random`, `alias_create_custom`), activity inspection (`alias_activity_list`), reverse-alias management for sending (`contact_create`), mailbox and domain operations, account settings. Read operations are bounded, and permanent deletions require explicit `confirm: true`.

For stdio, clone the repo, build with `pnpm build`, point the client config at `dist/index.js`, and set `TRANSPORT=stdio` and `SL_API_KEY`. For Docker Compose, copy `.env.example` to `.env`, fill `SL_API_KEY` and `MCP_AUTH_TOKEN`, run `docker compose up -d`. By default, the HTTP port binds only to `127.0.0.1`. Without a SimpleLogin API key, the server won't start.

## Requirements
- Needs: Docker
- Environment variables: `TRANSPORT`, `SL_API_KEY`, `SL_API_URL`, `SL_REQUEST_TIMEOUT_MS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env TRANSPORT=<TRANSPORT> --env SL_API_KEY=<SL_API_KEY> --env SL_API_URL=<SL_API_URL> --env SL_REQUEST_TIMEOUT_MS=<SL_REQUEST_TIMEOUT_MS> --transport stdio simplelogin-mcp -- docker run -i --rm -e TRANSPORT -e SL_API_KEY -e SL_API_URL -e SL_REQUEST_TIMEOUT_MS ghcr.io/enthouan/simplelogin-mcp:1.0.4
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add simplelogin-mcp --env TRANSPORT=<TRANSPORT> --env SL_API_KEY=<SL_API_KEY> --env SL_API_URL=<SL_API_URL> --env SL_REQUEST_TIMEOUT_MS=<SL_REQUEST_TIMEOUT_MS> -- docker run -i --rm -e TRANSPORT -e SL_API_KEY -e SL_API_URL -e SL_REQUEST_TIMEOUT_MS ghcr.io/enthouan/simplelogin-mcp:1.0.4
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "simplelogin-mcp": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "-e",
                "TRANSPORT",
                "-e",
                "SL_API_KEY",
                "-e",
                "SL_API_URL",
                "-e",
                "SL_REQUEST_TIMEOUT_MS",
                "ghcr.io/enthouan/simplelogin-mcp:1.0.4"
            ],
            "env": {
                "TRANSPORT": "<TRANSPORT>",
                "SL_API_KEY": "<SL_API_KEY>",
                "SL_API_URL": "<SL_API_URL>",
                "SL_REQUEST_TIMEOUT_MS": "<SL_REQUEST_TIMEOUT_MS>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "simplelogin-mcp": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "-e",
                "TRANSPORT",
                "-e",
                "SL_API_KEY",
                "-e",
                "SL_API_URL",
                "-e",
                "SL_REQUEST_TIMEOUT_MS",
                "ghcr.io/enthouan/simplelogin-mcp:1.0.4"
            ],
            "env": {
                "TRANSPORT": "<TRANSPORT>",
                "SL_API_KEY": "<SL_API_KEY>",
                "SL_API_URL": "<SL_API_URL>",
                "SL_REQUEST_TIMEOUT_MS": "<SL_REQUEST_TIMEOUT_MS>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e TRANSPORT=<TRANSPORT> -e SL_API_KEY=<SL_API_KEY> -e SL_API_URL=<SL_API_URL> -e SL_REQUEST_TIMEOUT_MS=<SL_REQUEST_TIMEOUT_MS> simplelogin-mcp docker run -i --rm -e TRANSPORT -e SL_API_KEY -e SL_API_URL -e SL_REQUEST_TIMEOUT_MS ghcr.io/enthouan/simplelogin-mcp:1.0.4
```
Replace <…> with your own values

## When to use it
- create a SimpleLogin email alias from your IDE
- inspect forwarding and blocking activity for an alias
- create a reverse alias for sending through a specific mailbox
- manage routing, domains, and account settings via MCP
- run a local MCP server for SimpleLogin via Docker or stdio

## Example prompts
- Show all my SimpleLogin aliases
- Create a random alias for signing up on a site
- Check activity for alias `hello@mydomain.com` over the last 7 days

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
