Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AIFire in da houseCheck it out free

mcp-1panel

MCP.Pizza Chef: 1Panel-dev

mcp-1panel is a Model Context Protocol (MCP) server implementation designed specifically for 1Panel. It enables real-time, structured context sharing between 1Panel environments and LLMs, facilitating seamless integration and interaction. The server supports multiple installation methods including prebuilt binaries, source builds, and Go installs, making it accessible for various deployment scenarios.

Use This MCP server To

Integrate 1Panel environment data with LLMs for enhanced context Provide real-time context from 1Panel to AI models Enable AI-driven workflows within 1Panel dashboards Facilitate multi-step reasoning using 1Panel system state Expose 1Panel APIs and data as structured context to models

README

[English] | [中文(简体)]

1Panel MCP Server

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

Installation Methods

Method 1: Download from Release Page (Recommended)

  1. Visit the Releases Page and download the executable file corresponding to your system.

  2. Example installation (for amd64):

chmod +x mcp-1panel-linux-amd64
mv mcp-1panel-linux-amd64 /usr/local/bin/mcp-1panel

Method 2: Build from Source

Make sure Go 1.23 or later is installed locally. Then run:

  1. Clone the repository:
git clone https://github.com/1Panel-dev/mcp-1panel.git
cd mcp-1panel
  1. Build the executable:
make build

Move ./build/mcp-1panel to a directory included in your system's PATH.

Method 3: Install via go install

Make sure Go 1.23 or later is installed locally. Then run:

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

Method 4: Install via Docker

Make sure Docker is correctly installed and configured on your machine.

The official image supports the following architectures:

  • amd64
  • arm64
  • arm/v7
  • s390x
  • ppc64le

Usage

1Panel MCP Server supports two running modes: stdio and sse.

stdio Mode

Using Local Binary

In the configuration file of Cursor or Windsurf, add:

{
  "mcpServers": {
    "mcp-1panel": {
      "command": "mcp-1panel",
      "env": {
        "PANEL_ACCESS_TOKEN": "<your 1Panel access token>",
        "PANEL_HOST": "such as http://localhost:8080"
      }
    }
  }
}

Running in 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 Mode

  1. Start the MCP Server:
mcp-1panel -host http://localhost:8080 -token <your 1Panel access token> -transport sse -addr http://localhost:8000
  1. Configure in Cursor or Windsurf:
{
  "mcpServers": {
    "mcp-1panel": {
      "url": "http://localhost:8000/sse"
    }
  }
}

Command Line Options

  • -token: 1Panel access token
  • -host: 1Panel access address
  • -transport: Transport type (stdio or sse, default: stdio)
  • -addr: Start SSE server address (default: http://localhost:8000)

Available Tools

The server provides various tools for interacting with 1Panel:

Tool Category Description
get_dashboard_info System List dashboard status
get_system_info System Get system information
list_websites Website List all websites
create_website Website Create a website
list_ssls Certificate List all certificates
create_ssl Certificate Create a certificate
list_installed_apps Application List installed apps
install_openresty Application Install OpenResty
install_mysql Application Install MySQL
list_databases Database List all databases
create_database Database Create a database

mcp-1panel FAQ

How do I install mcp-1panel?
You can install mcp-1panel by downloading prebuilt binaries from the releases page, building from source with Go 1.23+, or using 'go install'.
What operating systems does mcp-1panel support?
mcp-1panel provides executables for common platforms like Linux amd64; building from source allows use on other systems.
How does mcp-1panel integrate with 1Panel?
It acts as an MCP server exposing 1Panel's environment and APIs as structured context to LLMs.
Can mcp-1panel be used with multiple LLM providers?
Yes, it supports provider-agnostic MCP interfaces compatible with models like OpenAI, Claude, and Gemini.
Is mcp-1panel secure for production use?
It follows MCP principles for scoped, secure, and observable model interactions within 1Panel environments.
Where can I find documentation for mcp-1panel?
Documentation is available in English and Simplified Chinese in the GitHub repository's docs folder.
What prerequisites are needed to build mcp-1panel from source?
Go 1.23 or later is required to build the server from source code.