pushpage
Publish HTML from your AI agent and get a shareable link back.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"pushpage": {
"command": "uvx",
"args": [
"pushpage-mcp"
]
}
}
}可运行的软件包
1.14.0stdio远程端点
https://pushpage.link/mcpstreamable-httphttps://pushpage.link/mcp-gueststreamable-http它能做什么
工具清单
工具(5)
🔴publish_page(html, title)
Publish a self-contained HTML document as a public page and return its shareable URL. Use this to share rich output (reports, dashboards, prototypes) as a link instead of pasting it into chat. Each call creates a NEW page with a new id; it never updates an existing one. To change a page you already published and keep its URL, use update_page instead of publishing again. The page is served publicly at the returned URL, sandboxed (scripts run, but cannot access the pushpage dashboard or API), so do not include secrets. Works without an account credential (browser sign-in or API key) in GUEST MODE: the page is created anonymously and is deleted after 30 minutes. In that case the result includes guest_mode=true and a message telling the user how to sign in (browser sign-in on the /mcp URL, or an API key for stdio and headless setups) for permanent retention per plan, list_pages, update_page and delete_page. Always relay that message to the user. An invalid credential is rejected with 401; it is never silently downgraded to guest mode.
输入模式
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "Complete HTML document (inline CSS/JS; external resources are fine).\nMaximum size is set by the service (1 MB by default)."
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional display title shown in list_pages. If omitted it is taken from\nthe HTML <title> tag, falling back to 'Untitled'."
}
},
"required": [
"html"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢list_pages
List the pages of the signed-in account (browser sign-in or API key), including expiry. Read-only. Takes no arguments. Admin accounts see every user's pages. Needs an account (browser sign-in or an API key). In guest mode (no credential) it returns a one-element list with guest_mode=true and a message telling the user how to sign in; relay that message.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"x-fastmcp-wrap-result": true
}🔴update_page(id, html, title)
Replace the HTML of one of your published pages, keeping the same id and URL. Use this to fix or refresh a page you already published instead of publishing a new one (links already shared keep working). The previous content is overwritten and cannot be recovered. You can only update your own pages (admin accounts can update any page), and the page's expiry restarts from now under the owner's retention. An update counts toward the publish rate limit (not the daily quota). Needs an account (browser sign-in or an API key): in guest mode (no credential) it returns guest_mode=true and a message telling the user how to sign in; relay that message. Guest pages cannot be updated (they expire after 30 minutes); publish a new page instead.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The page id returned by publish_page or listed by list_pages (for example\n'a1b2c3d4'), not the full URL."
},
"html": {
"type": "string",
"description": "The complete new HTML document (same format and size limit as publish_page)."
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional new display title. If omitted it is taken from the HTML <title>\ntag, falling back to 'Untitled'."
}
},
"required": [
"id",
"html"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"additionalProperties": true
}🔴delete_page(id)
Permanently delete one of your published pages, making its URL stop working. This cannot be undone. You can only delete your own pages (admin accounts can delete any page). Needs an account (browser sign-in or an API key): in guest mode (no credential) it returns guest_mode=true and a message telling the user how to sign in; relay that message. Guest pages cannot be deleted; they expire after 30 minutes.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The page id returned by publish_page or listed by list_pages (for example\n'a1b2c3d4'), not the full URL."
}
},
"required": [
"id"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"additionalProperties": true
}🟢health
Check whether the pushpage service is reachable and healthy. Read-only. Takes no arguments and needs no account or key.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}输出模式
{
"type": "object",
"additionalProperties": true
}社区
证据