StuMason/coolify-mcp
TypeScript
Issue Resolved
Issue #97 closed: env_vars tool: is_build_time parameter causes validation error
Problem
The env_vars tool schema exposes is_build_time as an optional boolean parameter, but when used with the create action, the Coolify API rejects it with a validation error.
What happened
Called: mcp__coolify__env_vars with:
- resource: application
- action: create
- uuid: <app_uuid>
- key: DEVTRENDS_MCP_TOKEN
- value: <token>
- is_build_time: false
Response: Error: Validation failed. - is_build_time: This field is not allowed.
Removing is_build_time from the call worked fine.
Current schema
The tool schema shows:
{
"is_build_time": {"type": "boolean"}
}
Possible fixes
- Remove
is_build_timefrom the schema entirely if Coolify API doesn't support it - Filter it out before sending to API for actions that don't accept it
- Only expose it for actions where it's valid (maybe
updateonly?)
Environment
- Using
env_varstool withaction: create - Coolify API rejected the field