1PanelSAFE
A MCP server for automated website deployment to 1Panel (Experimental)
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:
- Open Cursor
- 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 domainbuildDir(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
- Check Build Directory: Verifies if the specified build directory exists
- Website Creation: Creates a new static website through 1Panel API if it doesn't exist
- File Upload: Uploads all files from the build directory to the website
e080522b7fe1OBSERVED · 2026-10-08Connect
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 mcp add 1panel-mcp --env ONEPANEL_API_KEY=${ONEPANEL_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"1panel-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ONEPANEL_API_KEY": "${ONEPANEL_API_KEY}"
}
}
}
}Exposed tools (1)
0 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
deploy_website | write | Deploy website to 1Panel server |
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.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (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)
const token = crypto.createHash("md5").update(content).digest("hex");@modelcontextprotocol/sdk, archiver, axios, body-parser, fs-extra, node-fetch, path, zod
Gates applied: no_behavioural_pass.
e080522b7fe1full audit observations/trust-audit/mcp-server/ruibaby__1panel.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | e080522b7fe1 | SAFE | B | 89 | first audit |
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.