sendpage
Publish an HTML document as a link anyone can open in one tap, plus PDF, image and Word export.
我该使用它吗
质量与安全性
发现(3)
- HIGH
- MEDIUM在 check_document 中
- INFO在 check_document 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"sendpage": {
"url": "https://sendpageapp.com/mcp"
}
}
}远程端点
https://sendpageapp.com/mcpstreamable-http它能做什么
工具清单
工具(7)
🟡publish_document(html, title, senderName)
Publish an HTML document to SendPage and get a shareable link the recipient can open in one tap on any device. Use this whenever the user has an HTML document and wants to send, share, or deliver it to someone — it is the delivery step after the document is written. The link renders the page as designed, previews with a title and preview card in WhatsApp/Telegram/Slack/email, and can be exported to PDF, image or Word. Returns the share link plus an edit token for later updates.
输入模式
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "The complete HTML document, from <!DOCTYPE html> onwards."
},
"title": {
"type": "string",
"description": "Title shown in the link preview and document header. Taken from the HTML's <title> if omitted."
},
"senderName": {
"type": "string",
"description": "Who the document is from, shown to the recipient. Optional."
}
},
"required": [
"html"
]
}🔴update_document(shortId, editToken, html, title)
Replace the contents or title of a document already published to SendPage. The share link stays exactly the same, so use this to fix a typo or update figures instead of publishing again — anyone who already has the link sees the correction.
输入模式
{
"type": "object",
"properties": {
"shortId": {
"type": "string",
"description": "The document's id, the last part of its share link."
},
"editToken": {
"type": "string",
"description": "The edit token returned when the document was published."
},
"html": {
"type": "string",
"description": "Replacement HTML. Optional."
},
"title": {
"type": "string",
"description": "Replacement title. Optional."
}
},
"required": [
"shortId"
]
}🟢list_comments(shortId, editToken)
Read the feedback people have left on a document you published. Call this when the user asks whether anyone has responded or replied, and always before revising a document — the comments say what to change. Returns each comment with who left it and when, oldest first.
输入模式
{
"type": "object",
"properties": {
"shortId": {
"type": "string",
"description": "The document's id, the last part of its share link."
},
"editToken": {
"type": "string",
"description": "The edit token, if this key did not publish the document."
}
},
"required": [
"shortId"
]
}🟢get_document(shortId, editToken)
Fetch the current HTML of a document you published, so it can be edited rather than rewritten. Call this before update_document: acting on feedback usually means one small change, and regenerating the whole file loses everything else about it.
输入模式
{
"type": "object",
"properties": {
"shortId": {
"type": "string",
"description": "The document's id, the last part of its share link."
},
"editToken": {
"type": "string",
"description": "The edit token, if this key did not publish the document."
}
},
"required": [
"shortId"
]
}🟢list_documents
List the documents published with this API key, newest first, with their share links and view counts. Use it to find a document the user published earlier so it can be updated or re-sent.
输入模式
{
"type": "object",
"properties": {}
}🟢check_document(html, shortId, editToken)
Check an HTML document for the problems a recipient will notice and you cannot: links that lead nowhere, images that will not load, placeholder text left in, http:// references the viewer blocks. Call this BEFORE handing someone a share link — a hallucinated URL or a dead CDN image is invisible while writing and obvious when reading. Pass `html` to check a draft, or `shortId` to re-check something already published after fixing it.
输入模式
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "A draft to check before publishing. Use this or `shortId`."
},
"shortId": {
"type": "string",
"description": "An already-published document to check. Use this or `html`."
},
"editToken": {
"type": "string",
"description": "The edit token, if this key did not publish the document."
}
}
}🟢export_document(shortId, format)
Get a downloadable PNG image, PDF, or Word (.docx) file of a document already published to SendPage. Use this when the user wants a file copy — to attach, print, or hand over — not just the link. Returns a URL to fetch the file. PNG and PDF are free (free-tier documents carry a small watermark); Word export requires Pro.
输入模式
{
"type": "object",
"properties": {
"shortId": {
"type": "string",
"description": "The document's id, the last part of its share link."
},
"format": {
"type": "string",
"enum": [
"png",
"pdf",
"docx"
],
"description": "The file format: \"png\" (image), \"pdf\", or \"docx\" (Word, Pro only)."
}
},
"required": [
"shortId",
"format"
]
}社区
证据