Repository navigation
v5.0.1 — Fix @mention Support in Task Comments
🐛 Bug Fix — clickup_create_task_comment @mentions
The Zod schema for the comment block array declared only text and attributes, so Zod's default-strip behavior silently dropped type and user fields before the request reached ClickUp's API. Every {type:"tag", user:{id}} block was reduced to plain text and rendered as literal @Name in the UI rather than as a clickable mention — and native ClickUp mention notifications never fired.
What's fixed
The schema now explicitly supports both ClickUp-documented mention shapes and uses .passthrough() for forward compatibility:
- Canonical (recommended):
{"type":"tag","user":{"id":<userId>}}— reliably triggers native ClickUp mention notifications. - UI fallback:
{"type":"tag","text":"@Full Name"}— accepted but notification behavior may be less reliable. - Combined:
{"type":"tag","text":"@Full Name","user":{"id":<userId>}}— most defensive form. - Emoticon:
{"type":"emoticon","emoticon":{"code":"1f389"}}.
Other changes
processCommentBlocksandensureCodeBlockSeparationno longer synthesize an emptyattributes:{}on tag/emoticon blocks — those block types don't carry attributes per ClickUp's spec.- Validation tightening:
comment.user.idandassigneeparameters now enforcez.number().int().positive(). - 6 new regression tests in
clickup-comment-formatter.test.tslock in the round-trip behavior.
Dependencies (via dependabot)
axios1.15.0 → 1.16.0hono4.12.12 → 4.12.18fast-uri3.1.0 → 3.1.2ip-address,express-rate-limit,uuid,jest-junitupdated
Affected package
@chykalophia/clickup-mcp-server — 5.0.0 → 5.0.1
Full Changelog: v5.0.0...v5.0.1