E

EdgeOne Pages MCP

community
content

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

EdgeOne Pages MCP

An MCP service for deploying HTML content to EdgeOne Pages and obtaining a publicly accessible URL.
<a href="https://glama.ai/mcp/servers/@TencentEdgeOne/edgeone-pages-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@TencentEdgeOne/edgeone-pages-mcp/badge" alt="EdgeOne Pages MCP server" /> </a>

Demo

Requirements

  • Node.js 18 or higher

Configure MCP

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

Architecture

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 :
    • 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
  3. 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
  4. Usage Example :
    • Provide HTML content to the MCP service
    • Receive a public URL that can be accessed immediately

License

MIT

Related Servers

F

Filesystem

reference

Secure file operations with configurable access controls

View Details
Audiense Insights logo

Audiense Insights

official

Marketing insights and audience analysis from [Audiense](https://www.audiense.com/products/audiense-insights) reports, covering demographic, cultural, influencer, and content engagement analysis.

View Details
Box logo

Box

official

Interact with the Intelligent Content Management platform through Box AI.

View Details
DevHub logo

DevHub

official

Manage and utilize website content within the [DevHub](https://www.devhub.com) CMS platform

View Details
EduBase logo

EduBase

official

Interact with [EduBase](https://www.edubase.net), a comprehensive e-learning platform with advanced quizzing, exam management, and content organization capabilities

View Details