Allows for automated website deployment to 1Panel servers, including creating websites if they don't exist, uploading static website files, and providing deployment statistics.
Provides video demonstration capabilities, with a specific demo video hosted on Bilibili showcasing the 1Panel deployment functionality.
1Panel MCP Server
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
https://www.bilibili.com/video/BV1SjQRY3EmM/
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
Use MCP to Deploy Websites
In Cursor, you can deploy websites using the following command in the AI chat:
Or you can use the following format:
API Reference
MCP Tool: deploy_website
Deploys a website to 1Panel.
Parameters:
domain
(required): Website domainbuildDir
(optional): Build directory path
Response:
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
- Statistics: Returns detailed statistics about the upload process
Troubleshooting
If you encounter deployment issues, check the following:
- Ensure your API Key is valid and has sufficient permissions
- Verify that the website directory exists and has write permissions
- Check the 1Panel server logs for more detailed error information
- If file uploads fail, it may be due to file permission or format issues
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
An experimental server implementing Model Context Protocol to automate website deployments to 1Panel servers, allowing users to create websites and upload static files through natural language commands.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with web pages, take screenshots, generate test code, scrape web pages, and execute JavaScript in a real browser environment.Last updated -29759TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots, providing browser automation capabilities without requiring screenshots or visually-tuned models.Last updated -2TypeScriptApache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that provides browser automation capabilities for creating and testing Autoconsent rules, enabling LLMs to interact with web pages and test consent management platforms in a real browser environment.Last updated -10TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots, providing browser automation capabilities without requiring screenshots or visually tuned models.Last updated -53,203TypeScriptApache 2.0