AIfra — temporary static previews

io.github.nickbasharin由 GitHub 帳號 nickbasharin 發布v0.2.0-beta.3更新於 Oct 24, 2026

48-hour HTTPS previews of prebuilt static sites and HTML slides. No server builds or backends.

發布方自己的服務:static.md

已驗證Streamable HTTP可網頁執行雲端與基礎設施檔案與儲存

概覽

AI 產生的概覽

讓助理把已建置完成的靜態網站與 HTML 簡報發布成 48 小時有效的臨時 HTTPS 預覽。

可以做什麼
AIfra 將已建置好的靜態產物以臨時 HTTPS 預覽形式提供,48 小時後過期。它不負責建置網站,也不執行後端,因此助理只上傳可信本機專案目錄中已建置完成的相對子目錄。它既能以遠端 HTTP 端點使用,也能以本機 npm 套件透過 stdio 執行。
適用情境
適合需要快速分享已完成的靜態建置或 HTML 簡報連結、又不想架設主機環境的情境。適用於審閱、展示與交付等只需短期預覽、且不需要伺服器端邏輯的情況。
執行需求
本機執行需要 Node.js 環境(npm 套件 aifra,stdio 傳輸),或連線 api.aifra.ru 遠端端點。需要兩個環境變數:AIFRA_PROJECT_ROOT(絕對路徑的可信本機專案目錄)與 AI_DEPLOY_API_ORIGIN(明確的 HTTPS API 來源)。上傳與提供預覽需要網路存取。
安裝前請注意
上傳會把 AIFRA_PROJECT_ROOT 指定目錄中的檔案傳送到第三方服務,因此該目錄中只應放置已建置完成的相對子目錄。預覽是公開的 HTTPS 連結,48 小時後過期。未宣告任何身分驗證,上傳內容可能被他人存取。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AIfra — temporary static previews,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.nickbasharin%2Faifra/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "aifra-temporary-static-previews": {
      "type": "http",
      "url": "https://api.aifra.ru/mcp"
    }
  }
}

工具

6

get_deploy_instructions

Explain remote browser-confirmed AIfra publication of ready static files, limits and current terms.

無需輸入參數。

create_preview

Prepare a new temporary static preview. Supply exactly one of small files or ZIP archive_base64. No backend/build. Requires explicit consent; returns an approval link, not a published URL. User must confirm in their browser.

輸入參數filesaccept_terms必填archive_base64

update_preview

Prepare replacement of an existing temporary static preview. Supply exactly one of small files or ZIP archive_base64. No backend/build. Requires explicit consent; returns an approval link, not a published URL. User must confirm in their browser. Requires the browser holding the existing management key; expiry is unchanged.

輸入參數filespreview_id必填accept_terms必填archive_base64

delete_preview

Prepare deletion of an existing preview. Does not delete until its owner confirms in the browser holding the management key.

輸入參數preview_id必填confirm_delete必填

get_operation_status

Read whether a prepared operation is pending, complete, failed or uncertain. Returns no file content or management key. Never assume pending means published.

輸入參數operation_id必填

get_preview_status

Read current public status, URL and server-enforced expiry of an existing preview. Only the service owner can manually extend expiry; updates never extend it.

輸入參數preview_id必填

版本歷史

3
  1. v0.2.0-beta.3最新Sep 19, 2026
  2. v0.2.0-beta.2Sep 18, 2026
  3. v0.2.0-beta.1Sep 18, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Static 整合