Atlas / MCP servers / ruibaby / 1Panel

1PanelSAFE

mcp/ruibaby/1panel

A MCP server for automated website deployment to 1Panel (Experimental)

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
1 0r · 1w · 0d
Transport
stdio
License
MIT
Stars
36
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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

[!IMPORTANT] Currently, this project is an experimental project and does not mean that it can be used directly.

Video demo

Features

  • 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

Usage

Configure MCP in Cursor IDE

To use this server with Cursor IDE, add the following MCP configuration:

  1. Open Cursor
  2. Create .cursor/mcp.json
{
"mcpServers": {
"1panel-mcp": {
"command": "npx",
"args": [
"-y",
"1panel-mcp"
],
"env": {
"ONEPANEL_BASE_URL": "",
"ONEPANEL_API_KEY": "",
"ONEPANEL_API_VERSION": "v2" // optional, default is v2
}
}
}
}

Use MCP to Deploy Websites

In Cursor, you can deploy websites using the following command in the AI chat:

Deploy to 1Panel with domain=yourdomain.com

Or you can use the following format:

Deploy website to 1Panel server, domain: yourdomain.com

API Reference

MCP Tool: deploy_website

Deploys a website to 1Panel.

Parameters:

  • domain (required): Website domain
  • buildDir (optional): Build directory path

Response:

Successfully deployed to 1Panel!
Domain: yourdomain.com
URL: http://yourdomain.com
Upload statistics:
- Total files: 25
- Successfully uploaded: 25
- Failed to upload: 0

Implementation Details

Deployment Process

  1. Check Build Directory: Verifies if the specified build directory exists
  2. Website Creation: Creates a new static website through 1Panel API if it doesn't exist
  3. File Upload: Uploads all files from the build directory to the website
Read from source at commit e080522b7fe1OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add 1panel-mcp --env ONEPANEL_API_KEY=${ONEPANEL_API_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "1panel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ONEPANEL_API_KEY": "${ONEPANEL_API_KEY}"
      }
    }
  }
}
03

Exposed tools (1)

0 read · 1 write · 0 destructive.

ToolRiskDescription
deploy_websitewriteDeploy website to 1Panel server
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (2)

LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
1panel-api.mjs:19
const token = crypto.createHash("md5").update(content).digest("hex");
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, archiver, axios, body-parser, fs-extra, node-fetch, path, zod
Why it matters. 10 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha e080522b7fe1full audit observations/trust-audit/mcp-server/ruibaby__1panel.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08e080522b7fe1SAFEB89first audit
06

Questions

What is the 1Panel MCP server?

A MCP server for automated website deployment to 1Panel (Experimental)

What tools does 1Panel expose?

1 in total: 0 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is 1Panel safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does 1Panel need?

It reads ONEPANEL_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does 1Panel run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as 1panel-mcp at 1.0.2.

How current is this page?

The grade is for one exact copy of the source (e080522b7fe1), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement