Coolify MCP Server

by StuMason
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Supports configuration and management of MongoDB databases in Coolify environments.

  • Enables initialization and management of MySQL databases within Coolify deployments.

  • Supports deployment and management of Node.js applications within Coolify.

Coolify MCP サーバー

Coolify用のモデル コンテキスト プロトコル (MCP) サーバー実装。AI アシスタントが自然言語を通じて Coolify インスタンスと対話できるようになります。

プロンプトの例

以下は、MCP 対応の AI アシスタントを使用して Coolify インスタンスと対話するために使用できるプロンプトの例です。

サーバー管理

# List and Inspect Servers - Show me all Coolify servers in my instance - What's the status of server {uuid}? - Show me the resources running on server {uuid} - What domains are configured for server {uuid}? - Can you validate the connection to server {uuid}? # Resource Monitoring - How much CPU and memory is server {uuid} using? - List all resources running on server {uuid} - Show me the current status of all servers

プロジェクト管理

# Project Operations - List all my Coolify projects - Create a new project called "my-webapp" with description "My web application" - Show me the details of project {uuid} - Update project {uuid} to change its name to "new-name" - Delete project {uuid} # Environment Management - Show me the environments in project {uuid} - Get details of the production environment in project {uuid} - What variables are set in the staging environment of project {uuid}?

アプリケーションとサービス管理

# Application Management - List all applications - Show me details of application {uuid} - Create a new application called "my-nodejs-app" - Delete application {uuid} # Service Operations - Show me all running services - Create a new WordPress service: - Name: my-blog - Project UUID: {project_uuid} - Server UUID: {server_uuid} - Type: wordpress-with-mysql - What's the status of service {uuid}? - Delete service {uuid} and clean up its resources

データベース管理

# Database Operations - List all databases - Show me the configuration of database {uuid} - Update database {uuid}: - Increase memory limit to 1GB - Change public port to 5432 - Update password - Delete database {uuid} and clean up volumes # Database Types - Create a PostgreSQL database - Set up a Redis instance - Configure a MongoDB database - Initialize a MySQL database

展開管理

# Deployment Operations - Show me all active deployments - What's the status of deployment {uuid}? - Deploy application {uuid} - Force rebuild and deploy application {uuid} - List recent deployments for application {uuid}

インストール

前提条件

  • Node.js >= 18
  • 実行中のCoolifyインスタンス
  • Coolify API アクセストークン

AIツールでの設定

クロードデスクトップ

"coolify": { "command": "npx", "args": [ "-y", "@masonator/coolify-mcp" ], "env": { "COOLIFY_ACCESS_TOKEN": "0|your-secret-token", "COOLIFY_BASE_URL": "https://your-coolify-instance.com" } }

カーソル

env COOLIFY_ACCESS_TOKEN:0|your-secret-token COOLIFY_BASE_URL:https://your-coolify-instance.com npx -y @stumason/coolify-mcp

発達

ローカルセットアップ

# Clone the repository git clone https://github.com/stumason/coolify-mcp.git cd coolify-mcp # Install dependencies npm install # Build the project npm run build # Run tests npm test

環境変数

# Required COOLIFY_ACCESS_TOKEN=your_access_token_here # Optional (defaults to http://localhost:3000) COOLIFY_BASE_URL=https://your.coolify.instance

APIリファレンス

リソースの種類

応用

interface Application { uuid: string; name: string; // Additional properties based on your Coolify instance }

サービス

interface Service { id: number; uuid: string; name: string; type: ServiceType; // Various types like 'wordpress', 'mysql', etc. status: 'running' | 'stopped' | 'error'; project_uuid: string; environment_uuid: string; server_uuid: string; domains?: string[]; }

データベース

interface Database { id: number; uuid: string; name: string; type: 'postgresql' | 'mysql' | 'mongodb' | 'redis' | /* other types */; status: 'running' | 'stopped' | 'error'; is_public: boolean; public_port?: number; // Additional configuration based on database type }

展開

interface Deployment { id: number; uuid: string; application_uuid: string; status: string; created_at: string; updated_at: string; }

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。大きな変更については、まずIssueを開いて、変更したい点について議論してください。

ライセンス

マサチューセッツ工科大学

サポート

サポートについては、以下をご覧ください。

  1. 問題ページを確認してください
  2. 必要に応じて新しい問題を作成してください
  3. Coolifyコミュニティに参加する
-
security - not tested
F
license - not found
-
quality - not tested

AI アシスタントが自然言語を通じて Coolify インスタンスと対話できるようにし、サーバー、アプリケーション、データベース、デプロイメントの管理を可能にするモデル コンテキスト プロトコル サーバー。

  1. Example Prompts
    1. Server Management
    2. Project Management
    3. Application and Service Management
    4. Database Management
    5. Deployment Management
  2. Installation
    1. Prerequisites
    2. Setup in AI Tools
  3. Development
    1. Local Setup
    2. Environment Variables
  4. API Reference
    1. Resource Types
  5. Contributing
    1. License
      1. Support
        ID: 5ubt6n14lw