edgeone pages mcp
An MCP service for deploying HTML content to EdgeOne Pages and obtaining a publicly accessible URL.
An MCP service for deploying HTML content to EdgeOne Pages and obtaining a publicly accessible URL.
An MCP service for deploying HTML content to EdgeOne Pages and obtaining a publicly accessible URL.
{
"mcpServers": {
"edgeone-pages-mcp-server": {
"command": "npx",
"args": ["edgeone-pages-mcp"]
}
}
}
The architecture diagram illustrates the workflow: 1. Large Language Model generates HTML content 2. Content is sent to the EdgeOne Pages MCP Server 3. MCP Server deploys the content to EdgeOne Pages Edge Functions 4. Content is stored in EdgeOne KV Store for fast edge access 5. MCP Server returns a public URL 6. Users can access the deployed content via browser with fast edge delivery
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 :
Handles API errors with appropriate error messages
How it works :
deploy-html
toolReturns a publicly accessible URL to the deployed content
Usage Example :
For more information, see the EdgeOne Pages Functions documentation and EdgeOne Pages KV Storage Guide.
MIT
[
{
"description": "Deploy HTML content to EdgeOne Pages, return the public URL",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"value": {
"description": "HTML or text content to deploy. Provide complete HTML or text content you want to publish, and the system will return a public URL where your content can be accessed.",
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
},
"name": "deploy-html"
}
]