mcp-1panel

by 1Panel-dev

Integrations

  • Provides tools for managing a 1Panel instance, including retrieving system information, managing websites, SSL certificates, applications, and databases. Enables actions like creating websites, installing applications like OpenResty and MySQL, and managing database resources.

  • Supports MySQL database operations, including listing existing databases, creating new databases, and installing MySQL instances via the 1Panel interface.

[英語] | [中国語(簡体字)]

1パネルMCPサーバー

1Panel MCP サーバーは、 1Panel用のモデル コンテキスト プロトコル (MCP) サーバーの実装です。

インストール方法

方法1: リリースページからダウンロードする(推奨)

  1. リリース ページにアクセスし、システムに対応する実行可能ファイルをダウンロードします。
  2. インストール例 (amd64 の場合):
chmod +x mcp-1panel-linux-amd64 mv mcp-1panel-linux-amd64 /usr/local/bin/mcp-1panel

方法2: ソースからビルドする

Go 1.23以降がローカルにインストールされていることを確認してください。その後、以下を実行してください。

  1. リポジトリをクローンします。
git clone https://github.com/1Panel-dev/mcp-1panel.git cd mcp-1panel
  1. 実行ファイルをビルドします。
make build

./build/mcp-1panel をシステムの PATH に含まれるディレクトリに移動します。

方法3: go install でインストールする

Go 1.23以降がローカルにインストールされていることを確認してください。その後、以下を実行してください。

go install github.com/1Panel-dev/mcp-1panel@latest

方法4: Docker経由でインストールする

マシンに Docker が正しくインストールされ、設定されていることを確認してください。

公式イメージは次のアーキテクチャをサポートしています。

  • amd64
  • アーム64
  • アーム/v7
  • s390x
  • ppc64le

使用法

1Panel MCP Server は、 stdiosse 2 つの実行モードをサポートしています。

stdioモード

ローカルバイナリの使用

Cursor または Windsurf の設定ファイルに以下を追加します。

{ "mcpServers": { "mcp-1panel": { "command": "mcp-1panel", "env": { "PANEL_ACCESS_TOKEN": "<your 1Panel access token>", "PANEL_HOST": "such as http://localhost:8080" } } } }
Dockerで実行
{ "mcpServers": { "mcp-1panel": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "PANEL_HOST", "-e", "PANEL_ACCESS_TOKEN", "1panel/1panel-mcp-server" ], "env": { "PANEL_HOST": "such as http://localhost:8080", "PANEL_ACCESS_TOKEN": "<your 1Panel access token>" } } } }

sseモード

  1. MCP サーバーを起動します。
mcp-1panel -host http://localhost:8080 -token <your 1Panel access token> -transport sse -addr http://localhost:8000
  1. カーソルまたはウィンドサーフィンで設定します。
{ "mcpServers": { "mcp-1panel": { "url": "http://localhost:8000/sse" } } }
コマンドラインオプション
  • -token : 1Panelアクセストークン
  • -host : 1パネルのアクセスアドレス
  • -transport : トランスポートタイプ (stdio または sse、デフォルト: stdio)
  • -addr : 開始SSEサーバーアドレス(デフォルト: http://localhost:8000

利用可能なツール

サーバーは、1Panel と対話するためのさまざまなツールを提供します。

道具カテゴリ説明
ダッシュボード情報を取得するシステムダッシュボードのステータスを一覧表示する
システム情報を取得するシステムシステム情報を取得する
ウェブサイト一覧Webサイトすべてのウェブサイトを一覧表示する
ウェブサイトを作成Webサイトウェブサイトを作成する
リスト_SSL証明書すべての証明書を一覧表示する
作成SSL証明書証明書を作成する
インストール済みアプリの一覧応用インストールされているアプリの一覧
インストール_openresty応用OpenRestyをインストールする
インストール_mysql応用MySQLをインストールする
データベース一覧データベースすべてのデータベースを一覧表示する
データベースの作成データベースデータベースを作成する
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

1Panel MCP サーバーは、1Panel 用のモデル コンテキスト プロトコル (MCP) サーバーの実装です。

  1. Installation Methods
    1. Method 1: Download from Release Page (Recommended)
    2. Method 2: Build from Source
    3. Method 3: Install via go install
    4. Method 4: Install via Docker
  2. Usage
    1. stdio Mode
    2. sse Mode
  3. Available Tools

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
      Last updated -
      3
      9
      36
      JavaScript
      Apache 2.0
    • A
      security
      F
      license
      A
      quality
      A Model Context Protocol (MCP) server that provides a simple sleep/wait tool, useful for adding delays between operations such as waiting between API calls or testing eventually consistent systems.
      Last updated -
      1
      6
      7
      JavaScript
    • A
      security
      A
      license
      A
      quality
      A dynamic service that creates and manages Model Context Protocol (MCP) servers, allowing users to spawn, customize, and control multiple MCP servers as child processes.
      Last updated -
      5
      21
      TypeScript
      MIT License
      • Apple
      • Linux
    • -
      security
      -
      license
      -
      quality
      A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
      Last updated -
      1
      TypeScript

    View all related MCP servers

    ID: ytifcl0gkl