home / mcp / coolify mcp server
Provides an MCP server to access Coolify resources via MCP-compatible clients and automate actions.
Configuration
View docs{
"mcpServers": {
"kof70-coolify-mcp-server": {
"command": "node",
"args": [
"/path/to/coolify-mcp-server/build/index.js"
],
"env": {
"COOLIFY_TOKEN": "your-api-token",
"COOLIFY_TEAM_ID": "YOUR_TEAM_ID",
"COOLIFY_BASE_URL": "https://your-coolify.com"
}
}
}
}You run an MCP server to enable direct interaction with Coolify data from any MCP-compatible AI assistant. This server exposes resources like applications, databases, servers, projects, services, teams, deployments, and private keys, and supports direct resource access via coolify:// URIs. It also handles version compatibility and rate limiting to keep interactions smooth across Coolify versions.
Install and run the MCP server locally, then connect your MCP client to it. You will configure your client to talk to the local or remote server, enabling you to list resources, create or update items, start deployments, and execute actions like deploying applications or restarting services. Use the MCP resource URIs to access data directly from your CAD-style assistant, and rely on built-in retry and compatibility logic to handle Coolify version differences.
Prerequisites you need before installing are Node.js and npm. Ensure you have a supported Node.js version installed on your machine.
# Install the MCP server globally
npm install -g coolify-mcp-serverIf you prefer building from source, clone the project, install dependencies, and build the project.
git clone https://github.com/YOUR_USERNAME/coolify-mcp-server.git
cd coolify-mcp-server
npm install
npm run buildYou must provide your Coolify instance URL and an API token to authorize MCP operations.
Configure your MCP client with a stdio-based server configuration to start the Coolify MCP server locally. You can also interact with it via text prompts that reference the available resources such as applications, servers, or deployments.
Get Coolify version information
Check API health status
List all accessible teams
Get team details by ID
Get current team details
Get current team members
List all servers
Create a new server
Validate server connection
Get server resource usage
Get server domains
List all projects
Get project details
Create a new project
List project environments
Create a new environment
List all applications
Get application details
Create an application
Start an application
Stop an application
Restart an application
Deploy an application
Execute command in container
Get application logs
List all services
Create a service
Start a service
Stop a service
Restart a service
List all databases
Create a database (PostgreSQL, MySQL, MongoDB, Redis)
List all deployments
Get deployment details
List all SSH private keys
Create a new SSH private key