关于 aft.page
aft.page 是远程 MCP 服务和 Agent 技能,可将站点文件或公开的 GitHub 仓库部署到线上 URL。它支持更新部署、查看历史和回滚,且不会添加本地代码。
主要功能
- 01部署 HTML 和构建目录
- 02构建并部署公开的 GitHub 仓库
- 03使用 slug 和编辑令牌更新部署
- 04查看部署历史并回滚
- 05检查 aft.page 连接
适用场景
- 01将构建好的静态站点发布到可分享的 URL
- 02部署公开的 GitHub 应用
- 03将站点回滚到较早的部署
MCP 相关
https://mcp.aft.page/mcp 上的远程服务向 MCP 客户端提供部署、历史记录、回滚和健康检查工具。插件还提供技能,引导 Agent 完成构建和部署。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://mcp.aft.page/mcpclaude mcp add --transport http page-aft https://mcp.aft.page/mcp{"mcpServers":{"page-aft":{"type":"http","url":"https://mcp.aft.page/mcp"}}}在 Cursor 中打开{"servers":{"page-aft":{"type":"http","url":"https://mcp.aft.page/mcp"}}}在 VS Code 中打开{"mcpServers":{"page-aft":{"type":"http","url":"https://mcp.aft.page/mcp"}}}{"mcpServers":{"page-aft":{"serverUrl":"https://mcp.aft.page/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
aft.page 插件
让你的编码 Agent 部署到 aft.page,并返回一个可分享的在线 URL。首次部署无需账号。
该插件包含两部分:一项指导 Agent 安全构建和发布的技能,以及负责上传的 aft.page 远程 MCP 服务(https://mcp.aft.page/mcp)。它不会添加任何本地代码。
安装
Cursor:从 Cursor Marketplace 安装 aft.page,或将此仓库添加为 Marketplace 来源。
Claude Code
/plugin marketplace add aft-page/plugins
/plugin install aft-page@aft-page
Codex、Copilot CLI、VS Code 和其他 Agent:通过
plugins 安装器安装:
npx plugins add aft-page/plugins
任何 MCP 客户端(无需插件):
{
"mcpServers": {
"aft-page": { "type": "streamable-http", "url": "https://mcp.aft.page/mcp" }
}
}
重启 Agent,然后说:
将此项目部署到 aft.page
可部署内容
静态网站和构建输出(Vite、Next.js 静态导出),以及通过与 aft.page/run 相同的引擎部署公开的 GitHub 仓库:Next.js 服务端渲染、Node、Python(Flask、FastAPI、Django)和 Dockerfile 应用。 提供的工具:
| 工具 | 功能 |
|---|---|
deploy | 发布 HTML 或构建文件夹;使用相同的 slug + 编辑令牌更新 |
deploy_repo | 构建并发布公开的 GitHub 仓库 |
aft_deploys | 列出网站的部署历史 |
aft_rollback | 将同一 URL 回滚到较早的部署版本 |
aft_health | 检查与 aft.page 的连接 |
部署前须知
- 首次部署后会立即公开。认领它(Agent 会返回认领链接)即可保留它并将其设为私有。
- Agent 会将网站的编辑令牌存储在
.aft/state.json中。请勿将.aft/提交到 Git;该技能会将其添加到.gitignore。 - 切勿部署机密信息:该技能会排除
.env*、密钥和凭据。
目录结构
.cursor-plugin/plugin.json Cursor manifest
.claude-plugin/ Claude Code manifest + marketplace
.plugin/plugin.json, .mcp.json `npx plugins` manifest + MCP
plugin.json, mcp.json Agent Plugins manifest + MCP
skills/deploy-to-aft/ the skill
问题与咨询:[email protected] · aft.page
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。