Issue #107 opened: `create` with `docker_compose_raw` param throws error
What happened?
Trying to create a service on my Coolify instance with a docker_compose_raw definition from inside of Claude Code returns Error: messages.join is not a function
⏺ coolify - service (MCP)(action: "create", project_uuid: "replaced", server_uuid: "replaced", environment_name: "production", docker_compose_raw: "services:\n test:\n image: nginx")
⎿ Error: messages.join is not a function
Steps to reproduce
Best as I can tell the service create tool hangs or returns an invalid response. Smallest reproducible command I could come up with:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"service","arguments":{"action":"create","project_uuid":"1234","server_uuid":"2345","environment_name":"production","type":"uptime-kuma"}}}' | COOLIFY_BASE_URL="URL" COOLIFY_ACCESS_TOKEN="TOKEN" npx @masonator/[email protected]
responds ok with
{"result":{"content":[{"type":"text","text":"{\n \"uuid\": \"4312\",\n \"domains\": [\n \"GENERATED_URL\"\n ]\n}"}]},"jsonrpc":"2.0","id":1}
whereas
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"service","arguments":{"action":"create","project_uuid":"4321","server_uuid":"1234","environment_name":"production","docker_compose_raw":"services:\n test:\n image: nginx"}}}' | COOLIFY_BASE_URL="URL" COOLIFY_ACCESS_TOKEN="TOKEN" npx @masonator/[email protected]
returns nothing, likely what causes the messages.join error
Expected behaviour
Creating the service or saying why docker_compose_raw was invalid
Additional context
coolify-mcp 2.6.0
Coolify v4.0.0-beta.462
MacOS Tahoe 26.2
Love the project, thank you!