1M

15538420886/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 66 趋势 0MIT

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

概览

An MCP service for deploying HTML content, folders, or full-stack projects to EdgeOne Pages and obtaining publicly accessible URLs. This MCP service supports multiple deployment options. Choose the one that best fits your needs. This is the simplest and fastest deployment method, suitable for scenarios requiring HTTP access. 1. Visit the self-hosted repository 2. Click the "One-Click Deploy" button to deploy the service to EdgeOne Pages 3. Complete the deployment configuration as prompted After deployment, configure KV storage for storing website files: 1. Go to EdgeOne Pages console 2. Find KV Storage configuration 3. Follow the KV Storage Setup Guide 1. Add a custom domain in project settings 2. Configure DNS CNAME record 3. Wait for domain verification 4. Refer to Custom Domain Binding Guide After deployment, add to your MCP configuration file:

README

以下为原文 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

Deployment on Tencent Cloud

This MCP service supports multiple deployment options. Choose the one that best fits your needs.

This is the simplest and fastest deployment method, suitable for scenarios requiring HTTP access.

Step 1: One-Click Deploy to EdgeOne Pages

  1. Visit the self-hosted repository
  2. Click the “One-Click Deploy” button to deploy the service to EdgeOne Pages
  3. Complete the deployment configuration as prompted

Step 2: Configure KV Storage

After deployment, configure KV storage for storing website files:

  1. Go to EdgeOne Pages console
  2. Find KV Storage configuration
  3. Follow the KV Storage Setup Guide

Step 3: Bind Custom Domain (Optional)

  1. Add a custom domain in project settings
  2. Configure DNS CNAME record
  3. Wait for domain verification
  4. Refer to Custom Domain Binding Guide

Step 4: Configure MCP Client

After deployment, add to your MCP configuration file:

{
  "mcpServers": {
    "edgeone-pages": {
      "url": "https://your-custom-domain.com/mcp-server"
    }
  }
}

Advantages:

  • ✅ Zero server maintenance cost
  • ✅ Auto-scaling and high availability
  • ✅ Global edge acceleration
  • ✅ Custom domain and HTTPS support

Option 2: Deploy on Tencent Cloud CVM

Suitable for scenarios requiring full server control or stdio transport.

Step 1: Prepare CVM Instance

  1. Log in to Tencent Cloud Console
  2. Create or select a CVM instance
  3. Recommended configuration:
    • OS: Ubuntu 20.04 LTS or CentOS 7+
    • CPU: 2 cores or more
    • Memory: 4GB or more
    • Network: Configure public IP or elastic IP

Step 2: Install Node.js Environment

Ubuntu/Debian:

# Update system packages
sudo apt update

# Install Node.js 18.x
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs

# Verify installation
node --version
npm --version

CentOS/RHEL:

# Install Node.js 18.x
curl -fsSL https://rpm.nodesource.com/setup_18.x | sudo bash -
sudo yum install -y nodejs

# Verify installation
node --version
npm --version
在 GitHub 查看完整 README

安装

npx edgeone-pages-mcp-fullstack@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "edgeone-pages": { "url": "https://your-custom-domain.com/mcp-server" } } }