EdgeOne Pages MCP

EdgeOne Pages MCP

Deploy HTML and full-stack projects to EdgeOne Pages via Model Context Protocol.

321
Stars
47
Forks
321
Watchers
8
Issues
EdgeOne Pages MCP is an implementation of the Model Context Protocol (MCP) for deploying HTML content, folders, or full-stack projects to EdgeOne Pages with publicly accessible URLs. It provides both stdio and HTTP streaming MCP server configurations, supporting tools like deploy_html and deploy_folder. The solution integrates with Tencent's EdgeOne Pages Functions and KV storage for edge deployment and fast content access. It features automated public URL generation, robust error handling, and compatibility with both international and China regions.

Key Features

Supports Model Context Protocol (MCP) stdio and HTTP streaming configurations
Deploys HTML content, folders, and full-stack projects to EdgeOne Pages
Automatic generation of publicly accessible URLs for deployments
Integrates with EdgeOne Pages Functions and KV edge storage
Comprehensive API error handling and feedback
Multi-region support (International and China)
Self-hosted deployment and custom domain support
Token-based secure access for deployments
Works with npx for streamlined command execution
Detailed configuration for various project deployment needs

Use Cases

Instantly sharing AI-generated HTML outputs via public URLs
Deploying static websites or full-stack projects to edge networks
Providing public previews of web content for LLM or AI agent outputs
Rapid prototyping and publishing of web-based demos
Integrating automated site deployments in continuous integration pipelines
Zero-config project publishing for internal or external stakeholders
Storing and serving web assets at the edge for reduced latency
Supporting localization by deploying to different geographic regions
On-demand resource publishing for documentation or marketing teams
Testing edge function deployments with real-time access to results

README

EdgeOne Pages MCP

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

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.

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

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

The following MCP Server will be deprecated soon:

Supports both deploy_html and deploy_folder_or_zip tools.

jsonc
{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "command": "npx",
      "args": ["edgeone-pages-mcp@latest"],
      "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.

json
{
  "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

Star History

Star History Chart

Repository Owner

TencentEdgeOne
TencentEdgeOne

Organization

Repository Details

Language TypeScript
Default Branch main
Size 61 KB
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
91.9%
JavaScript
8.1%

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Defang

    Defang

    Develop Once, Deploy Anywhere.

    Defang provides a command-line interface (CLI) and Model Context Protocol (MCP) Server that enable seamless deployment of applications from local development environments to the cloud. It supports integration with popular IDEs such as VS Code, Cursor, Windsurf, and Claude, allowing users to manage and deploy their workflows efficiently. Defang delivers secure, scalable deployments with built-in support for Docker Compose and Pulumi, and offers samples for Golang, Python, and Node.js projects. Its AI-powered features enable developers to generate and launch cloud services effortlessly.

    • 144
    • MCP
    • DefangLabs/defang
  • Webvizio MCP Server

    Webvizio MCP Server

    Bridge between Webvizio feedback and AI coding agents via the Model Context Protocol

    Webvizio MCP Server is a TypeScript-based server implementing the Model Context Protocol to securely and efficiently interface with the Webvizio API. It transforms web page feedback and bug reports into structured, actionable developer tasks, providing AI coding agents with comprehensive task context and data. It offers methods to fetch project and task details, retrieve logs and screenshots, and manage task statuses. The server standardizes communication between Webvizio and AI agent clients, facilitating automated issue resolution.

    • 4
    • MCP
    • Webvizio/mcp
  • Markdownify MCP Server

    Markdownify MCP Server

    Convert diverse files and web content into Markdown via the Model Context Protocol.

    Markdownify MCP Server offers a protocol-based server that transforms various file types—including PDF, images, audio, DOCX, XLSX, and PPTX—as well as web content like YouTube videos, Bing search results, and web pages into Markdown format. The server exposes a suite of conversion tools through a standardized interface for easy integration with applications. Optional configuration allows retrieval of Markdown files from restricted directories, and the platform supports development customization for additional tool integration. Deployment and operation are straightforward with cross-platform support (with pending Windows improvements).

    • 2,256
    • MCP
    • zcaceres/markdownify-mcp
  • mcp-pandoc

    mcp-pandoc

    Seamless document format conversion via the Model Context Protocol.

    mcp-pandoc is a Model Context Protocol (MCP) server for document format conversion powered by Pandoc. It enables bidirectional transformation of content between various document formats while preserving structure and formatting. Designed for integration in AI workflows, it allows standardized and programmatic conversion suitable for large language models and tool-augmented assistants. The project exposes conversion functionality both by direct content submission and via input files.

    • 445
    • MCP
    • vivekVells/mcp-pandoc
  • GrowthBook MCP Server

    GrowthBook MCP Server

    Interact with GrowthBook from your LLM client via MCP.

    GrowthBook MCP Server enables seamless integration between GrowthBook and LLM clients by implementing the Model Context Protocol. It allows users to view experiment details, add feature flags, and manage GrowthBook configurations directly from AI applications. The server is configurable via environment variables and leverages GrowthBook's API for functionality. This integration streamlines experimentation and feature management workflows in AI tools.

    • 15
    • MCP
    • growthbook/growthbook-mcp
  • box-mcp-server

    box-mcp-server

    Expose your Box files to AI with a Model Context Protocol server.

    box-mcp-server lets users connect their Box accounts to AI applications via the Model Context Protocol (MCP). It securely authenticates to Box with enterprise credentials or developer tokens and serves file search and reading capabilities to downstream clients. Designed for use with Claude Desktop and the MCP Inspector, it provides seamless integration of Box documents into AI workflows.

    • 10
    • MCP
    • hmk/box-mcp-server
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results