logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

edgeone-pages-mcp

Deploys HTML content to EdgeOne Pages and generates publicly accessible URLs for fast delivery through a globally distributed edge network, facilitating seamless integration with EdgeOne Pages Functions and KV storage.

Author

edgeone-pages-mcp logo

ropon

MIT License

Quick Info

GitHub GitHub Stars 0
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

edgeonepagesedgecontent edgeoneedgeone pagesropon edgeone

EdgeOne Pages MCP

An MCP service for deploying HTML content to EdgeOne Pages and obtaining a publicly accessible URL.

EdgeOne Pages MCP server

Demo

04ff9814_bcd3_442c_a2d0_eefd4ee1b13c

Requirements

  • Node.js 18 or higher

Configure MCP

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "command": "npx",
      "args": ["edgeone-pages-mcp"]
    }
  }
}

Architecture

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

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:

  1. EdgeOne Pages Functions - A serverless computing platform that allows execution of JavaScript/TypeScript code at the edge.

  2. Key Implementation Details :

  3. Uses EdgeOne Pages KV store to store and serve the HTML content
  4. Automatically generates a public URL for each deployment
  5. Handles API errors with appropriate error messages

  6. How it works :

  7. The MCP server accepts HTML content through the deploy-html tool
  8. It connects to EdgeOne Pages API to get the base URL
  9. Deploys the HTML content using the EdgeOne Pages KV API
  10. Returns a publicly accessible URL to the deployed content

  11. Usage Example :

  12. Provide HTML content to the MCP service
  13. 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

See Also

`