Skip to content

Conversation

stephenVertex
Copy link

Add 3 new MCP tools for managing ClickUp task dependencies:

  • add_task_dependency: Create blocking/waiting dependencies between tasks
  • remove_task_dependency: Remove dependency relationships
  • get_task_dependencies: Retrieve task dependencies and linked tasks

Implements ClickUp API endpoints:

  • POST /task/{task_id}/dependency
  • DELETE /task/{task_id}/dependency
  • Uses existing GET /task/{task_id} for dependency retrieval

🤖 Generated with Claude Code

Pull Request

Description

This adds ability to manipulate task dependencies using MCP tools

Related Issue

Type of Change

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

MCP Server Impact

Adds 3 new tools

Testing

I have tested this

Documentation Updates

Screenshots (if applicable)

Additional Notes

Add 3 new MCP tools for managing ClickUp task dependencies:
- add_task_dependency: Create blocking/waiting dependencies between tasks
- remove_task_dependency: Remove dependency relationships
- get_task_dependencies: Retrieve task dependencies and linked tasks

Implements ClickUp API endpoints:
- POST /task/{task_id}/dependency
- DELETE /task/{task_id}/dependency
- Uses existing GET /task/{task_id} for dependency retrieval

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add create_task_from_template and get_task_templates MCP tools:
- create_task_from_template: Creates tasks from ClickUp templates
- get_task_templates: Retrieves all available task templates
- Added ClickUpTaskTemplate and TaskTemplatesResponse types
- Implemented service methods in TaskServiceCore
- Added proper error handling and response formatting
- Follows existing patterns for tool registration and handlers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@stephenVertex
Copy link
Author

Hi @taazkareem I am really enjoying this MCP server. With this PR I added:

  • Listing templates, and creating a task from templates
  • Task dependency management.

Please let me know if you would like me to update anything. These were done with Claude code.

- Add get_custom_fields tool to retrieve all custom field definitions for a list
- Add get_custom_field_by_name tool for token-efficient single field retrieval
- Add get_tasks_with_custom_field_filter tool for filtering tasks by custom field values
- Implement ListService.getCustomFields method
- Implement TaskServiceSearch.getTasksWithCustomFieldFilter method

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@stephenVertex
Copy link
Author

I have also added 3 new tools:

  • get_custom_fields(list_id)
  • get_custom_field_by_name(list_id, field_name) # very token efficient
  • get_tasks_with_custom_field_filter(list_id, custom_field filter)

A: You can use the first tool to get custom fields for a list.

B: If you know the name of the custom field but just need the IDs of the values, use get_custom_field_by_name which will give you a token-efficient field description

C: Use get_tasks_with_custom_field_filter to, for example, filter a list based on the value of a dropdown custom field

stephenVertex and others added 5 commits September 29, 2025 09:05
- Add formatTaskDataLowToken() function in task utilities
- Achieve 87% data reduction (38+ fields → 5-9 essential fields)
- Support description truncation at 200 characters
- Simplify custom_fields, assignees, and subtasks structures
- Add comprehensive documentation with real ClickUp examples
- Include test suite for both mock and real API data validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit adds comprehensive datetime handling capabilities and enhances user context:

• Add datetime utility tools (datetime_to_timestamp, timestamp_to_datetime)
• Implement smart autodetection for seconds vs milliseconds timestamps
• Support natural language date parsing with Seattle timezone awareness
• Add dynamic date context to all tool responses ("Today's date is...")
• Provide full documentation for custom field datetime requirements
• Maintain backward compatibility with deprecated tools
• Handle daylight saving time automatically for Pacific timezone

The datetime tools are essential for ClickUp custom fields which require
milliseconds GMT format, while the dynamic date context improves AI agent
temporal awareness during conversations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…st_ids

When using get_workspace_tasks with list_ids parameter, the tool uses the Views API
which may not properly honor the statuses filter. This commit adds client-side status
filtering to ensure the statuses parameter is respected, consistent with how tags,
folders, and spaces are already filtered client-side.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant