coolify-mcp
Click on "Install 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-mcpdeploy my latest app to production"
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
MCP server for Coolify API - enables full deployment workflows from zero to production.
Features
Full Deployment Workflow: Create projects, environments, servers, and applications from scratch
6 Application Types: Public git, GitHub App, Deploy Key, Dockerfile, Docker Image, Docker Compose
Environment Management: Full CRUD for environment variables with secret masking
Deployment Control: Deploy, start, stop, restart applications
Security: Write protection, secret redaction, log sanitization
38 Tools: Complete coverage of Coolify API operations
Related MCP server: Coolify MCP Server
Requirements
Node 18+
A Coolify API token (Settings > API in your Coolify dashboard)
Install
npm install -g @fndchagas/coolify-mcp
# or
npx -y @fndchagas/coolify-mcpQuick Start
Claude Code CLI
claude mcp add coolify \
--env COOLIFY_BASE_URL="https://coolify.example.com/api/v1" \
--env COOLIFY_TOKEN="<token>" \
-- npx -y @fndchagas/coolify-mcpOpenAI Codex CLI
codex mcp add coolify \
--env COOLIFY_BASE_URL="https://coolify.example.com/api/v1" \
--env COOLIFY_TOKEN="<token>" \
-- npx -y @fndchagas/coolify-mcpOr edit ~/.codex/config.toml:
[mcp_servers.coolify]
command = "npx"
args = ["-y", "@fndchagas/coolify-mcp"]
env = { COOLIFY_BASE_URL = "https://coolify.example.com/api/v1", COOLIFY_TOKEN = "<token>" }Manual Configuration (~/.mcp.json)
{
"mcpServers": {
"coolify": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@fndchagas/coolify-mcp"],
"env": {
"COOLIFY_BASE_URL": "https://coolify.example.com/api/v1",
"COOLIFY_TOKEN": "<token>",
"COOLIFY_ALLOW_WRITE": "true"
}
}
}
}Environment Variables
Variable | Default | Description |
| required | Coolify API URL (e.g., |
| required | API token from Coolify Settings > API |
|
| Enable write operations (create, update, delete, deploy) |
|
| Allow raw logs without redaction |
|
| Fail on API version mismatch |
|
| Transport: |
|
| HTTP port (when using http transport) |
Deploy from Zero
With this MCP, you can deploy an application from scratch:
1. listProjects / createProject → Get or create a project
2. listEnvironments / createEnvironment → Get or create an environment
3. listServers / createServer → Get or create a server
4. listPrivateKeys / createPrivateKey → Get or create SSH keys (if needed)
5. createPublicApplication → Create the application
6. upsertEnv → Configure environment variables
7. deploy → Trigger deploymentTools Reference
Projects & Environments
Tool | Description | Write |
| List all projects | |
| Create a new project | ✓ |
| Update project name/description | ✓ |
| Delete a project and all its resources | ✓ |
| List environments in a project | |
| Create a new environment | ✓ |
Servers & Infrastructure
Tool | Description | Write |
| List all servers | |
| Get server details | |
| Create a new server | ✓ |
| Validate server connection | |
| List SSH private keys | |
| Create a new SSH key | ✓ |
| List configured GitHub Apps |
Applications - Read
Tool | Description |
| List all applications (summarized by default) |
| Get application details (secrets masked by default) |
| Get application runtime logs |
Applications - Create
Tool | Description | Write |
| Create from public git repository | ✓ |
| Create using GitHub App | ✓ |
| Create using SSH deploy key | ✓ |
| Create from Dockerfile content | ✓ |
| Create from Docker image | ✓ |
| Create from Docker Compose | ✓ |
Applications - Manage
Tool | Description | Write |
| Update application configuration | ✓ |
| Delete an application | ✓ |
| Start an application | ✓ |
| Stop an application | ✓ |
| Restart an application | ✓ |
Environment Variables
Tool | Description | Write |
| List env vars (secrets masked by default) | |
| Create a new env var | ✓ |
| Create or update env var by key | ✓ |
| Update an existing env var | ✓ |
| Delete an env var | ✓ |
Deployments
Tool | Description | Write |
| Trigger a deployment | ✓ |
| List running deployments | |
| Get deployment status and logs | |
| List deployments for an application | |
| Cancel a running deployment | ✓ |
Databases & Services
Tool | Description | Write |
| List all databases | |
| Get database details | |
| List one-click services | |
| Create a one-click service | ✓ |
Other
Tool | Description |
| List all resources with filtering |
Security Features
Write Protection
Disable all write operations:
COOLIFY_ALLOW_WRITE=falseSecret Masking
Environment variable values are masked by default
Database credentials are redacted
Use
showSecrets: trueonly when necessary
Log Sanitization
Logs are sanitized to remove sensitive data. Control with logMode:
safe(default): Redacts common secret patternsstrict: More aggressive redactionraw: No redaction (requiresCOOLIFY_ALLOW_UNSAFE_LOGS=true)
Development
git clone https://github.com/frndchagas/coolify-mcp.git
cd coolify-mcp
npm install
npm run devScripts
npm run dev # Run in development mode
npm run build # Build TypeScript
npm run generate # Regenerate types from OpenAPI
npm run fetch:openapi # Fetch latest OpenAPI spec
npm run update # Fetch + regeneratePinned Coolify Version
Version is defined in src/coolify/constants.ts. To update:
Edit
COOLIFY_VERSIONinsrc/coolify/constants.tsRun
npm run update
Registry Listings
MCP Registry (API): https://registry.modelcontextprotocol.io/v0.1/servers/io.github.frndchagas%2Fcoolify-mcp/versions/0.1.4
MCP Registry Docs: https://registry.modelcontextprotocol.io/docs
MCP Client Examples
HTTP Client
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
const client = new Client({ name: 'coolify-client', version: '1.0.0' });
const transport = new StreamableHTTPClientTransport(
new URL('http://localhost:7331/mcp')
);
await client.connect(transport);
// List all applications
const apps = await client.callTool({
name: 'coolify.listApplications',
arguments: {},
});
console.log(apps.structuredContent);
// Deploy an application
const deploy = await client.callTool({
name: 'coolify.deploy',
arguments: { uuid: 'your-app-uuid' },
});
console.log(deploy.structuredContent);
await client.close();Stdio Client
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
const client = new Client({ name: 'coolify-client', version: '1.0.0' });
const transport = new StdioClientTransport({
command: 'npx',
args: ['-y', '@fndchagas/coolify-mcp'],
env: {
COOLIFY_BASE_URL: 'https://coolify.example.com/api/v1',
COOLIFY_TOKEN: '<token>',
},
});
await client.connect(transport);
const result = await client.callTool({
name: 'coolify.getApplication',
arguments: { uuid: 'your-app-uuid' },
});
console.log(result.structuredContent);
await client.close();License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/frndchagas/coolify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server