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.

[Inglés] | [Chino (chino)]

Servidor MCP de 1 panel

1Panel MCP Server es una implementación del servidor Model Context Protocol (MCP) para 1Panel .

Métodos de instalación

Método 1: Descargar desde la página de lanzamiento (recomendado)

  1. Visita la página de lanzamientos y descarga el archivo ejecutable correspondiente a tu sistema.
  2. Ejemplo de instalación (para amd64):
chmod +x mcp-1panel-linux-amd64 mv mcp-1panel-linux-amd64 /usr/local/bin/mcp-1panel

Método 2: Construir desde la fuente

Asegúrese de tener Go 1.23 o posterior instalado localmente. Luego, ejecute:

  1. Clonar el repositorio:
git clone https://github.com/1Panel-dev/mcp-1panel.git cd mcp-1panel
  1. Construya el ejecutable:
make build

Mueva ./build/mcp-1panel a un directorio incluido en la RUTA de su sistema.

Método 3: Instalar mediante Go Install

Asegúrese de tener Go 1.23 o posterior instalado localmente. Luego, ejecute:

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

Método 4: Instalar mediante Docker

Asegúrese de que Docker esté correctamente instalado y configurado en su máquina.

La imagen oficial admite las siguientes arquitecturas:

  • amd64
  • brazo64
  • brazo/v7
  • s390x
  • ppc64le

Uso

1Panel MCP Server admite dos modos de ejecución: stdio y sse .

Modo stdio

Uso de binario local

En el archivo de configuración de Cursor o Windsurf, agregue:

{ "mcpServers": { "mcp-1panel": { "command": "mcp-1panel", "env": { "PANEL_ACCESS_TOKEN": "<your 1Panel access token>", "PANEL_HOST": "such as http://localhost:8080" } } } }
Ejecutando en 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>" } } } }

Modo sse

  1. Inicie el servidor MCP:
mcp-1panel -host http://localhost:8080 -token <your 1Panel access token> -transport sse -addr http://localhost:8000
  1. Configurar en Cursor o Windsurf:
{ "mcpServers": { "mcp-1panel": { "url": "http://localhost:8000/sse" } } }
Opciones de línea de comandos
  • -token : 1 token de acceso al panel
  • -host : 1Dirección de acceso al panel
  • -transport : Tipo de transporte (stdio o sse, predeterminado: stdio)
  • -addr : Dirección de inicio del servidor SSE (predeterminado: http://localhost:8000 )

Herramientas disponibles

El servidor proporciona varias herramientas para interactuar con 1Panel:

HerramientaCategoríaDescripción
obtener_información_del_tableroSistemaLista de estados del panel
obtener_información_del_sistemaSistemaObtener información del sistema
lista_sitios webSitio webListar todos los sitios web
crear_sitio webSitio webCrear un sitio web
lista_sslsCertificadoListar todos los certificados
crear_sslCertificadoCrear un certificado
lista_de_aplicaciones_instaladasSolicitudLista de aplicaciones instaladas
instalar_openrestySolicitudInstalar OpenResty
instalar_mysqlSolicitudInstalar MySQL
lista_de_bases_de_datosBase de datosListar todas las bases de datos
crear_base_de_datosBase de datosCrear una base de datos
-
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 Server es una implementación del servidor Model Context Protocol (MCP) para 1Panel.

  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