📦 Installation Guide¶
This guide covers installing EasyPanel MCP on all supported platforms.
✅ Prerequisites¶
Before you begin, ensure you have:
- Python 3.10 or higher (Download Python)
- EasyPanel instance (self-hosted or cloud)
- EasyPanel API Key (generate from your panel settings)
- Git (optional, for cloning the repository)
🔧 Installation Steps¶
Step 1: Clone the Repository¶
Alternative: Download ZIP
If you don't have Git installed, you can download the ZIP file and extract it.
Step 2: Create Virtual Environment¶
Creating a virtual environment is highly recommended to avoid dependency conflicts.
Verification
You should see (venv) in your terminal prompt, indicating the virtual environment is active.
Step 3: Install Dependencies¶
This installs:
- httpx - Async HTTP client for EasyPanel API
- python-dotenv - Environment variable management
- aiohttp - Async web server for HTTP mode
- typing-extensions - Type hints support
Step 4: Configure Environment Variables¶
Now edit the .env file with your settings:
# EasyPanel Configuration
EASYPANEL_URL=https://your-easypanel.com
EASYPANEL_API_KEY=your_api_key_here
EASYPANEL_TIMEOUT=30
EASYPANEL_VERIFY_SSL=true
# MCP Server Configuration
MCP_HOST=127.0.0.1
MCP_PORT=8080
MCP_LOG_LEVEL=INFO
MCP_DEBUG=false
Important
- Never commit your
.envfile to version control - Keep your API key secure and rotate it periodically
- Use
EASYPANEL_VERIFY_SSL=falseonly for local development with self-signed certificates
Step 5: Verify Installation¶
Test that everything is working:
If you see no errors, you're ready to go! 🎉
🚀 Running the Server¶
Standard Mode (stdio)¶
For Claude Desktop and other stdio-based clients:
HTTP Mode¶
For n8n, webhooks, and HTTP-based clients:
The server will start on http://127.0.0.1:8080 by default.
🔍 Troubleshooting¶
Python Version Error¶
Error: Python 3.10+ required
Solution: Upgrade your Python installation:
- Download from python.org
- Or use version manager:
pyenv install 3.10
Module Not Found¶
ModuleNotFoundError: No module named 'httpx'
Solution: Reinstall dependencies:
Port Already in Use¶
OSError: [Errno 48] Address already in use
Solution: Change the port in .env:
EasyPanel Connection Failed¶
Connection refused
Solution:
1. Verify EASYPANEL_URL is correct
2. Check your API key is valid
3. Ensure EasyPanel is running and accessible
4. For local development, use http://localhost:3000
📦 Alternative Installation Methods¶
Using pip (Development Mode)¶
This installs the package in editable mode, allowing you to modify the source code.
Using Docker (Coming Soon)¶
docker run -d \
-p 8080:8080 \
-e EASYPANEL_URL=https://your-easypanel.com \
-e EASYPANEL_API_KEY=your_key \
dannymaaz/easypanel-mcp:latest
✅ Next Steps¶
Now that you have EasyPanel MCP installed:
- Configuration Guide - Learn about all configuration options
- Quick Start - Deploy your first service with AI
- Tools Reference - Explore all available tools
🆘 Need Help?¶
- Check the FAQ
- Read Troubleshooting
- Open an issue on GitHub
🚀 Ready to deploy with AI? Continue to Configuration Guide