coolify-mcp
MCP server for Coolify infrastructure management, providing 45 tools for servers, applications, databases, deployments, and diagnostics via natural language.
README
@jurislm/coolify-mcp
MCP (Model Context Protocol) server for Coolify — provides 45 tools for infrastructure management (servers, applications, databases, deployments, diagnostics) via natural language.
Tools
Infrastructure (5 tools)
get_infrastructure_overview— Get overview of all resources (servers, projects, apps, databases, services)get_mcp_version— Get coolify-mcp server versionget_version— Get Coolify API versionhealth— Check Coolify instance healthapi_control— Enable or disable the Coolify API (action: enable|disable)
Diagnostics (3 tools)
diagnose_app— Full app diagnostic (status, logs, env vars, deployments) — accepts UUID, name, or domaindiagnose_server— Server diagnostic (status, resources, domains, validation) — accepts UUID, name, or IPfind_issues— Scan all infrastructure for unhealthy resources and unreachable servers
Servers (6 tools)
list_servers— List all servers (summary)get_server— Get server detailsserver— Create, update, or delete a server (action: create|update|delete)validate_server— Validate server connectionserver_resources— List resources running on a serverserver_domains— List domains configured on a server
Hetzner (1 tool)
hetzner— Query datacenters, server types, images, SSH keys; create Hetzner Cloud servers
Projects (1 tool)
projects— Manage projects (action: list|get|create|update|delete)
Environments (1 tool)
environments— Manage environments (action: list|get|create|delete)
Applications (4 tools)
list_applications— List all applications (summary)get_application— Get application detailsapplication— Create, update, or delete an application (action: create_public|create_github|create_key|create_dockerimage|create_dockerfile|update|delete)application_logs— Get application logs
Databases (5 tools)
list_databases— List all databases (summary)get_database— Get database detailsdatabase— Create, update, or delete a database (action: create|update|delete, supports postgresql, mysql, mariadb, mongodb, redis, keydb, clickhouse, dragonfly)database_backups— Manage backup schedules and execution history (action: list_schedules|create|update|delete|list_executions)docker_network_alias— Workaround for Coolify upstream bug: generates SSH commands to add a friendly-name docker network alias to a DB container (Coolify aliases by UUID only)
Services (3 tools)
list_services— List all services (summary)get_service— Get service detailsservice— Create, update, or delete a service (action: create|update|delete)
Control (1 tool)
control— Start, stop, or restart applications, databases, or services (resource: application|database|service, action: start|stop|restart)
Environment Variables (1 tool)
env_vars— Manage env vars for applications, databases, or services (resource: application|database|service, action: list|create|bulk_create|update|delete)
Deployments (3 tools)
list_deployments— List running deployments (summary)deploy— Deploy by tag or UUID (supports PR preview)deployment— Get, cancel, or list deployments for an application (action: get|cancel|list_for_app)
Private Keys (1 tool)
private_keys— Manage SSH private keys (action: list|get|create|update|delete)
GitHub Apps (1 tool)
github_apps— Manage GitHub App integrations (action: list|get|create|update|delete|list_repositories|list_branches)
Storages (1 tool)
storages— Manage persistent volumes and file storage (action: list|create|update|delete, resource_type: application|database|service)
Scheduled Tasks (1 tool)
scheduled_tasks— Manage cron tasks and view execution history (action: list|create|update|delete|list_executions, resource_type: application|service)
Cloud Tokens (1 tool)
cloud_tokens— Manage cloud provider tokens for Hetzner and DigitalOcean (action: list|get|create|update|delete|validate)
Teams (1 tool)
teams— Query team and member information (action: list|current|current_members|get|members)
Resources (1 tool)
list_resources— Search all resources across types
Batch Operations (4 tools)
restart_project_apps— Restart all applications in a projectbulk_env_update— Update or create env vars across multiple applications (upsert)stop_all_apps— Emergency stop all running applications (requires confirmation)redeploy_project— Force rebuild and redeploy all applications in a project
Setup
Environment Variables
COOLIFY_TOKEN=your-api-token # Generate at Coolify Settings > API
COOLIFY_URL=https://your-coolify-instance.com # optional, defaults to http://localhost:3000
Legacy names
COOLIFY_ACCESS_TOKENandCOOLIFY_BASE_URLare still accepted as fallback for backward compatibility and may be removed in a future major version.
Usage with Claude Code (via npx)
Add to your MCP configuration (.mcp.json or ~/.claude/settings.json):
{
"mcpServers": {
"coolify": {
"command": "bunx",
"args": ["@jurislm/coolify-mcp@latest"],
"env": {
"COOLIFY_TOKEN": "your-api-token",
"COOLIFY_URL": "https://your-coolify-instance.com"
}
}
}
}
Usage with Claude Code Plugin (jurislm-tools)
If you use the jurislm-tools Claude Code plugin, jt:coolify is included:
/plugin marketplace update jurislm-tools
Then set environment variables in ~/.zshenv:
export COOLIFY_TOKEN=your-api-token
export COOLIFY_URL=https://your-coolify-instance.com
Development
bun install
bun run build # Compile TypeScript to dist/
bun run test # Run tests
bun run lint # ESLint (max-warnings=0)
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.