Mailprotector

v1.0.1
io.github.wyre-technology/mailprotector-mcp Checked 2 days ago Published 3 months ago

MCP server for Mailprotector — customers, domains, users, quarantine, allow/block rules for MSPs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

mailprotector_status

Verify Mailprotector credentials and report connection info for the bound reseller (GET /resellers/{resellerId}).

mailprotector_list_categories

List the Mailprotector tool categories reachable through mailprotector_execute_tool (resellers, customers, domains, user_groups, users, managers, configuration, statements, email_routing, user_syncs, notifications, results).

mailprotector_list_category_tools

List the tools in one Mailprotector category: names, descriptions, input schemas, and destructive-action annotations. Use before mailprotector_execute_tool.

ParameterTypeDescription
category *stringCategory name from mailprotector_list_categories.

mailprotector_execute_tool

Execute a routed Mailprotector operation by category + tool name with the arguments described by mailprotector_list_category_tools. Some routed tools are destructive (marked ⚠ in their descriptions) and are individually confirmation-gated.

ParameterTypeDescription
category *stringCategory name from mailprotector_list_categories.
tool *stringTool name within the category, from mailprotector_list_category_tools.
argsobjectArguments for the routed tool (per its input schema).

mailprotector_customers_list

List customer accounts under a reseller (defaults to the bound reseller).

ParameterTypeDescription
filtersobjectArbitrary field filters passed straight to the query string (e.g. {"first_name": "Bob"} or {"name": "example.com"}).
pagenumber1-based page number. Message lists cap at 50 results per page.
reseller_idnumberReseller id. Defaults to the reseller bound by the credentials.

mailprotector_customers_get

Get a customer account by id.

ParameterTypeDescription
customer_id *numberCustomer id.

mailprotector_customers_create

Create a customer account under a reseller (defaults to the bound reseller).

ParameterTypeDescription
name *stringCustomer name.
dataobjectAdditional fields to include in the request body.
reseller_idnumberReseller id. Defaults to the reseller bound by the credentials.

mailprotector_domains_list

List domains under a reseller or customer.

ParameterTypeDescription
scope *stringEntity scope for this operation (reseller | customer).
filtersobjectArbitrary field filters passed straight to the query string (e.g. {"first_name": "Bob"} or {"name": "example.com"}).
pagenumber1-based page number. Message lists cap at 50 results per page.
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.

mailprotector_domains_get

Get a domain by id.

ParameterTypeDescription
domain_id *numberDomain id.

mailprotector_domains_create

Create a domain under a customer.

ParameterTypeDescription
customer_id *numberOwning customer id.
name *stringDomain name (e.g. "example.com").
dataobjectAdditional fields to include in the request body.

mailprotector_users_list

List mail users under a reseller, customer, domain, or user group.

ParameterTypeDescription
scope *stringEntity scope for this operation (reseller | customer | domain | user_group).
filtersobjectArbitrary field filters passed straight to the query string (e.g. {"first_name": "Bob"} or {"name": "example.com"}).
pagenumber1-based page number. Message lists cap at 50 results per page.
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.

mailprotector_users_get

Get a mail user by id.

ParameterTypeDescription
user_id *numberUser id.

mailprotector_users_find_by_address

Look up a mail user by any of their email addresses.

ParameterTypeDescription
address *stringEmail address to look up.

mailprotector_user_groups_list

List user groups (service containers) within a domain.

ParameterTypeDescription
domain_id *numberDomain id.
filtersobjectArbitrary field filters passed straight to the query string (e.g. {"first_name": "Bob"} or {"name": "example.com"}).
pagenumber1-based page number. Message lists cap at 50 results per page.

mailprotector_messages_list

List quarantined messages at any scope (max 50 per page). Defaults to the bound reseller when scope is "reseller".

ParameterTypeDescription
scope *stringEntity scope for this operation (reseller | customer | domain | user_group | user).
filtersobjectArbitrary field filters passed straight to the query string (e.g. {"first_name": "Bob"} or {"name": "example.com"}).
pagenumber1-based page number. Message lists cap at 50 results per page.
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.

mailprotector_messages_release

⚠ HIGH-IMPACT. Releases (delivers) a single quarantined message to its recipients. Confirm with the user before invoking.

ParameterTypeDescription
message_id *numberQuarantined message id.
include_original_recipientsbooleanAlso deliver to the original recipients.
recipientsstringComma-separated additional recipient addresses.

mailprotector_messages_release_many

⚠ HIGH-IMPACT. Releases (delivers) several quarantined messages at a scope in one call. Confirm with the user before invoking.

ParameterTypeDescription
ids *arrayIds of the quarantined messages to release.
scope *stringEntity scope for this operation (reseller | customer | domain | user_group | user).
include_original_recipientsbooleanAlso deliver to the original recipients.
recipientsstringComma-separated additional recipient addresses.
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.

mailprotector_allow_block_rules_list

List allow/block rules at any scope.

ParameterTypeDescription
scope *stringEntity scope for this operation (reseller | customer | domain | user_group | user).
filtersobjectArbitrary field filters passed straight to the query string (e.g. {"first_name": "Bob"} or {"name": "example.com"}).
pagenumber1-based page number. Message lists cap at 50 results per page.
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.

mailprotector_allow_block_rules_create

⚠ HIGH-IMPACT. Creates an allow or block rule at a scope — changes mail filtering for every mailbox under that scope. Confirm with the user before invoking.

ParameterTypeDescription
rule_type *stringRule type.
scope *stringEntity scope for this operation (reseller | customer | domain | user_group | user).
value *stringAddress, domain, or IP the rule matches (e.g. "spam.example.com").
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.

mailprotector_allow_block_rules_delete

⚠ DESTRUCTIVE — IRREVERSIBLE. Permanently deletes an allow/block rule by id. This action cannot be undone. Confirm with the user before invoking.

ParameterTypeDescription
rule_id *numberAllow/block rule id.

mailprotector_logs_list

List message-log entries at any scope. Result codes in results_data can be explained via the results category (mailprotector_execute_tool).

ParameterTypeDescription
scope *stringEntity scope for this operation (reseller | customer | domain | user_group | user).
filtersobjectArbitrary field filters passed straight to the query string (e.g. {"first_name": "Bob"} or {"name": "example.com"}).
pagenumber1-based page number. Message lists cap at 50 results per page.
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.

mailprotector_configuration_get

Get the configuration document for a reseller, customer, domain, or user group.

ParameterTypeDescription
scope *stringEntity scope for this operation (reseller | customer | domain | user_group).
scope_idnumberId of the entity at the chosen scope. Optional when scope is "reseller" — defaults to the reseller bound by the credentials.