- Home
- MCP servers
- Self-Hosted EdgeOne Pages
Self-Hosted EdgeOne Pages
- other
0
GitHub Stars
other
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
This MCP server lets you host and manage static websites with AI-assisted deployment and context-aware guidance. It’s designed for a self-hosted setup where you control the hosting environment, domain, and storage, while providing a simple, scalable way to serve your site content through MCP clients.
How to use
You use this MCP server with an MCP client to deploy, update, and retrieve static website content. Connect your client to the provided MCP endpoint, then publish your site files through the KV storage pathway or via the API. Your client can request content, store new files, and bind a dedicated domain for your site, all while leveraging AI-backed context to assist with content management and updates.
How to install
Follow these steps to get your self-hosted EdgeOne Pages MCP Server up and running:
-
Deploy the MCP server using the one-click deployment option provided by EdgeOne Pages.
-
Add the MCP server configuration to your MCP server config file. Use the following JSON snippet exactly as shown:
{
"mcpServers": {
"edgeone_pages": {
"url": "https://your-custom-domain.com/mcp-server"
}
}
}
Additional setup notes
To complete the setup, you should set up KV Storage to store website files and bind a custom domain to obtain your dedicated access URL. These steps ensure your site content is stored securely and accessible at a stable address.
You can also verify functionality by using the API to write content to KV storage. The example below posts HTML content to the KV endpoint to store a simple page. Run this from your preferred shell with the actual domain substituted:
curl -X POST https://your-custom-domain.com/kv/set \
-H "Content-Type: application/json" \
-d '{"value": "<html><body><h1>Hello, World!</h1></body></html>"}'