EdgeOne 页面部署
STDIO部署HTML内容到EdgeOne的MCP服务
部署HTML内容到EdgeOne的MCP服务
An MCP service for deploying HTML content, folder, and zip file to EdgeOne Pages and obtaining a publicly accessible URL.
Suitable for most MCP applications
{ "mcpServers": { "edgeone-pages-mcp-server": { "command": "npx", "args": ["edgeone-pages-mcp"], "env": { // Optional. If deploying a folder or zip file to an EdgeOne Pages project // provide your EdgeOne Pages API token. // How to obtain your API token: https://edgeone.ai/document/177158578324279296 "EDGEONE_PAGES_API_TOKEN": "", // Optional. Leave empty to create a new EdgeOne Pages project. // Provide a project name to update an existing project. "EDGEONE_PAGES_PROJECT_NAME": "" } } } }
Available in applications supporting Streamable HTTP MCP Server
{ "mcpServers": { "edgeone-pages-mcp-server": { "url": "https://mcp-on-edge.edgeone.site/mcp-server" } } }
The architecture diagram illustrates the workflow:
This MCP service integrates with EdgeOne Pages Functions to deploy static HTML content. The implementation uses:
EdgeOne Pages Functions - A serverless computing platform that allows execution of JavaScript/TypeScript code at the edge.
Key Implementation Details :
How it works :
deploy_html
toolUsage Example :
For more information, see the EdgeOne Pages Functions documentation and EdgeOne Pages KV Storage Guide.
MIT