Skip to main content

edgeone-pages-deploy

Deploys static HTML to a public URL instantly with no authentication required. Use when asked to "host this", "deploy this site", "get a public link", "share this HTML", "quick deploy", "publish this page", or any request to make an HTML file publicly accessible via URL. Supports self-contained HTML files with inline CSS/JS.

来源信息

仓库
0juano/agent-skills
最近来源活动
2026年7月2日 14:03
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
edgeone-pages-deploy
description
Deploys static HTML to a public URL instantly with no authentication required. Use when asked to "host this", "deploy this site", "get a public link", "share this HTML", "quick deploy", "publish this page", or any request to make an HTML file publicly accessible via URL. Supports self-contained HTML files with inline CSS/JS.
license
MIT
metadata
{"author":"0juano","version":"1.0.0"}
# EdgeOne Pages Deploy Deploy any HTML file or directory to a public URL in seconds. No authentication, no accounts, no configuration. ## Quick Deploy ```bash # Single HTML file scripts/deploy.sh path/to/index.html # Directory containing index.html scripts/deploy.sh path/to/site/ ``` Returns a public URL like `https://mcp.edgeone.site/share/abc123`. ## How It Works Uses EdgeOne Pages' public MCP endpoint to deploy HTML content via JSON-RPC. - **Endpoint:** `https://mcp-on-edge.edgeone.app/mcp-server` - **Method:** `tools/call` → `deploy-html` - **Auth:** None required ## Manual Deploy (curl) ```bash HTML=$(python3 -c 'import sys,json; print(json.dumps(sys.stdin.read()))' < index.html) curl -s -X POST https://mcp-on-edge.edgeone.app/mcp-server \ -H "Content-Type: application/json" \ -d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"deploy-html\",\"arguments\":{\"value\":$HTML}}}" ``` ## Validation After deploying, SHOULD verify the URL returns HTTP 200: ```bash curl -s -o /dev/null -w "%{http_code}" <returned-url> ``` ## Constraints - Single HTML file only — multi-file sites with separate CSS/JS/images are NOT supported - Self-contained HTML works best (inline styles, inline scripts, base64 images) - No custom domains - No delete/update — each deploy creates a new URL - Link persistence depends on EdgeOne's retention policy ## Requirements - `curl` - `python3` (for JSON encoding)
在 GitHub 查看