AI-SLOT Management

io.github.iannil由 GitHub 帳號 iannil 發布v0.1.3更新於 Oct 29, 2026

实验性本地 stdio 管理服务;需先启动 127.0.0.1:4194 管理端,内容发布仍需人工审批。

已驗證STDIO僅桌面效率與工作流開發者工具

概覽

AI 產生的概覽

實驗性本機 MCP 伺服器,讓助理透過本機管理服務列出、讀取、起草、預覽、發布與回復 AI-SLOT 內容槽位。

可以做什麼
  • 列出並讀取已授權的槽位,包含目前指標與草稿
  • 為槽位建立候選草稿,不影響線上內容
  • 預覽候選草稿與上一個版本
  • 發布已由 Owner 人工核准的草稿,伺服器端會重新驗證核准與修訂
  • 讀取槽位的預期、可讀與瀏覽器觀察狀態
  • 產生並提交回復候選,提交前須先經 Owner 人工核准
適用情境
適合在本機執行 AI-SLOT 參考管理服務的團隊,讓 AI 助理協助起草、預覽與暫存槽位內容變更,同時由人工 Owner 保留核准權。不適用於遠端、多租戶或全自動發布的情境。
執行需求
需要 Node.js 22 或更新版本,於本機安裝此套件並透過 stdio 啟動。AI-SLOT 管理服務須已在 127.0.0.1:4194 執行,此套件不會啟動它。需以環境變數 AI_SLOT_AGENT_TOKEN 提供 Agent 權杖。參考管理頁面與服務設定需從程式碼倉庫取得,未包含在套件內。
安裝前請注意
AI_SLOT_AGENT_TOKEN 是機密,應使用 Agent 權杖而非 Owner 權杖,且不要把真實權杖提交到設定倉庫。發布與回復提交會改動線上內容,儘管伺服器端會重新驗證 Owner 核准。0.x 介面不保證版本相容,外部 AI 用戶端與真實客戶試辦尚未驗證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AI-SLOT Management,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@ai-slot/mcp

English | 简体中文

An experimental AI-SLOT management MCP package requiring Node.js 22 or later. It exposes tools over local stdio and forwards requests to a fixed management service at http://127.0.0.1:4194. It does not start that service, open the version store, or grant approval permissions. Compatibility across versions is not yet guaranteed for the 0.x interface.

Installation and usage

bash
npm install @ai-slot/mcp

First, start the service by following the repository's management reference service instructions. Set the AI_SLOT_AGENT_TOKEN environment variable to the token configured for the Agent by the service. Do not give the Owner token to the Agent or commit real tokens to a configuration repository.

The command in your client configuration can point to node_modules/.bin/ai-slot-management-mcp in the project where the package is installed. From that project's terminal, you can run:

bash
npx --no-install ai-slot-management-mcp

The process communicates using MCP over standard input and output; no manual input is required. The programmatic API exports createManagementClient and createManagementServer.

Capabilities and limitations

Seven tools support slot discovery, reading, draft creation, preview, publication, rollback, and status checks. There is no approval tool. The Agent can submit the corresponding artifact only after the Owner approves it on the reference management page. Retrieve the actual tool list through MCP tools/list.

The initial release supports only the fixed local HTTP service. Remote MCP, arbitrary target URLs, multiple tenants, and automatic approval by AI are not supported. The published package does not include the reference management page, CMS plugins, or service configuration; these are in the repository. Validation with the official SDK, real stdio, HTTP, and the complete browser workflow has passed. External AI clients and real customer pilots still await validation.

MIT license. Report issues at https://github.com/iannil/ai-slot-component/issues.

來源:packages/mcp/README.md,提交 dc4de7d

工具

7

list_slots

列出当前 Agent 有权读取的槽位。

無需輸入參數。

read_slot

读取授权槽位的当前指针和草稿。

輸入參數slotId必填

create_draft

为授权槽位创建候选草稿,不影响线上内容。

輸入參數tree必填slotId必填baseRevision必填sourceVersion必填

preview_draft

预览候选草稿和上一版本。

輸入參數draftId必填

publish_draft

发布已经由 Owner 人工批准的草稿;服务端重新验证批准和修订。

輸入參數draftId必填artifactHash必填idempotencyKey必填expectedRevision必填

get_status

读取授权槽位的期望、可读和浏览器观察状态。

輸入參數slotId必填

rollback_slot

prepare 只生成回滚候选,不生效;commit 必须先由 Owner 人工批准该候选。

輸入參數input必填

版本歷史

1
  1. v0.1.3最新Oct 21, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分