1Panel Website Deployment
STDIOMCP server for automated website deployment to 1Panel.
MCP server for automated website deployment to 1Panel.
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.
https://www.bilibili.com/video/BV1SjQRY3EmM/
To use this server with Cursor IDE, add the following MCP configuration:
.cursor/mcp.json
{ "mcpServers": { "1panel-mcp": { "command": "npx", "args": [ "-y", "1panel-mcp" ], "env": { "ONEPANEL_BASE_URL": "<your 1Panel base URL>", "ONEPANEL_API_KEY": "<your 1Panel API key>" } } } }
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
Deploys a website to 1Panel.
Parameters:
domain
(required): Website domainbuildDir
(optional): Build directory pathResponse:
Successfully deployed to 1Panel! Domain: yourdomain.com URL: http://yourdomain.com Upload statistics: - Total files: 25 - Successfully uploaded: 25 - Failed to upload: 0
If you encounter deployment issues, check the following: