Suggest providing a container image to run 1Panel MCP server

View original issue on GitHub  ·  Variant 2

Containerizing the 1Panel MCP Server: A Streamlined Deployment Approach

Deploying the 1Panel MCP server currently requires users to set up a development environment with Git, Go, and Make. This can be a barrier to entry, especially for users who prefer containerized deployments or those less familiar with Go development workflows. The core issue is the lack of a pre-built container image, forcing users to build the server from source.

The root cause is simply that official container images haven't been built and published as part of the 1Panel MCP server release process. This likely stems from prioritizing other features or a different initial deployment strategy. However, the community feedback clearly indicates a demand for a more straightforward, container-based deployment option.

The Solution: Docker Container Image

The proposed solution is to provide a readily available Docker container image for the 1Panel MCP server. This allows users to deploy the server with a single command, eliminating the need for manual setup and dependency management. Here's how you could run the container using different transport modes:

SSE Transport Mode


docker/podman run -d --rm -p 8000:8000 -e PANEL_ACCESS_TOKEN=xxx -e PANEL_HOST=yyy fit2cloud/1panel-mcp-server:1.0.0 --transport=sse

In this example:

STDIO Transport Mode


docker/podman run -d --rm -e PANEL_ACCESS_TOKEN=xxx -e PANEL_HOST=yyy fit2cloud/1panel-mcp-server:1.0.0 --transport=stdio

This configuration is similar to the SSE mode, but it uses STDIO for communication. Note that port mapping (-p) is not included here, as STDIO mode doesn't typically rely on network ports in the same way.

Practical Considerations

By providing a container image, the 1Panel MCP server becomes significantly easier to deploy, especially in modern, containerized environments. This lowers the barrier to entry and encourages wider adoption.