MCP server for Coolify API operations.
MCP server for Coolify API operations.
Valid MCP server (2 strong, 1 medium validity signals). 2 known CVEs in dependencies (0 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.
3 files analyzed · 3 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Set these up before or after installing:
Environment variable: COOLIFY_BASE_URL
Environment variable: COOLIFY_TOKEN
Environment variable: COOLIFY_STRICT_VERSION
Environment variable: COOLIFY_ALLOW_WRITE
Environment variable: COOLIFY_OPENAPI_REF
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-frndchagas-coolify-mcp": {
"env": {
"COOLIFY_TOKEN": "your-coolify-token-here",
"COOLIFY_BASE_URL": "your-coolify-base-url-here",
"COOLIFY_ALLOW_WRITE": "your-coolify-allow-write-here",
"COOLIFY_OPENAPI_REF": "your-coolify-openapi-ref-here",
"COOLIFY_STRICT_VERSION": "your-coolify-strict-version-here"
},
"args": [
"-y",
"@fndchagas/coolify-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
MCP server for Coolify API - enables full deployment workflows from zero to production.
npm install -g @fndchagas/coolify-mcp
# or
npx -y @fndchagas/coolify-mcp
claude mcp add coolify \
--env COOLIFY_BASE_URL="https://coolify.example.com/api/v1" \
--env COOLIFY_TOKEN="<token>" \
-- npx -y @fndchagas/coolify-mcp
codex mcp add coolify \
--env COOLIFY_BASE_URL="https://coolify.example.com/api/v1" \
--env COOLIFY_TOKEN="<token>" \
-- npx -y @fndchagas/coolify-mcp
Or 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>" }
~/.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"
}
}
}
}
| Variable | Default | Description |
|---|---|---|
COOLIFY_BASE_URL | required | Coolify API URL (e.g., https://coolify.example.com/api/v1) |
COOLIFY_TOKEN | required | API token from Coolify Settings > API |
COOLIFY_ALLOW_WRITE | true | Enable write operations (create, update, delete, deploy) |
COOLIFY_ALLOW_UNSAFE_LOGS | false | Allow raw logs without redaction |
COOLIFY_STRICT_VERSION | false | Fail on API version mismatch |
MCP_TRANSPORT | stdio | Transport: stdio, http, both |
PORT | 7331 | HTTP port (when using http transport) |
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 deployment
| Tool | Description | Write |
|---|---|---|
listProjects | List all projects | |
createProject | Create a new project | ✓ |
updateProject | Update project name/description | ✓ |
deleteProject | Delete a project and all its resources | ✓ |
listEnvironments | List environments in a project | |
createEnvironment | Create a new environment | ✓ |
| Tool | Description | Write |
|---|---|---|
listServers | List all servers | |
getServer | Get server details | |
createServer | Create a new server | ✓ |
validateServer | Validate server connection | |
listPrivateKeys | List SSH private keys | |
createPrivateKey | Create a new SSH key | ✓ |
listGithubApps | List configured GitHub Apps |
| Tool | Description |
|---|---|
listApplications | List all applications (summarized by default) |
getApplication | Get application details (secrets masked by default) |
getLogs | Get application runtime logs |
| Tool | Description | Write |
|---|---|---|
createPublicApplication | Create from public git repository | ✓ |
createPrivateGithubAppApplication | Create using GitHub App | ✓ |
createPrivateDeployKeyApplication | Create using SSH deploy key | ✓ |
createDockerfileApplication | Create from Dockerfile content | ✓ |
createDockerImageApplication | Create from Docker image | ✓ |
createDockerComposeApplication | Create from Docker Compose | ✓ |
| Tool | Description | Write |
|---|---|---|
updateApplication | Update application configuration | ✓ |
deleteApplication | Delete an application | ✓ |
startApplication | Start an application | ✓ |
stopApplication | Stop an application | ✓ |
restartApplication | Restart an application | ✓ |
| Tool | Description | Write |
|---|---|---|
listEnvs | List env vars (secrets masked by default) | |
createEnv | Create a new env var | ✓ |
upsertEnv | Create or update env var by key | ✓ |
updateEnv | Update an existing env var | ✓ |
deleteEnv | Delete an env var | ✓ |
| Tool | Description | Write |
|---|---|---|
deploy | Trigger a deployment | ✓ |
listDeployments | List running deployments | |
getDeployment | Get deployment status and logs | |
listAppDeployments | List deployments for an application | |
cancelDeployment | Cancel a running deployment | ✓ |
| Tool | Description | Write |
|---|---|---|
listDatabases | List all databases | |
getDatabase | Get database details | |
listServices | List one-click services | |
createService | Create a one-click service | ✓ |
| Tool | Description |
|---|---|
listResources | List all resources with filtering |
Disable all write operations:
COOLIFY_ALLOW_WRITE=false
showSecrets: true only when necessaryLogs are sanitized to remove sensitive data. Control with logMode:
safe (default): Redacts common secret patternsstrict: More aggressive redactionraw: No redaction (requires COOLIFY_ALLOW_UNSAFE_LOGS=true)git clone https://github.com/frndchagas/coolify-mcp.git
cd coolify-mcp
npm install
npm run dev
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 + regenerate
Version is defined in src/coolify/constants.ts. To update:
COOLIFY_VERSION in src/coolify/constants.tsnpm run updateimport { 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();
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();
MIT
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.