Mailprotector
v1.0.1MCP server for Mailprotector — customers, domains, users, quarantine, allow/block rules for MSPs.
Values you need
| Variable | What it is | |
|---|---|---|
MAILPROTECTOR_API_KEY | required secret | Mailprotector API key (per manager-role, from the web console profile page) |
MAILPROTECTOR_RESELLER_ID | required | The MSP's reseller id in Mailprotector (the default scope for scoped tools) |
MAILPROTECTOR_BASE_URL | optional | API host override Default: https://emailservice.io |
MCP_TRANSPORT | optional | Transport mode. Set to 'stdio' for local CLI use; the image defaults to 'http' for gateway hosting. Default: stdio |
AUTH_MODE | optional | Credential source: 'env' reads vars locally, 'gateway' expects header injection from the WYRE MCP Gateway. The image defaults to 'gateway'. Default: env |
LOG_LEVEL | optional | Log verbosity: debug, info, warn, error Default: info |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add mailprotector-mcp -e 'MAILPROTECTOR_API_KEY=<MAILPROTECTOR_API_KEY>' -e 'MAILPROTECTOR_RESELLER_ID=<MAILPROTECTOR_RESELLER_ID>' -- docker run -i --rm -e MAILPROTECTOR_API_KEY -e MAILPROTECTOR_RESELLER_ID ghcr.io/wyre-technology/mailprotector-mcp:v1.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"mailprotector-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"MAILPROTECTOR_API_KEY",
"-e",
"MAILPROTECTOR_RESELLER_ID",
"ghcr.io/wyre-technology/mailprotector-mcp:v1.0.1"
],
"command": "docker",
"env": {
"MAILPROTECTOR_API_KEY": "<MAILPROTECTOR_API_KEY>",
"MAILPROTECTOR_RESELLER_ID": "<MAILPROTECTOR_RESELLER_ID>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mailprotector-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"MAILPROTECTOR_API_KEY",
"-e",
"MAILPROTECTOR_RESELLER_ID",
"ghcr.io/wyre-technology/mailprotector-mcp:v1.0.1"
],
"command": "docker",
"env": {
"MAILPROTECTOR_API_KEY": "<MAILPROTECTOR_API_KEY>",
"MAILPROTECTOR_RESELLER_ID": "<MAILPROTECTOR_RESELLER_ID>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MAILPROTECTOR_API_KEY",
"id": "mailprotector-api-key",
"password": true,
"type": "promptString"
},
{
"description": "MAILPROTECTOR_RESELLER_ID",
"id": "mailprotector-reseller-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"mailprotector-mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"MAILPROTECTOR_API_KEY",
"-e",
"MAILPROTECTOR_RESELLER_ID",
"ghcr.io/wyre-technology/mailprotector-mcp:v1.0.1"
],
"command": "docker",
"env": {
"MAILPROTECTOR_API_KEY": "${input:mailprotector-api-key}",
"MAILPROTECTOR_RESELLER_ID": "${input:mailprotector-reseller-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mailprotector-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "MAILPROTECTOR_API_KEY", "-e", "MAILPROTECTOR_RESELLER_ID", "ghcr.io/wyre-technology/mailprotector-mcp:v1.0.1"]
env = { "MAILPROTECTOR_API_KEY" = "<MAILPROTECTOR_API_KEY>", "MAILPROTECTOR_RESELLER_ID" = "<MAILPROTECTOR_RESELLER_ID>" }For AI agents
- Ask the user for: MAILPROTECTOR_API_KEY, MAILPROTECTOR_RESELLER_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: mailprotector_status, mailprotector_list_categories, mailprotector_list_category_tools, mailprotector_execute_tool, mailprotector_customers_list, mailprotector_customers_get, mailprotector_customers_create, mailprotector_domains_list, ….
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json