1Panel MCP Server
1Panel MCP Server is an implementation of the Model Context Protocol (MCP) server for 1Panel.
Installation
Prerequisites
- Go 1.23.0 or higher
- Existing 1Panel
Build from Source
-
Clone the repository:
git clone https://github.com/1Panel-dev/mcp-1panel.git cd mcp-1panel -
Build the project:
make buildMove
./build/mcp-1panelto the system environment path.
Install using go install
go install github.com/1Panel-dev/mcp-1panel@latest
Usage
Cursor and Windsurf configuration example:
stdio mode
{
"mcpServers": {
"mcp-1panel": {
"command": "mcp-1panel",
"env": {
"PANEL_ACCESS_TOKEN": "<your 1Panel access token>",
"PANEL_HOST": "such as http://localhost:8080"
}
}
}
}
sse mode
start mcp server through sse
mcp-1panel -host <your 1Panel access address> -token <your 1Panel access token> -transport sse -addr "http://localhost:8000"
{
"mcpServers": {
"mcp-1panel": {
"url": "http://localhost:8000/sse"
}
}
}
Command Line Options
-token: 1Panel access token-host: 1Panel access address-transport: Transport type (stdio or sse, default: stdio)-addr: Start SSE server addr (default:http://localhost:8000)
Environment Variables
You can also configure the server using environment variables:
PANEL_HOST: 1Panel access addressPANEL_ACCESS_TOKEN: 1Panel access token
Available Tools
The server provides various tools for interacting with 1Panel:
| Tool | Category | Description |
|---|---|---|
| get_dashboard_info | System | List dashboard status |
| get_system_info | System | Get system information |
| list_websites | Website | List all websites |
| create_website | Website | Create a website |
| list_ssls | Certificate | List all certificates |
| create_ssl | Certificate | Create a certificate |
| list_installed_apps | Application | List all installed applications |
| install_openresty | Application | Install OpenResty |
| install_mysql | Application | Install MySQL |
| list_databases | Database | List all databases |
| create_database | Database | Create a database |
Recommend MCP Servers 💡
blue-bridge
An MCP server that provides sample prompts and recipes for querying and managing Azure resources, including Grafana, Data Explorer, Resource Graph, and Resource Manager, with zero-secret authentication.
convex
Convex's MCP server allows AI agents to introspect and interact with Convex deployments, including querying tables, calling functions, reading/writing data, and managing environment variables, with support for sandboxed one-off queries.
azure-mcp
The Azure MCP Server, bringing the power of Azure to your agents.
@stakpak/mcp
A lightweight MCP server providing access to the Stakpak API.
supabase-mcp-server
An open-source MCP server for Supabase that enables end-to-end management of Supabase via chat interface, supporting SQL query execution, Management API, Auth Admin SDK, and automatic migration versioning with built-in safety controls.
@cloudinary/asset-management
The Cloudinary Asset Management MCP Server allows you to upload, manage, and transform your media assets, offering advanced search and organization capabilities directly through conversational AI.