mcp

Publish artifacts to one stable public temp.md link that updates in place. No account needed.

我该使用它吗

质量与安全性

A
描述质量
90%
模式完整度
83%
命名质量
93%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(2)

  • LOWTool 'restore_temp' description lacks action verb在 restore_temp 中
  • LOWTool 'set_comments' description lacks action verb在 set_comments 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,272token 数(工具定义)
~1.3 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.99%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "@tempmd/mcp"
      ]
    }
  }
}

可运行的软件包

npm@tempmd/mcp0.4.3stdio

远程端点

https://api.temp.md/mcpstreamable-http

它能做什么

工具清单

工具(8)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟡publish_temp(files, title, spa_mode, idempotency_key)

Publish an inline text or base64 bundle to a stable public URL. Send index.html as the main page. Repeated identical calls are idempotent. If the MCP connection uses a temp.md account API key, the Temp is owned by that account immediately.

输入模式

{
  "type": "object",
  "properties": {
    "files": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "description": "Safe relative bundle path. The main page should be index.html."
          },
          "content": {
            "type": "string",
            "description": "UTF-8 text by default, or base64 when encoding is base64."
          },
          "content_type": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "encoding": {
            "default": "utf8",
            "type": "string",
            "enum": [
              "utf8",
              "base64"
            ]
          }
        },
        "required": [
          "path",
          "content"
        ]
      }
    },
    "title": {
      "type": "string",
      "maxLength": 120
    },
    "spa_mode": {
      "type": "boolean"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    }
  },
  "required": [
    "files"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴update_temp(temp_id, update_token, files, title, spa_mode, ...)

Atomically publish a new inline bundle behind the same canonical URL. The previous Version stays live if this call fails.

输入模式

{
  "type": "object",
  "properties": {
    "temp_id": {
      "type": "string",
      "minLength": 1,
      "description": "The Temp ID."
    },
    "update_token": {
      "description": "Scoped Temp update token. May be omitted when the MCP Authorization header contains an account API key that owns the Temp.",
      "type": "string"
    },
    "files": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "description": "Safe relative bundle path. The main page should be index.html."
          },
          "content": {
            "type": "string",
            "description": "UTF-8 text by default, or base64 when encoding is base64."
          },
          "content_type": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "encoding": {
            "default": "utf8",
            "type": "string",
            "enum": [
              "utf8",
              "base64"
            ]
          }
        },
        "required": [
          "path",
          "content"
        ]
      }
    },
    "title": {
      "type": "string",
      "maxLength": 120
    },
    "spa_mode": {
      "type": "boolean"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    }
  },
  "required": [
    "temp_id",
    "files"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_temp_status(temp_id, update_token)

Inspect lifecycle, expiry, restore eligibility, ownership, moderation, and settings.

输入模式

{
  "type": "object",
  "properties": {
    "temp_id": {
      "type": "string",
      "minLength": 1,
      "description": "The Temp ID."
    },
    "update_token": {
      "description": "Scoped Temp update token. May be omitted when the MCP Authorization header contains an account API key that owns the Temp.",
      "type": "string"
    }
  },
  "required": [
    "temp_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪restore_temp(temp_id, update_token)

Reactivate an expired Temp during its restore grace period without changing its URL.

输入模式

{
  "type": "object",
  "properties": {
    "temp_id": {
      "type": "string",
      "minLength": 1,
      "description": "The Temp ID."
    },
    "update_token": {
      "description": "Scoped Temp update token. May be omitted when the MCP Authorization header contains an account API key that owns the Temp.",
      "type": "string"
    }
  },
  "required": [
    "temp_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡snapshot_temp(temp_id, update_token, label)

Create a fixed snapshot URL for the current Version while the canonical URL continues to track the latest Version.

输入模式

{
  "type": "object",
  "properties": {
    "temp_id": {
      "type": "string",
      "minLength": 1,
      "description": "The Temp ID."
    },
    "update_token": {
      "description": "Scoped Temp update token. May be omitted when the MCP Authorization header contains an account API key that owns the Temp.",
      "type": "string"
    },
    "label": {
      "type": "string",
      "maxLength": 120
    }
  },
  "required": [
    "temp_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴set_comments(temp_id, update_token, enabled)

Toggle pinned visitor feedback on a Temp.

输入模式

{
  "type": "object",
  "properties": {
    "temp_id": {
      "type": "string",
      "minLength": 1,
      "description": "The Temp ID."
    },
    "update_token": {
      "description": "Scoped Temp update token. May be omitted when the MCP Authorization header contains an account API key that owns the Temp.",
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    }
  },
  "required": [
    "temp_id",
    "enabled"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_temps

List Temps owned by the account API key supplied in the MCP Authorization header.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴recover_update_token(temp_id)

Rotate every prior scoped update token and return one replacement. Requires an owning account API key in the MCP Authorization header.

输入模式

{
  "type": "object",
  "properties": {
    "temp_id": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "temp_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本8 个工具
已验证未记录版本8 个工具