Skip to content

Conversation

fazulk
Copy link

@fazulk fazulk commented Jul 11, 2025

  • Introduced a new example demonstrating the formatted comment feature in example-formatted-comment.js
  • Updated types.ts to include CommentAttributes, CommentListItem, and CommentBlock interfaces for structured comment formatting
  • Enhanced createTaskComment method to accept formatted comments, allowing rich text support
  • Modified createTaskCommentHandler to validate either commentText or formattedComment
  • Updated createTaskCommentTool description to reflect new formatting capabilities

follows clickup api here

This implementation aligns with the ClickUp API for rich text comments, enhancing user interaction with task comments.

Pull Request

Description

Related Issue

Fixes #

Type of Change

  • Tool functionality (new tool, tool modification)
  • MCP integration improvement
  • Bug fix
  • Performance optimization
  • Documentation update
  • API enhancements
  • Security improvement

MCP Server Impact

API Changes

Checklist

  • My code follows the code style of this project
  • I have tested the changes
  • I've verified compatibility with MCP standards
  • All tool schemas are properly documented
  • Service layer changes are backward compatible (or documented if breaking)
  • Rate limiting and error handling tested (if applicable)
  • Security considerations addressed

Testing

Documentation Updates

Screenshots (if applicable)

Additional Notes

fazulk added 2 commits July 28, 2025 11:19
- Introduced a new example demonstrating the formatted comment feature in example-formatted-comment.js
- Updated types.ts to include CommentAttributes, CommentListItem, and CommentBlock interfaces for structured comment formatting
- Enhanced createTaskComment method to accept formatted comments, allowing rich text support
- Modified createTaskCommentHandler to validate either commentText or formattedComment
- Updated createTaskCommentTool description to reflect new formatting capabilities

This implementation aligns with the ClickUp API for rich text comments, enhancing user interaction with task comments.
- Deleted the example-formatted-comment.js file, which contained a demonstration of the formatted comment feature.
- This removal is part of a cleanup process to streamline the codebase and eliminate unused examples.
@fazulk fazulk force-pushed the feature/allow-json-comments branch from 985da31 to 0b7d56b Compare July 28, 2025 18:19
@colinmollenhour
Copy link
Contributor

Ahh, I really wish ClickUp supported markdown via the API.. There is a feedback item here if you want to up-vote it - already 5 years old.. But I think with AI and MCP, adding Markdown is a no-brainer..
https://feedback.clickup.com/public-api/p/allow-styling-of-comments-in-api-markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants