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 MCP Serverlist my current applications and their status"
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 Server
A robust TypeScript MCP (Model Context Protocol) server for integrating with Coolify, the self-hostable alternative to Netlify and Vercel.
Features
Complete Coolify API Integration: Manage applications, databases, servers, projects, and services
Type-Safe: Full TypeScript support with comprehensive type definitions
MCP Protocol: Compatible with Claude and other MCP clients
Resource Access: Expose Coolify resources through MCP resource endpoints
Tool Support: Comprehensive set of tools for Coolify operations
Installation
Configuration
Environment Variables
The server requires environment variables to connect to your Coolify instance:
Or create a .env file:
MCP Client Configuration
Claude Desktop
Add the server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Alternative: NPX Usage
If you publish to npm, users can run via npx:
Or use the executable name directly:
Development Setup
For development, you can use the TypeScript source directly:
Other MCP Clients
For other MCP clients that support environment variables, ensure the following variables are set:
COOLIFY_API_URL(required)COOLIFY_API_TOKEN(required)COOLIFY_TEAM_ID(optional)
Example shell script:
Available Tools
Applications
list_applications- List all applicationsget_application- Get application detailscreate_application- Create new applicationstart_application- Start an applicationstop_application- Stop an applicationrestart_application- Restart an applicationdeploy_application- Deploy an application
Databases
list_databases- List all databasescreate_database- Create new database
Servers
list_servers- List all serverscreate_server- Create new servervalidate_server- Validate server connection
Projects
list_projects- List all projectscreate_project- Create new project
Services
list_services- List all servicesstart_service- Start a servicestop_service- Stop a service
System
get_version- Get Coolify version
Available Resources
The server exposes these MCP resources:
coolify://applications- All applicationscoolify://databases- All databasescoolify://servers- All serverscoolify://projects- All projectscoolify://services- All servicescoolify://teams- All teams
API Token Setup
Log into your Coolify instance
Navigate to "Keys & Tokens" > "API tokens"
Click "Create New Token"
Choose appropriate permissions:
read-only: Read data onlyread:sensitive: Read with sensitive data*: Full access (recommended for MCP server)
Copy the generated token
Security Note
When using the MCP server with Claude Desktop or other clients, your API token will be stored in the configuration file. Ensure this file has appropriate permissions:
Development
Troubleshooting
Common Issues
"COOLIFY_API_URL and COOLIFY_API_TOKEN environment variables are required"
Ensure environment variables are set before starting the server
Check that your
.envfile is in the correct locationVerify variable names are spelled correctly
"Tool execution failed: Request failed"
Verify your Coolify instance is running and accessible
Check that the API URL is correct (include protocol:
http://orhttps://)Ensure your API token has the necessary permissions
MCP server not appearing in Claude Desktop
Restart Claude Desktop after updating configuration
Check the configuration file path is correct for your OS
Verify JSON syntax in the configuration file
Debug Mode
To see detailed error messages, run the server with debug output:
License
MIT