En

1Panel

Automatically deploy websites to 1Panel via the MCP protocol.

开发流程 执行自动化部署自动部署项目 cursor ★ 23 Updated 2026-08-02

Install & Use

Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:

Help me install this AI Skill: 1Panel.
It is used for: Automatically deploy websites to 1Panel via the MCP protocol.
Full Skill content: https://321skill.com/skills/1panel/raw/index.md
Read that page and install it.

The prompt includes a link to the full Skill content. You can also view the full content.

This Skill addresses the inefficiency of manually deploying static websites to a 1Panel server. In real-world development, developers often need to repeatedly perform tasks such as creating sites and uploading files, especially when a website is updated frequently. Manual workflows are prone to errors and time-consuming.

Usage is straightforward. You simply need to configure the MCP connection in Cursor IDE, providing your 1Panel server address and API key. You can then deploy websites using natural language commands. For example, instruct the AI with "Deploy to 1Panel with domain=yourdomain.com". It will automatically check the build directory, create the website (if it doesn't exist), upload all static files, and return upload statistics.

It is ideal for teams or individuals who need to deploy static websites frequently, particularly those already using 1Panel as their server management panel and wishing to deeply integrate the deployment workflow with an AI coding assistant like Cursor. Operations personnel, full-stack engineers, and frontend developers can all benefit from it.

It is recommended to set environment variables uniformly in Cursor's MCP configuration and ensure the API key has sufficient permissions. Please note that it is currently an experimental project, primarily suitable for static website deployment and does not support dynamic sites or database configuration. Also, ensure the build directory exists and the server-side has write permissions.

Key Features

Unlike traditional FTP/SFTP manual uploads or script-based deployment, it natively integrates with the Cursor AI coding assistant via the MCP protocol. A single natural language command can complete the entire process of creating a website and uploading files, eliminating the need to leave the editor or execute commands manually.

Limitations

Currently an experimental project. Only supports static website deployment. Requires the 1Panel server v2 API and depends on a Node.js environment (runs via npx).

FAQ

How do I obtain the 1Panel API key?

Create it in the 1Panel admin panel under 'Security' -> 'API Keys'. Be sure to save the key securely, as it is only used for server-side configuration.

What types of websites are supported?

Currently, only static websites (HTML/CSS/JS) are supported. Dynamic sites (e.g., PHP, databases) are not supported.

Installation guide for AI assistants

If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:

Visit https://321skill.com/skills/1panel/raw/index.md to read the original Skill definition (Markdown format) for 1Panel, and install it according to the instructions.