Fire in da houseTop Tip:Most people pay up to $340 per month for Perplexity, MidJourney, Runway, ChatGPT, and more - but you can get them all your AI tools for $15 with Galaxy. It's free to test!Fire in da houseCheck it out

edgeone-pages-mcp

MCP.Pizza Chef: TencentEdgeOne

EdgeOne Pages MCP is a server that enables deployment of HTML content, folders, and zip files to EdgeOne Pages, providing a publicly accessible URL for the deployed content. It supports Node.js 18+ environments and is configured as a stdio MCP server, making it suitable for various MCP applications requiring web content hosting and sharing.

Use This MCP server To

Deploy static HTML pages to EdgeOne Pages quickly Upload entire folders of web content for hosting Deploy zipped web projects with a single command Generate public URLs for shared web content Integrate web content deployment into MCP workflows Automate website updates via MCP server commands

README

EdgeOne Pages MCP

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

EdgeOne Pages MCP server

Demo

Deploy HTML

Deploy Folder

Requirements

  • Node.js 18 or higher

Configure MCP

stdio MCP Server

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": ""
      }
    }
  }
}

Streamable HTTP MCP Server

Available in applications supporting Streamable HTTP MCP Server

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "url": "https://mcp-on-edge.edgeone.site/mcp-server"
    }
  }
}

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

For more information, see the EdgeOne Pages Functions documentation and EdgeOne Pages KV Storage Guide.

License

MIT

edgeone-pages-mcp FAQ

How do I configure the EdgeOne Pages MCP server?
Configure it as a stdio MCP server with Node.js 18+, providing your EdgeOne Pages API token if deploying folders or zip files.
What types of content can I deploy with this MCP server?
You can deploy HTML files, folders containing web content, and zip archives to EdgeOne Pages.
Is there a public URL generated after deployment?
Yes, the server provides a publicly accessible URL for the deployed content automatically.
What are the system requirements for running this MCP server?
It requires Node.js version 18 or higher to run properly.
Can this MCP server be integrated into automated workflows?
Yes, it supports stdio MCP server configuration, making it suitable for automation and integration.
Where can I find the API token for EdgeOne Pages?
The API token can be obtained from your EdgeOne Pages account dashboard or documentation.
Does this MCP server support deploying zipped web projects?
Yes, it supports deploying zip files directly to EdgeOne Pages.
Is this MCP server compatible with multiple LLM providers?
Yes, it is provider-agnostic and can be used with OpenAI, Claude, Gemini, and others.