EdgeOne Pages MCP Server

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

Get this MCP server

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

Installation

NPX (Full-Featured Version)

npx edgeone-pages-mcp-fullstack@latest

NPX (Legacy Version)

npx edgeone-pages-mcp@latest

Configuration

Full-Featured MCP Server (International)

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "timeout": 600,
      "command": "npx",
      "args": ["edgeone-pages-mcp-fullstack@latest"]
    }
  }
}

Full-Featured MCP Server (China)

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

Legacy MCP Server

{
  "mcpServers": {
    "edgeone-pages-mcp-server": {
      "command": "npx",
      "args": ["edgeone-pages-mcp@latest"],
      "env": {
        "EDGEONE_PAGES_API_TOKEN": "",
        "EDGEONE_PAGES_PROJECT_NAME": ""
      }
    }
  }
}

Streaming HTTP MCP Server

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

Available Tools

Tool Description
deploy_html Deploys HTML content to EdgeOne Pages and returns a publicly accessible URL with edge delivery
deploy_folder Deploys complete projects, including static sites and full-stack applications to EdgeOne Pages
deploy_folder_or_zip Legacy tool for deploying folders or zip files to EdgeOne Pages projects

Features

  • Deploy HTML content with automatic public URL creation
  • Deploy complete static website projects
  • Deploy full-stack applications
  • Edge delivery with fast global access
  • Integration with EdgeOne Pages Functions and KV storage
  • Support for creating new projects and updating existing ones
  • Comprehensive API error handling and feedback
  • Multiple deployment methods (stdio, HTTP streaming)
  • Support for international Tencent Cloud regions and China

Environment Variables

Optional

  • EDGEONE_PAGES_API_TOKEN - EdgeOne Pages API token for deploying folders or zip files
  • EDGEONE_PAGES_PROJECT_NAME - Project name to update an existing project (leave empty to create a new one)

Usage Examples

Deploy this HTML page to a public URL
Deploy my website folder to EdgeOne Pages
Create a publicly accessible deployment of this full-stack project

Notes

Requires Node.js 18 or higher. Legacy MCP server will be deprecated soon. Open source with self-hosting capabilities. Architecture uses EdgeOne Pages Functions for serverless computing and KV storage for fast edge access.

Comments (0)

Sign In Sign in to leave a comment.