EdgeOne Pages MCP Server

ทางการ

บริการ MCP สำหรับปรับใช้เนื้อหา HTML ไปยัง EdgeOne Pages และรับ URL ที่เข้าถึงได้สาธารณะ

เอกสาร

EdgeOne Makers MCP

บริการ MCP สำหรับการปรับใช้โปรเจกต์ฟูลสแต็กไปยัง EdgeOne Makers และรับ URL ที่เข้าถึงได้แบบสาธารณะ

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