EdgeOne Pages MCP

EdgeOne Pages MCP

Enables deployment of HTML content, folders, and full-stack projects to EdgeOne Pages to generate publicly accessible URLs. It utilizes EdgeOne Pages Functions and KV storage for high-performance edge delivery of web applications.

Category
Visit Server

README

EdgeOne Pages MCP

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

<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>

基于原项目: 此项目基于 edgeone-pages-mcp 修改而来

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": ["@bachstudio/edgeone-pages-mcp"]
    }
  }
}

// Tencent Cloud China
{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "timeout": 600,
      "command": "npx",
      "args": ["@bachstudio/edgeone-pages-mcp", "--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": ["@bachstudio/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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured