dropscan-mcp

v0.1.1
io.github.bitterdev/dropscan-mcp Checked 21 hours ago Published 4 months ago

MCP server for the Dropscan postal mail scanning API: read scanned letters, act on mailings.

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

Values you need

VariableWhat it is
DROPSCAN_API_TOKENrequired secret Personal access token for the Dropscan REST API
DROPSCAN_ALLOW_WRITESoptional Set to 1 to unlock the write and action tools, which also require confirm=true on every call

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add dropscan-mcp -e 'DROPSCAN_API_TOKEN=<DROPSCAN_API_TOKEN>' -- uvx --with 'mcp<2' dropscan-mcp==0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "dropscan-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "dropscan-mcp==0.1.0"
      ],
      "command": "uvx",
      "env": {
        "DROPSCAN_API_TOKEN": "<DROPSCAN_API_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "dropscan-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "dropscan-mcp==0.1.0"
      ],
      "command": "uvx",
      "env": {
        "DROPSCAN_API_TOKEN": "<DROPSCAN_API_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DROPSCAN_API_TOKEN",
      "id": "dropscan-api-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "dropscan-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "dropscan-mcp==0.1.0"
      ],
      "command": "uvx",
      "env": {
        "DROPSCAN_API_TOKEN": "${input:dropscan-api-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.dropscan-mcp]
command = "uvx"
args = ["--with", "mcp<2", "dropscan-mcp==0.1.0"]
env = { "DROPSCAN_API_TOKEN" = "<DROPSCAN_API_TOKEN>" }

For AI agents

  1. Ask the user for: DROPSCAN_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_scanboxes, list_mailings, get_mailing, get_mailing_pdf, get_mailing_zip, get_mailing_envelope, get_mailing_plaintext, list_recipients, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json