Artifact Publisher

com.artifactpublisher由 artifactpublisher.com 发布官方发布者v0.1.0更新于 Oct 26, 2026

Agents publish self-contained HTML to a stable review link, with page-level feedback and revoke.

已验证Streamable HTTP可网页运行效率与工作流开发者工具沟通与协作

概览

AI 生成的概览

把自包含的 HTML 制品发布为稳定的版本化分享链接,并支持评论反馈、访问控制与撤销。

可以做什么
  • 发布与版本管理:将自包含 HTML 发布为第 1 版、追加不可变的新版本、重命名,并列出制品及未解决评论数
  • 访问与生命周期:在不产生新版本的情况下更改访问模式,或撤销制品使其停止提供
  • 处理评审反馈:按条件筛选并分页读取评论、对评论回复一次并标记为已解决
  • 共享页面状态:读取、设置或重置跨版本同步给查看者的 JSON 键值状态
  • 配置工作区:读取或更新评论开关、默认过期时间、默认标题等默认设置
  • 阅读创作指南:主题、布局类名、示例页面、大小与沙箱规则
适用场景
适合助手产出 HTML 报告、仪表盘或原型,需要让人通过链接而非文件来评审时;也适合需要版本化更新、评论线程以及随时撤销已发布页面的场景。
运行要求
通过 streamable HTTP 连接 app.artifactpublisher.com 的远程端点。需要在 Authorization 请求头中提供 bearer 发布者密钥,该密钥在工作区账户设置中创建。需要工作区账户;免费方案对活跃制品和版本数量有限制。
安装前请注意
Authorization 中的 bearer 密钥是工作区凭据,拥有发布权限,应限定范围并妥善保管。发布和更新会生成可访问的链接,更改访问模式会影响谁能打开;回复内容对任何能打开该制品的人可见。撤销不可恢复,已被查看的副本可能仍然存在。发布的 HTML 在无网络的沙箱中运行,资源需内联。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Artifact Publisher,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.artifactpublisher%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "artifact-publisher": {
      "type": "http",
      "url": "https://app.artifactpublisher.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

工具

12

publish_artifact

Publish artifact

Publish self-contained HTML as version 1; return a share link. Optional Idempotency-Key HTTP header. Limit 10 MiB UTF-8; larger on some paid plans. No network in sandbox; inline assets. Free: 5 active artifacts, 50 versions. For styling, add <meta name="ap-theme" content="firn"> to <head>; call get_authoring_guide for themes and layout classes.

输入参数html必填titlesummaryexpires_atvisibilityworkspace_idallowed_emailscomments_enabled

update_artifact

Update artifact

Append a new immutable version to an existing artifact. `expected_version` must equal the current version; the share link moves to the new version; earlier versions stay readable at their pinned URL. Optional `title` renames; with no `html` only the title changes. Each version counts toward the free 50 version cap. For styling, add <meta name="ap-theme" content="firn"> to <head>; call get_authoring_guide for themes and layout classes. artifact_id: id, slug or viewer URL.

输入参数htmltitleartifact_id必填release_noteworkspace_idexpected_version必填

set_artifact_access

Set artifact access

Change an artifact's access mode without a new version. For accountless coworkers use public, not allowlist. artifact_id: id, slug or viewer URL.

输入参数visibility必填artifact_id必填workspace_idallowed_emails

get_feedback

Get feedback

Read reviewer comments on an artifact, oldest first; use after sharing or to poll. Filters: unresolved_only, since; version (default current) picks the version anchor_status is checked against. Page with limit and cursor. Returns comments, unresolved_count, next_cursor. artifact_id: id, slug or viewer URL.

输入参数limitsincecursorversionartifact_id必填workspace_idunresolved_only

reply_to_feedback

Reply to feedback

Reply once to a comment (a second reply fails with conflict); resolve: true also marks it resolved. Anyone who can open the artifact can read the reply. Refused on revoked or expired artifacts. Returns the comment.

输入参数message必填resolvecomment_id必填workspace_id

list_artifacts

List artifacts

List artifacts in this key's workspace, newest first, with unresolved comment counts. Pass `next_cursor` back as `cursor` to page.

输入参数limitcursorworkspace_id

revoke_artifact

Revoke artifact

Stop serving this artifact (410 Gone). Cannot undo; viewed copies exist. artifact_id: id, slug or viewer URL.

输入参数reasonartifact_id必填workspace_id

configure_workspace

Configure workspace defaults

Read or update workspace defaults (comments_enabled, default_expiry_seconds, default_artifact_title); pass empty settings to read. Platform guardrails are refused with an error: max_artifact_bytes, storage_bytes_limit, monthly_versions_limit, rate_limits, comment_rate_limit, publish_rate_limit, isolation, origins, artifact_origin, control_origin, storage_key_prefix, object_key_prefix, security_headers, content_security_policy. Not available in every workspace.

输入参数settings必填workspace_id

get_artifact_state

Get artifact state

Read an artifact's state. Shared JSON key/value state, synced to viewers across versions (page JS: ArtifactRelayState). Last write wins per key. Limits: 200 keys, 16 KiB per value, 64 KiB total. artifact_id: id, slug or viewer URL.

输入参数artifact_id必填workspace_id

set_artifact_state

Set artifact state

Set the given keys atomically; other keys stay. Null is stored, not deleted. Shared JSON key/value state, synced to viewers across versions (page JS: ArtifactRelayState). Last write wins per key. Limits: 200 keys, 16 KiB per value, 64 KiB total. Page JS: ArtifactRelayState.subscribe(fn)/set(k,v)/patch(obj); callbacks get {revision, values, resetAt}; set/patch reject on failure; whole-value writes, no increments or nested merges. artifact_id: id, slug or viewer URL.

输入参数values必填artifact_id必填workspace_id

reset_artifact_state

Reset artifact state

Clear all state, including board values; HTML is unchanged. Shared JSON key/value state, synced to viewers across versions (page JS: ArtifactRelayState). Last write wins per key. Limits: 200 keys, 16 KiB per value, 64 KiB total. artifact_id: id, slug or viewer URL.

输入参数artifact_id必填workspace_id

get_authoring_guide

Get authoring guide

Read before writing HTML: themes, ap-* layout classes, an example page, the snippet, size and sandbox rules. Optional theme (firn, firn@1) is validated and returned as selected.

输入参数theme

版本历史

1
  1. v0.1.0最新Oct 19, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。