Sign inSign up

1panel/1panel-mcp-server

By 1panel

Updated over 1 year ago

Image
1

10K+

1panel/1panel-mcp-server repository overview

1Panel MCP Server

1Panel MCP Server is an implementation of the Model Context Protocol (MCP) server for 1Panel.

Usage

You can use 1Panel MCP Server with tools like Cursor and Windsurf.

stdio Mode

Make sure Docker is installed:

{
  "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>"
      }
    }
  }
}
Environment Variables

You can also configure the server using environment variables:

  • PANEL_HOST: 1Panel access address
  • PANEL_ACCESS_TOKEN: 1Panel access token

Available Tools

The server provides various tools for interacting with 1Panel:

ToolCategoryDescription
get_dashboard_infoSystemList dashboard status
get_system_infoSystemGet system information
list_websitesWebsiteList all websites
create_websiteWebsiteCreate a website
list_sslsCertificateList all certificates
create_sslCertificateCreate a certificate
list_installed_appsApplicationList all installed applications
install_openrestyApplicationInstall OpenResty
install_mysqlApplicationInstall MySQL
list_databasesDatabaseList all databases
create_databaseDatabaseCreate a database

Tag summary

Content type

Image

Digest

sha256:f465f104b

Size

6.1 MB

Last updated

over 1 year ago

docker pull 1panel/1panel-mcp-server