================== /// MCP /// /// EDG /// ================== [server:online] [protocol:ready]
edgeone-pages-mcp
by TencentEdgeOne
MCP server that deploys HTML / folder / zip assets to Tencent EdgeOne Pages and returns a public URL.
227
26
Enterprise01
deploy_html
Deploy HTML content to EdgeOne Pages and return a publicly accessible URL
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-mcp
3. Install dependencies
npm install # or pnpm install / yarn install
4. 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 3000
5. 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 dev
7. 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-mcp
Documentation
License: MIT License
Updated 7/30/2025