edgeone-pages-deploy
1
总安装量
1
周安装量
#47295
全站排名
安装命令
npx skills add https://github.com/neversight/skills.sh_feed --skill edgeone-pages-deploy
Agent 安装分布
mcpjam
1
claude-code
1
kilo
1
replit
1
junie
1
windsurf
1
Skill 文档
EdgeOne Pages Deploy
Deploy any HTML file or directory to a public URL in seconds. No authentication, no accounts, no configuration.
Quick Deploy
# 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)
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:
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
curlpython3(for JSON encoding)