mailer
Print and mail real paper letters in Canada from a PDF. Free sandbox key; humans pay.
我该使用它吗
质量与安全性
发现(1)
- LOW在 get_pricing 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"mailer": {
"url": "https://mailer.websystems.co/mcp"
}
}
}远程端点
https://mailer.websystems.co/mcpstreamable-http它能做什么
工具清单
工具(10)
🟢get_pricing
Prices (CAD), envelope limits and bulk credit packs. No key needed.
输入模式
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟡get_sandbox_key
Create a free sandbox API key. Letters sent with it are never printed, mailed or charged. Use it to test the whole flow.
输入模式
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}⚪buy_credits_link(email, pack_id, amount_cents)
Start buying credit for a NEW live key. Returns a Stripe Checkout URL that a HUMAN must open and pay. After they pay, the live key is emailed to them. Never try to pay on the human's behalf.
输入模式
{
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "The human's email; the live key is sent here."
},
"pack_id": {
"type": "string",
"enum": [
"single",
"pack_25",
"pack_100",
"pack_500",
"pack_2500"
],
"description": "Credit pack. Omit and send amount_cents for a 1:1 top-up."
},
"amount_cents": {
"type": "integer",
"minimum": 1000
}
},
"required": [
"email"
],
"additionalProperties": false
}🟡send_feedback(kind, message, tool, contact)
Tell the mailer team something: a bug, a missing feature, confusing docs, or why you or your human did not go ahead (price, trust, missing option). No key needed. Do not include letter content, addresses or secrets. A person reads every message.
输入模式
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"bug",
"missing_feature",
"confusing",
"pricing",
"blocked",
"praise",
"other"
],
"description": "What kind of feedback this is."
},
"message": {
"type": "string",
"minLength": 5,
"maxLength": 1000,
"description": "What happened or what you wish were different. Plain words."
},
"tool": {
"type": "string",
"description": "Optional: the tool this is about, e.g. send_letter."
},
"contact": {
"type": "string",
"description": "Optional: an email address if you want a reply."
}
},
"required": [
"kind",
"message"
],
"additionalProperties": false
}🟢get_account(api_key)
Mode (test or live) and remaining credit for the key on this connection or in api_key.
输入模式
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "Your mailer key (sandbox or live). Optional if the connection already sends it as 'Authorization: Bearer <key>'."
}
},
"required": [],
"additionalProperties": false
}🟡create_topup_link(pack_id, amount_cents, api_key)
Start a credit top-up for the key on this connection. Returns a Stripe Checkout URL that a HUMAN must open and pay. Credit appears on the key as soon as Stripe confirms the payment.
输入模式
{
"type": "object",
"properties": {
"pack_id": {
"type": "string",
"enum": [
"single",
"pack_25",
"pack_100",
"pack_500",
"pack_2500"
],
"description": "Credit pack. Omit and send amount_cents for a 1:1 top-up."
},
"amount_cents": {
"type": "integer",
"minimum": 1000
},
"api_key": {
"type": "string",
"description": "Your mailer key (sandbox or live). Optional if the connection already sends it as 'Authorization: Bearer <key>'."
}
},
"required": [],
"additionalProperties": false
}🟢preview_letter(pdf_base64, to, service_level, return_address)
Check a letter without sending it: runs the exact validation send_letter uses and returns the exact price, page count and the destination as it will be printed. Nothing is printed, mailed, charged or stored. No key needed. Call this before a live send_letter and show the human the destination and price.
输入模式
{
"type": "object",
"properties": {
"pdf_base64": {
"type": "string",
"description": "The letter as an A4 PDF, base64. Max 5 pages, about 3 MB."
},
"to": {
"type": "object",
"description": "Canadian destination. address_line1 is the recipient name and street line as it should appear on the envelope.",
"properties": {
"address_line1": {
"type": "string"
},
"address_line2": {
"type": "string"
},
"city": {
"type": "string"
},
"province": {
"type": "string",
"description": "2-letter code, e.g. ON"
},
"postal_code": {
"type": "string",
"description": "e.g. M5H 4E7"
}
},
"required": [
"address_line1",
"city",
"province",
"postal_code"
]
},
"service_level": {
"type": "string",
"enum": [
"standard",
"tracked",
"registered"
],
"default": "standard"
},
"return_address": {
"type": "object",
"description": "Optional. Printed top-left. Default: 157 Adelaide Street West, Suite 242"
}
},
"required": [
"pdf_base64",
"to"
],
"additionalProperties": false
}🔴send_letter(pdf_base64, document_name, to, service_level, return_address, ...)
Print and mail one envelope (up to 5 A4 pages, black and white) to a Canadian address. IRREVERSIBLE once printed: confirm the recipient and content with the human first unless they pre-authorized it. With a live key the price is debited from credit before anything is created; with a sandbox key nothing is mailed or charged. Retrying with the same idempotency_key returns the original letter and never charges twice.
输入模式
{
"type": "object",
"properties": {
"pdf_base64": {
"type": "string",
"description": "The letter as an A4 PDF, base64. Max 5 pages, about 3 MB."
},
"document_name": {
"type": "string"
},
"to": {
"type": "object",
"description": "Canadian destination. address_line1 is the recipient name and street line as it should appear on the envelope.",
"properties": {
"address_line1": {
"type": "string"
},
"address_line2": {
"type": "string"
},
"city": {
"type": "string"
},
"province": {
"type": "string",
"description": "2-letter code, e.g. ON"
},
"postal_code": {
"type": "string",
"description": "e.g. M5H 4E7"
}
},
"required": [
"address_line1",
"city",
"province",
"postal_code"
]
},
"service_level": {
"type": "string",
"enum": [
"standard",
"tracked",
"registered"
],
"default": "standard"
},
"return_address": {
"type": "object",
"description": "Optional. Printed top-left. Default: 157 Adelaide Street West, Suite 242"
},
"idempotency_key": {
"type": "string",
"minLength": 8,
"maxLength": 120,
"description": "Unique per letter; reuse when retrying the same letter."
},
"api_key": {
"type": "string",
"description": "Your mailer key (sandbox or live). Optional if the connection already sends it as 'Authorization: Bearer <key>'."
}
},
"required": [
"pdf_base64",
"to",
"idempotency_key"
],
"additionalProperties": false
}🟢get_letter(id, api_key)
Status (test, paid, mailed) and tracking number for one letter sent with this key.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"api_key": {
"type": "string",
"description": "Your mailer key (sandbox or live). Optional if the connection already sends it as 'Authorization: Bearer <key>'."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢list_letters(api_key)
The latest 100 letters sent with this key.
输入模式
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "Your mailer key (sandbox or live). Optional if the connection already sends it as 'Authorization: Bearer <key>'."
}
},
"required": [],
"additionalProperties": false
}社区
证据