coolify-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@coolify-mcp-serverlist all my applications"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Coolify MCP Server
MCP (Model Context Protocol) server for Coolify API integration. Manage your applications, databases, services, servers, and deployments directly from Claude Code or any MCP-compatible client.
Features
Multi-team support with dynamic API key configuration
27 tools covering all major Coolify operations
Full TypeScript support
Compatible with Claude Code and other MCP clients
Related MCP server: coolify-mcp
Installation
Using npx (Recommended)
No installation required. Configure directly in your MCP settings:
{
"mcpServers": {
"coolify": {
"command": "npx",
"args": ["-y", "@softtor/coolify-mcp-server"],
"env": {
"COOLIFY_BASE_URL": "https://your-coolify-instance.com",
"COOLIFY_API_KEY": "your-api-key"
}
}
}
}Global Installation
npm install -g @softtor/coolify-mcp-serverThen configure in your MCP settings:
{
"mcpServers": {
"coolify": {
"command": "coolify-mcp-server",
"env": {
"COOLIFY_BASE_URL": "https://your-coolify-instance.com",
"COOLIFY_API_KEY": "your-api-key"
}
}
}
}Configuration
Environment Variables
Variable | Required | Description |
| Yes | Your Coolify instance URL (e.g., |
| No* | Default API key |
| No | Default team name (default: |
| No* | Team-specific API key |
*At least one API key must be provided.
Multi-Team Configuration
For organizations with multiple Coolify teams, configure team-specific API keys:
{
"mcpServers": {
"coolify": {
"command": "npx",
"args": ["-y", "@softtor/coolify-mcp-server"],
"env": {
"COOLIFY_BASE_URL": "https://your-coolify-instance.com",
"COOLIFY_DEFAULT_TEAM": "production",
"COOLIFY_TEAM_PRODUCTION_API_KEY": "prod-api-key",
"COOLIFY_TEAM_STAGING_API_KEY": "staging-api-key",
"COOLIFY_TEAM_DEV_API_KEY": "dev-api-key"
}
}
}
}Then use the team parameter in any tool:
coolify_list_applications { team: "staging" }Getting Your API Key
Log in to your Coolify instance
Go to Settings > API Tokens
Create a new token with appropriate permissions
Copy the token and use it as your API key
Important: Tokens Are Team-Scoped
Coolify API tokens are scoped by team. Each token only provides access to resources within the team where it was created. This means:
A token created in the "Infocell" team can only access Infocell's applications, databases, and servers
To manage resources across multiple teams, you need a separate token for each team
When using multi-team configuration, make sure each
COOLIFY_TEAM_<NAME>_API_KEYcorresponds to a token created in that specific team
See the Coolify API documentation for more details on token scopes and permissions.
Available Tools
Applications (6 tools)
Tool | Description |
| List all applications |
| Get application details by UUID |
| Start/deploy an application |
| Stop a running application |
| Restart an application |
| Get container logs |
Databases (6 tools)
Tool | Description |
| List all databases |
| Get database details by UUID |
| Start a database |
| Stop a running database |
| Restart a database |
| List database backups |
Services (5 tools)
Tool | Description |
| List all services |
| Get service details by UUID |
| Start a service |
| Stop a running service |
| Restart a service |
Servers (4 tools)
Tool | Description |
| List all servers |
| Get server details by UUID |
| Get all resources on a server |
| Get all domains mapped on a server |
Deployments (2 tools)
Tool | Description |
| Deploy by UUID or tag |
| List deployment history |
Projects & Teams (4 tools)
Tool | Description |
| List all projects |
| Get project details by UUID |
| List all accessible teams |
| Get team details by ID |
Usage Examples
List all applications
coolify_list_applicationsDeploy an application
coolify_deploy { uuid: "app-uuid-here" }Deploy with force rebuild
coolify_deploy { uuid: "app-uuid-here", force: true }Deploy all applications with a tag
coolify_deploy { tag: "production" }Get application logs
coolify_get_application_logs { uuid: "app-uuid-here", since: 3600 }Use a specific team
coolify_list_applications { team: "staging" }Development
# Clone the repository
git clone https://github.com/Softtor/coolify-mcp-server.git
cd coolify-mcp-server
# Install dependencies
npm install
# Build
npm run build
# Run locally
COOLIFY_API_KEY=your-key npm startContributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - see LICENSE for details.
Related
Coolify - Self-hostable Heroku/Netlify alternative
Model Context Protocol - Protocol for AI tool integration
Claude Code - Anthropic's CLI for Claude
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
- SupabaseOAuthcom.supabase
MCP server for interacting with the Supabase platform
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that integrates with Coolify to let AI assistants manage Coolify instances via a clean toolkit wrapping the official REST API.35139 npm6MIT
- AlicenseAqualityBmaintenanceMCP server for managing a self-hosted Coolify instance. Provides full REST CRUD, deploy/watch capabilities, and an optional host-ops tier for live log streaming, SSH, Docker, and database access.228 npmMIT
- AlicenseBqualityBmaintenanceMCP server for managing Coolify instances, enabling control of applications, databases, services, servers, and more via natural language.11617 npmMIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Dify Console API that enables managing apps, workflows, knowledge bases, models, plugins, and MCP servers programmatically from Claude Code or any MCP client.5 npm7MIT