EdgeOne Pages MCP Server

官方

一個用於將 HTML 內容部署到 EdgeOne Pages 並獲取可公開訪問 URL 的 MCP 服務。

文件

EdgeOne Makers MCP

一個用於將全端專案部署至 EdgeOne Makers 並取得公開存取網址的 MCP 服務。

EdgeOne Makers MCP server

需求

  • Node.js 18 或更高版本

MCP 設定

// Tencent Cloud International (Default)
{
  "mcpServers": {
    "edgeone-makers-mcp-server": {
      "timeout": 600,
      "command": "npx",
      "args": ["@edgeone/makers-mcp@latest"],
      "env": {
        // Optional. 
        // If provided, skips the browser login flow.
        // How to obtain your API token: 
        // https://pages.edgeone.ai/document/api-token
        "EDGEONE_PAGES_API_TOKEN": "",
        // Optional. 
        // If provided, skips the browser project selection flow.
        "EDGEONE_PAGES_PROJECT_NAME": ""
      }
    }
  }
}

// Tencent Cloud China
{
  "mcpServers": {
    "edgeone-makers-mcp-server": {
      "timeout": 600,
      "command": "npx",
      "args": ["@edgeone/makers-mcp@latest", "--region", "china"],
      "env": {
        // Optional. 
        // If provided, skips the browser login flow.
        // How to obtain your API token: 
        // https://pages.edgeone.ai/document/api-token
        "EDGEONE_PAGES_API_TOKEN": "",
        // Optional. 
        // If provided, skips the browser project selection flow.
        "EDGEONE_PAGES_PROJECT_NAME": ""
      }
    }
  }
}

快速 HTML 預覽

如需快速部署單一 HTML 頁面進行預覽,請使用 Streaming HTTP MCP Server(無需本機安裝):

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

原始碼:https://github.com/TencentEdgeOne/self-hosted-pages-mcp

授權

MIT