stub.page
Publish plain-text posts at a public URL. No account, no sign-up.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"stub-page": {
"url": "https://stub.page/mcp"
}
}
}远程端点
https://stub.page/mcpstreamable-http它能做什么
工具清单
工具(4)
🟡create_page(title, content)
Publish a new text post and return its slug, public URL and edit_key. Content is Markdown (paragraphs, headings, bold, italic, lists, quotes, code, links, and images via external https URLs — images are embedded, never hosted). The returned edit_key is shown exactly once and cannot be recovered. Keep it in context — without it the page can never be edited or deleted again.
输入模式
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Title of the post. The URL is derived from it and never changes afterwards."
},
"content": {
"type": "string",
"minLength": 1,
"description": "Markdown content of the post."
}
},
"required": [
"title",
"content"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡get_page(slug)
Fetch a published post by slug. Public — no edit_key required.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The slug from the page URL."
}
},
"required": [
"slug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡update_page(slug, edit_key, title, content)
Replace title and/or content of an existing post. Requires the edit_key from create_page. The URL stays the same even when the title changes.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"edit_key": {
"type": "string",
"description": "The key returned by create_page."
},
"title": {
"type": "string",
"maxLength": 200
},
"content": {
"type": "string"
}
},
"required": [
"slug",
"edit_key"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴delete_page(slug, edit_key)
Permanently delete a post. Requires the edit_key. The slug is never reused and the deletion cannot be undone.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"edit_key": {
"type": "string",
"description": "The key returned by create_page."
}
},
"required": [
"slug",
"edit_key"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据