This server allows you to deploy HTML or text content to EdgeOne Pages and obtain a publicly accessible URL.
- Deploy HTML/Text: Upload complete HTML or text content for immediate deployment
- Public URL: Automatically generates a publicly accessible URL for your content
- Integration: Works with EdgeOne Pages Functions and KV store for fast edge content serving
Deploys HTML content to EdgeOne Pages Functions, a serverless computing platform, generating publicly accessible URLs for the deployed content.
EdgeOne Pages MCP
An MCP service for deploying HTML content, folder, and zip file to EdgeOne Pages and obtaining a publicly accessible URL.
Demo
Deploy HTML
Deploy Folder
Requirements
- Node.js 18 or higher
Configure MCP
stdio MCP Server
Suitable for most MCP applications
Streamable HTTP MCP Server
Available in applications supporting Streamable HTTP MCP Server
Architecture
The architecture diagram illustrates the workflow:
- Large Language Model generates HTML content
- Content is sent to the EdgeOne Pages MCP Server
- MCP Server deploys the content to EdgeOne Pages Edge Functions
- Content is stored in EdgeOne KV Store for fast edge access
- MCP Server returns a public URL
- Users can access the deployed content via browser with fast edge delivery
Features
- MCP protocol for rapid deployment of HTML content to EdgeOne Pages
- Automatic generation of publicly accessible URLs
Implementation
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 :
- Uses EdgeOne Pages KV store to store and serve the HTML content
- Automatically generates a public URL for each deployment
- Handles API errors with appropriate error messages
- How it works :
- The MCP server accepts HTML content through the
deploy_html
tool - It connects to EdgeOne Pages API to get the base URL
- Deploys the HTML content using the EdgeOne Pages KV API
- Returns a publicly accessible URL to the deployed content
- The MCP server accepts HTML content through the
- Usage Example :
- Provide HTML content to the MCP service
- Receive a public URL that can be accessed immediately
For more information, see the EdgeOne Pages Functions documentation and EdgeOne Pages KV Storage Guide.
License
MIT
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A service that enables rapid deployment of HTML content to EdgeOne Pages and automatically generates publicly accessible URLs for the deployed content.
Related Resources
Related MCP Servers
- -securityAlicense-qualityInteract with Render (https://render.com) and easily deploy your servicesLast updated -1192TypeScriptMIT License
- -securityAlicense-qualityAn experimental server implementing Model Context Protocol to automate website deployments to 1Panel servers, allowing users to create websites and upload static files through natural language commands.Last updated -030JavaScriptMIT License
- -securityAlicense-qualityAn MCP server that enables AI models to access user geolocation information through EdgeOne Pages Functions.Last updated -TypeScriptMIT License
- -security-license-qualityEnables large language models to access user geolocation information through EdgeOne Pages Functions using the Model Context Protocol.Last updated -TypeScriptMIT License