StuMason/coolify-mcp
TypeScript
Issue Resolved
Issue #76 closed: "coolify_application" tools cannot update application settings - `action` parameter validation bug
Description:
The coolify_application MCP tool has a schema validation bug that prevents any write operations, including updating application settings like build pack, environment variables, etc.
Reproduction Steps:
- Create an application via Coolify web UI with incorrect build pack (
dockerfileinstead ofdockercompose) - Attempt to update via MCP:
{
"action": "update",
"uuid": "",
"build_pack": "dockercompose"
}
Expected: Build pack updated to dockercompose
Actual:
Validation failed. - action: This field is not allowed.; uuid: This field is not allowed.
Affected Actions (all fail with same error):
create_github- Cannot create GitHub-connected appscreate_dockerimage- Cannot create Docker image appscreate_key- Cannot create SSH key appsupdate- Cannot update any application settingsdelete- Cannot delete applications
Working MCP Operations (read-only):
coolify_list_applications- Lists applications ✓coolify_get_application- Gets application details ✓coolify_application_logs- Gets logs ✓coolify_deploy- Triggers deployment ✓
Root Cause:
The MCP tool schema appears to have conflicting validation rules:
actionparameter is required but all valid values are rejecteduuidparameter is required forupdatebut rejected as "not allowed"
Impact:
The MCP tool is effectively read-only. Users cannot:
- Create new applications via MCP
- Update any application settings (build pack, env vars, etc.) via MCP
- Delete applications via MCP
- Create services via MCP
Workaround:
Use Coolify web UI or REST API directly:
# Update build pack via API
curl -X PATCH "https://coolify.example.com/api/v1/applications/<uuid>" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{"build_pack": "dockercompose"}'