coolify-mcp-server

bhctest123/coolify-mcp-server

3.1

If you are the rightful owner of coolify-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Coolify MCP Server is a secure and audited Model Context Protocol server designed for seamless integration with the Coolify API, specifically for Claude Code.

Tools
11
Resources
0
Prompts
0

Coolify MCP Server

A secure Model Context Protocol (MCP) server for Coolify API integration, designed for Claude Code.

🔒 Security Notice

This is a security-audited implementation of Coolify MCP server maintained under our own control for:

  • Supply chain security
  • Controlled dependency management
  • Custom security enhancements
  • Audit trail of all changes

Features

  • Application Management: List, deploy, stop, and restart Coolify applications
  • Deployment Monitoring: Check deployment status and logs
  • Webhook Management: Create and manage application-specific webhooks
  • Server Information: Get server details and configuration
  • MCP Protocol: Full Model Context Protocol compliance for Claude Code integration

Installation

npm install

Configuration

Create a .env file or set environment variables:

COOLIFY_URL=http://your-coolify-instance:8000
COOLIFY_TOKEN_PATH=/path/to/coolify/token
PLATFORM_IP=your-platform-ip  # Optional: defaults to localhost

Usage

Standalone Mode

npm start

Development Mode

npm run dev

Testing

npm test

Claude Code Integration

Add to Claude Code MCP configuration:

claude mcp add coolify-mcp \
  -e COOLIFY_URL=http://your-coolify-instance:8000 \
  -e COOLIFY_TOKEN_PATH=/path/to/token \
  -- node /path/to/coolify-mcp-server/index.js

Available MCP Tools

Tool NameDescriptionParameters
coolify_list_applicationsList all applicationsNone
coolify_get_applicationGet application detailsuuid
coolify_deploy_applicationDeploy applicationuuid, forceRebuild (optional)
coolify_get_deployment_statusGet deployment statusuuid
coolify_list_deploymentsList application deploymentsuuid
coolify_stop_applicationStop applicationuuid
coolify_restart_applicationRestart applicationuuid
coolify_get_application_logsGet application logsuuid, lines (optional), since (optional)
coolify_create_webhookCreate webhookapplicationUuid, name, url, secret (optional)
coolify_get_server_infoGet server informationNone
coolify_list_serversList all serversNone

Security Features

  • Token-based Authentication: Secure Bearer token authentication with Coolify API
  • Input Validation: All parameters validated before API calls
  • Error Handling: Secure error responses without sensitive data exposure
  • No External Dependencies: Minimal dependency footprint for security
  • Audit Logging: Request/response logging for security monitoring

API Endpoints Used

  • GET /api/v1/applications - List applications
  • GET /api/v1/applications/{uuid} - Get application details
  • POST /api/v1/applications/{uuid}/deploy - Deploy application
  • GET /api/v1/servers - Get server information
  • POST /api/v1/applications/{uuid}/webhooks - Create webhooks

Dependencies

  • axios: HTTP client for API requests
  • dotenv: Environment variable management
  • nodemon: Development server (dev dependency)

Security Audit

This codebase has been security audited for:

  • ✅ Data leak prevention
  • ✅ External connection verification
  • ✅ Prompt injection protection
  • ✅ Dependency vulnerability scanning
  • ✅ Authentication security

See SECURITY.md for detailed security assessment.

License

MIT License - See LICENSE file for details.

Contributing

  1. Security-first approach required for all contributions
  2. All changes must pass security review
  3. Dependencies must be audited before addition
  4. Follow existing code patterns and documentation

Support

For issues or questions:

  • Create GitHub issue in this repository
  • Include relevant logs (with sensitive data redacted)
  • Provide environment details