Sponsored by Deepsite.site

Temp

Created By
TencentEdgeOne3 months ago
Content

EdgeOne Pages MCP

An MCP service for deploying HTML content, folders, or full-stack projects to EdgeOne Pages and obtaining publicly accessible URLs.

EdgeOne Pages MCP server

Demo

Deploy HTML

Deploy Folder

Requirements

  • Node.js 18 or higher

MCP Configuration

stdio MCP Server

Full-featured MCP service that supports the deploy_folder tool for deploying full-stack projects.

// Tencent Cloud International (Default)
{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "timeout": 600,
      "command": "npx",
      "args": ["edgeone-pages-mcp-fullstack"]
    }
  }
}

// Tencent Cloud China
{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "timeout": 600,
      "command": "npx",
      "args": ["edgeone-pages-mcp-fullstack", "--region", "china"]
    }
  }
}

The following MCP Server will be deprecated soon:

Supports both deploy_html and deploy_folder_or_zip tools.

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "command": "npx",
      "args": ["edgeone-pages-mcp"],
      "env": {
        // Optional. 
        // If you need to deploy folders or zip files to 
        // EdgeOne Pages projects, 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": ""
      }
    }
  }
}

Streaming HTTP MCP Server

For MCP clients that support HTTP streaming, only supports the deploy_html tool.

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

Tool Details

deploy_html Tool

Architecture Design

EdgeOne Pages MCP Architecture

The architecture diagram shows the complete workflow of the deploy_html tool:

  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 publicly accessible URL
  6. Users can access the deployed content via browser with fast edge delivery

Implementation Details

This tool integrates with EdgeOne Pages Functions to deploy static HTML content:

  1. EdgeOne Pages Functions - A serverless computing platform that supports executing JavaScript/TypeScript code at the edge

  2. Core Implementation Features:

    • Uses EdgeOne Pages KV storage to save and serve HTML content
    • Automatically generates publicly accessible URLs for each deployment
    • Provides comprehensive API error handling and feedback
  3. How It Works:

    • MCP server receives HTML content through the deploy_html tool
    • Connects to EdgeOne Pages API to obtain the base URL
    • Deploys HTML content using the EdgeOne Pages KV API
    • Returns an immediately accessible public URL

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

The source code is open source and can be self-deployed with custom domain binding: https://github.com/TencentEdgeOne/self-hosted-pages-mcp

deploy_folder Tool

This tool supports deploying complete projects to EdgeOne Pages:

  • Supports full deployment of static website projects
  • Supports deployment of full-stack applications
  • Option to update existing projects or create new ones

License

MIT

Server Config

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "command": "npx",
      "args": [
        "edgeone-pages-mcp"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Tavily Mcp
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
CursorThe AI Code Editor
ChatWiseThe second fastest AI chatbot™
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
DeepChatYour AI Partner on Desktop
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.