1パネルMCPサーバー
1Panel への Web サイトの自動展開のためのモデル コンテキスト プロトコル (MCP)サーバー。
[!IMPORTANT] 現在、このプロジェクトは実験的なプロジェクトであり、直接使用できるわけではありません。
ビデオデモ
https://www.bilibili.com/video/BV1SjQRY3EmM/
特徴
- 1Panelサーバーへのウェブサイトの展開を自動化
- 存在しないウェブサイトを作成する
- 静的ウェブサイトファイルを1Panelにアップロードします
- MCP標準プロトコルと完全に互換性があります
使用法
カーソルIDEでMCPを構成する
このサーバーを Cursor IDE で使用するには、次の MCP 構成を追加します。
- オープンカーソル
.cursor/mcp.json
を作成する
MCPを使用してウェブサイトを展開する
Cursor では、AI チャットで次のコマンドを使用して Web サイトを展開できます。
または、次の形式を使用することもできます。
APIリファレンス
MCP ツール: deploy_website
ウェブサイトを 1Panel にデプロイします。
パラメータ:
domain
(必須): ウェブサイトのドメインbuildDir
(オプション): ビルドディレクトリのパス
応答:
実装の詳細
展開プロセス
- ビルドディレクトリのチェック: 指定されたビルドディレクトリが存在するかどうかを確認します
- ウェブサイトの作成: 存在しない場合は、1Panel API を通じて新しい静的ウェブサイトを作成します。
- ファイルアップロード: ビルドディレクトリからウェブサイトにすべてのファイルをアップロードします
- 統計: アップロードプロセスに関する詳細な統計を返します
トラブルシューティング
デプロイメントの問題が発生した場合は、次の点を確認してください。
- APIキーが有効であり、十分な権限があることを確認してください
- ウェブサイトディレクトリが存在し、書き込み権限があることを確認します
- 詳細なエラー情報については、1Panel サーバーのログを確認してください。
- ファイルのアップロードが失敗する場合は、ファイルの権限または形式の問題が原因である可能性があります。
This server cannot be installed
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.
モデルコンテキストプロトコルを実装して 1Panel サーバーへの Web サイトの展開を自動化する実験的なサーバー。これにより、ユーザーは自然言語コマンドを使用して Web サイトを作成し、静的ファイルをアップロードできます。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides web content fetching and conversion capabilities.Last updated -4892JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -4Python
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.Last updated -12PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.Last updated -2PythonMIT License