- Home
- MCP servers
- Self-Hosted EdgeOne Pages
Self-Hosted EdgeOne Pages
- other
0
GitHub Stars
other
Language
6 months ago
First Indexed
3 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.
You run a self-hosted MCP server to deploy and manage static EdgeOne Pages sites. It provides a simple HTTP endpoint to register the MCP server and a direct API to publish content, making it easy for AI assistants to host and update pages.
How to use
Connect an MCP client to the EdgeOne Pages MCP server using the HTTP endpoint you configure. Once connected, you can deploy and manage static pages by sending content to the server, and you can publish updates via the provided API. Typical usage includes registering your EdgeOne Pages MCP server with your client, storing page data in the remote KV store, and binding a custom domain to obtain your dedicated access URL.
How to install
Prerequisites are determined by your hosting environment. The deployment flow commonly involves provisioning the MCP server through a one-click option and then configuring the MCP client to point at your server URL.
-
Deploy the MCP server using the one-click deployment URL for EdgeOne Pages.
-
Add the MCP server configuration to your MCP client configuration using the snippet below.
-
Start using the Direct API to publish content once your server is up and running.
Configuration and usage notes
After deployment, you must configure the MCP server connection in your client by adding the following to your MCP config file.
{
"mcpServers": {
"edgeone-pages": {
"url": "https://your-custom-domain.com/mcp-server"
}
}
}
Direct API access
You can publish content directly via an API call. Use the following example to store a page in the KV store and publish its HTML content.
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>"}'
Available tools
edgeone_deploy
One-click deployment flow to provision a self-hosted MCP server on EdgeOne Pages.
kv_set_api
HTTP API to store content in the KV store via /kv/set for publishing pages.
domain_bind
Process to bind a custom domain to the MCP server to obtain a dedicated access URL.