# Dropscan MCP server

> Lets an AI client list mailings, download scanned letter files, and manage physical mail actions like forwarding or destroying letters.

- Repository: https://github.com/bitterdev/dropscan-mcp
- Page: https://hostedmcp.org/servers/bitterdev/dropscan-mcp
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add --env 'DROPSCAN_API_TOKEN=<YOUR_DROPSCAN_API_TOKEN>' dropscan-mcp -- uvx dropscan-mcp
```

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

```json
{
  "mcpServers": {
    "dropscan-mcp": {
      "command": "uvx",
      "args": [
        "dropscan-mcp"
      ],
      "env": {
        "DROPSCAN_API_TOKEN": "<YOUR_DROPSCAN_API_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "dropscan-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dropscan-mcp"
      ],
      "env": {
        "DROPSCAN_API_TOKEN": "<YOUR_DROPSCAN_API_TOKEN>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"dropscan-mcp","type":"stdio","command":"uvx","args":["dropscan-mcp"],"env":{"DROPSCAN_API_TOKEN":"<YOUR_DROPSCAN_API_TOKEN>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "dropscan-mcp": {
      "command": "uvx",
      "args": [
        "dropscan-mcp"
      ],
      "env": {
        "DROPSCAN_API_TOKEN": "<YOUR_DROPSCAN_API_TOKEN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add dropscan-mcp --env 'DROPSCAN_API_TOKEN=<YOUR_DROPSCAN_API_TOKEN>' -- uvx dropscan-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.dropscan-mcp]
command = "uvx"
args = ["dropscan-mcp"]

[mcp_servers.dropscan-mcp.env]
DROPSCAN_API_TOKEN = "<YOUR_DROPSCAN_API_TOKEN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'DROPSCAN_API_TOKEN=<YOUR_DROPSCAN_API_TOKEN>' dropscan-mcp uvx -- dropscan-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "dropscan-mcp": {
      "command": "uvx",
      "args": [
        "dropscan-mcp"
      ],
      "env": {
        "DROPSCAN_API_TOKEN": "<YOUR_DROPSCAN_API_TOKEN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DROPSCAN_API_TOKEN` | yes | yes | Personal access token for the Dropscan REST API |
| `DROPSCAN_ALLOW_WRITES` | no | no | Set to 1 to unlock the write and action tools, which also require confirm=true on every call |
| `DROPSCAN_TOKEN` | no | no |  |

## Tools (1)

- `list_scanboxes`

## FAQ

### What happens if I use the destroy action?

The action is irreversible and the physical letter will be shredded.
