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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。