EdgeOne Pages MCP
HTML コンテンツ、フォルダー、および zip ファイルを EdgeOne Pages に展開し、パブリックにアクセス可能な URL を取得するための MCP サービス。
デモ
HTMLを展開する
フォルダーを展開
要件
- Node.js 18以上
MCP を構成する
stdio MCP サーバー
ほとんどのMCPアプリケーションに適しています
ストリーミング可能な HTTP MCP サーバー
ストリーミング可能なHTTP MCPサーバーをサポートするアプリケーションで利用可能
建築
アーキテクチャ図はワークフローを示しています。
- 大規模言語モデルはHTMLコンテンツを生成する
- コンテンツはEdgeOne Pages MCPサーバーに送信されます
- MCPサーバーはコンテンツをEdgeOne Pages Edge Functionsに展開します。
- コンテンツはEdgeOne KVストアに保存され、高速エッジアクセスを実現します。
- MCPサーバーはパブリックURLを返します
- ユーザーは、高速エッジ配信によりブラウザ経由で展開されたコンテンツにアクセスできます。
特徴
- HTML コンテンツを EdgeOne Pages に迅速に展開するための MCP プロトコル
- 公開アクセス可能な URL の自動生成
実装
このMCPサービスは、EdgeOne Pages Functionsと統合して静的HTMLコンテンツをデプロイします。実装では以下を使用します。
- EdgeOne Pages Functions - エッジで JavaScript/TypeScript コードを実行できるサーバーレス コンピューティング プラットフォーム。
- 主な実装の詳細:
- EdgeOne Pages KVストアを使用してHTMLコンテンツを保存および提供します
- 各デプロイメントのパブリック URL を自動的に生成します
- 適切なエラーメッセージでAPIエラーを処理する
- 仕組み:
- MCPサーバーは
deploy_html
ツールを通じてHTMLコンテンツを受け入れます。 - EdgeOne Pages APIに接続してベースURLを取得します
- EdgeOne Pages KV APIを使用してHTMLコンテンツをデプロイします
- 展開されたコンテンツへの公開アクセス可能な URL を返します
- MCPサーバーは
- 使用例:
- MCP サービスに HTML コンテンツを提供する
- すぐにアクセスできる公開URLを受け取る
詳細については、 EdgeOne Pages 関数のドキュメントとEdgeOne Pages KV ストレージ ガイドを参照してください。
ライセンス
マサチューセッツ工科大学
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
HTML コンテンツを EdgeOne Pages に迅速に展開し、展開されたコンテンツのパブリックにアクセス可能な URL を自動的に生成するサービス。
Related Resources
Related MCP Servers
- -securityAlicense-qualityInteract with Render (https://render.com) and easily deploy your servicesLast updated -1192TypeScriptMIT License
- -securityAlicense-qualityAn experimental server implementing Model Context Protocol to automate website deployments to 1Panel servers, allowing users to create websites and upload static files through natural language commands.Last updated -030JavaScriptMIT License
- -securityAlicense-qualityAn MCP server that enables AI models to access user geolocation information through EdgeOne Pages Functions.Last updated -TypeScriptMIT License
- -security-license-qualityEnables large language models to access user geolocation information through EdgeOne Pages Functions using the Model Context Protocol.Last updated -TypeScriptMIT License