edgeone-pages-mcp
Author: TencentEdgeOne
Description: MCP server that deploys HTML / folder / zip assets to Tencent EdgeOne Pages and returns a public URL.
Stars: 227
Forks: 26
License: MIT License
Category: Enterprise
Overview
Installation
1. Prerequisites
• Node.js v18+ and npm (or pnpm/yarn)
• EdgeOne account with an API token that has pages.write permission
• (Optional) Docker if you want to containerise the service
2. Clone the repository
git clone https://github.com/TencentEdgeOne/edgeone-pages-mcp.git
cd edgeone-pages-mcp3. Install dependencies
npm install # or pnpm install / yarn install4. Configure secrets
• Copy .env.example to .env (if provided) or create .env manually.
• Set the following environment variables:
EDGEONE_API_TOKEN=<your-edgeone-api-token>
EDGEONE_ACCOUNT_ID=<your-edgeone-account-id>
SERVER_PORT=3000 # optional, default 30005. Build the TypeScript source
npm run build # transpiles TS ➜ dist/6. Start the MCP server
npm run start # launches dist/index.js
# Development mode (watch):
npm run dev7. Docker workflow (optional)
-e EDGEONE_API_TOKEN=$EDGEONE_API_TOKEN \
-e EDGEONE_ACCOUNT_ID=$EDGEONE_ACCOUNT_ID \
docker build -t edgeone-pages-mcp .
docker run -d -p 3000:3000 \
edgeone-pages-mcp01
deploy_html
Deploy HTML content to EdgeOne Pages and return a publicly accessible URL
License: MIT License
Updated 7/30/2025