list_slots
列出当前 Agent 有权读取的槽位。
无需输入参数。

io.github.iannil由 GitHub 账号 iannil 发布v0.1.3更新于 Oct 29, 2026
实验性本地 stdio 管理服务;需先启动 127.0.0.1:4194 管理端,内容发布仍需人工审批。
实验性本地 MCP 服务,让助手通过本地管理服务列出、读取、起草、预览、发布和回滚 AI-SLOT 内容槽位。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
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.
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:
The process communicates using MCP over standard input and output; no manual input is required. The programmatic API exports createManagementClient and createManagementServer.
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
列出当前 Agent 有权读取的槽位。
无需输入参数。
读取授权槽位的当前指针和草稿。
slotId必填为授权槽位创建候选草稿,不影响线上内容。
tree必填slotId必填baseRevision必填sourceVersion必填预览候选草稿和上一版本。
draftId必填发布已经由 Owner 人工批准的草稿;服务端重新验证批准和修订。
draftId必填artifactHash必填idempotencyKey必填expectedRevision必填读取授权槽位的期望、可读和浏览器观察状态。
slotId必填prepare 只生成回滚候选,不生效;commit 必须先由 Owner 人工批准该候选。
input必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
npm install @ai-slot/mcpnpx --no-install ai-slot-management-mcp