1panel MCP Server

1Panel MCP server for automatic website deployment

Local serverstdio

What is the 1panel MCP server?

1panel MCP server exists for a simple reason — assistants are far more useful when they can act on 1panel directly instead of describing what you should do. 1Panel MCP server for automatic website deployment.

What you get

A Model Context Protocol (MCP) server for automated website deployment to 1Panel.

  • Automates website deployment to 1Panel servers
  • Creates websites if they don't already exist
  • Uploads static website files to 1Panel
  • Fully compatible with the MCP standard protocol

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Configuration and credentials

You will need 3 environment variables: ONEPANEL_BASE_URL, ONEPANEL_API_KEY, ONEPANEL_API_VERSION. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by ruibaby; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against 1panel's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the 1panel mcp server does with a few real requests.

How to install the 1panel MCP server

{
  "mcpServers": {
    "1panel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "1panel-mcp"
      ],
      "env": {
        "ONEPANEL_BASE_URL": "<your 1Panel base URL>",
        "ONEPANEL_API_KEY": "<your 1Panel API key>",
        "ONEPANEL_API_VERSION": "v2" // optional, default is v2
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ONEPANEL_BASE_URLEndpoint or connection string the server talks to.Yes
ONEPANEL_API_KEYCredential the server authenticates with.Yes
ONEPANEL_API_VERSIONConfiguration value read at startup.Optional

Frequently asked questions

It connects 1panel to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with 1panel directly.