Skip to main content
Glama

Coolify MCP Server

by StuMason

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; }

贡献

欢迎贡献代码!欢迎提交 Pull 请求。对于重大变更,请先提交一个 issue 来讨论您想要修改的内容。

执照

麻省理工学院

支持

如需支持,请:

  1. 查看问题页面
  2. 如果需要,创建新问题
  3. 加入 Coolify 社区
-
security - not tested
F
license - not found
-
quality - not tested

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.

模型上下文协议服务器使 AI 助手能够通过自然语言与 Coolify 实例进行交互,从而允许管理服务器、应用程序、数据库和部署。

  1. 示例提示
    1. 服务器管理
    2. 项目管理
    3. 应用程序和服务管理
    4. 数据库管理
    5. 部署管理
  2. 安装
    1. 先决条件
    2. 在 AI 工具中设置
  3. 发展
    1. 本地设置
    2. 环境变量
  4. API 参考
    1. 资源类型
  5. 贡献
    1. 执照
      1. 支持

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server enabling AI agents to access and manipulate ServiceNow data through natural language interactions, allowing users to search for records, update them, and manage scripts.
          Last updated -
          9
          Python
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables AI agents to interact with ClickUp workspaces, allowing task creation, management, and workspace organization through natural language commands.
          Last updated -
          605
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables AI assistants to interact with n8n workflows through natural language, supporting actions like listing, creating, updating, executing and monitoring workflows.
          Last updated -
          316
          365
          TypeScript
          MIT License
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
          Last updated -
          16
          TypeScript

        View all related MCP servers

        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/StuMason/coolify-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server