# Docker Compose file for easy local development and testing.
# Version '3.8' is a modern and stable version of the Compose file format.
version: '3.8'
services:
# Defines the main application service
mcp-server:
# Tells Docker Compose to build the image from the Dockerfile in the current directory
build: .
# Assigns a friendly name to the container for easier identification
container_name: cpanel-mcp-server
# Maps port 5001 on the host machine to port 5001 inside the container
ports:
- "5001:5001"
# This crucial line tells Docker Compose to load environment variables from the .env file
# This securely injects your credentials into the container without hardcoding them.
env_file:
- .env
# Mounts the current directory on the host to /app inside the container.
# This enables live-reloading: changes you make to your code locally are
# immediately reflected inside the container without needing to rebuild.
volumes:
- .:/app
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/marketlab-agence/cpanel-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server