Stu Mason
Stu Mason

Activity

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

  1. Remove is_build_time from the schema entirely if Coolify API doesn't support it
  2. Filter it out before sending to API for actions that don't accept it
  3. Only expose it for actions where it's valid (maybe update only?)

Environment

  • Using env_vars tool with action: create
  • Coolify API rejected the field