/self-hosted-pages-mcp

Self-host the HTTP-based EdgeOne Pages MCP Server and bind it to your own domain.

Primary LanguageTypeScript

Self-Hosted EdgeOne Pages MCP Server

A self-hosted MCP (Model Context Protocol) solution that enables AI assistants to deploy and manage your static websites directly. Simple setup, ready to use out of the box.

One-Click Deploy

Click the button below to quickly deploy your MCP server on EdgeOne Pages:

Deploy with EdgeOne Pages

Configure MCP Server

After deployment, add the following configuration to your MCP server config file:

{
  "mcpServers": {
    "edgeone-pages": {
      "url": "https://your-custom-domain.com/mcp-server"
    }
  }
}

Complete Setup

To get the service running properly, you'll also need to:

  1. Set up KV Storage: For storing website files, view setup guide
  2. Bind Custom Domain: Get your dedicated access URL, view binding guide

Direct API Access

You can also deploy content directly via API:

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>"}'