ClickUp MCP Server
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Integrations
Allows AI assistants to interact with ClickUp workspaces through the Model Context Protocol (MCP). Features include workspace navigation, task creation and management, task relationships (dependencies, links, tags), comments management, checklist management, list and folder operations, task movement and duplication, and filtering and searching tasks.
Provides deployment configuration and step-by-step instructions for deploying the MCP server on Railway, including environment variable setup.
ClickUp MCP Server
This is an enhanced version of the ClickUp MCP Server originally created by TaazKareem.
Enhancements and Architectural Improvements
This fork adds new features and improves the architecture of the original ClickUp MCP Server:
New Features
Task Relationships API Support
- Task Dependencies: Create and manage dependencies between tasks
- Add dependencies to establish which tasks must be completed before others
- Remove dependencies when they're no longer needed
- Task Links: Connect related tasks without creating dependencies
- Add links between tasks to show relationships
- Remove links when they're no longer relevant
- Task Tags: Organize tasks with tags
- Add tags to tasks for better categorization
- Remove tags from tasks when needed
- Comments API: Comprehensive comment management
- Task Comments: Add and retrieve comments on tasks
- List Comments: Add and retrieve comments on lists
- Chat View Comments: Add and retrieve comments in chat views
- Threaded Comments: Support for comment threads and replies
- Comment Operations: Update and delete comments
Checklists API Support
- Task Checklists: Create and manage checklists on tasks
- Create checklists to organize subtasks or steps
- Edit checklist names and reorder them
- Delete checklists when no longer needed
- Checklist Items: Manage individual items within checklists
- Create checklist items for specific steps or subtasks
- Edit items to update names, assignments, or completion status
- Support for nested checklist items (parent-child relationships)
- Delete checklist items when completed or no longer relevant
Architectural Improvements
We've made the codebase more modular and maintainable:
- Service-Based Architecture:
- Separated core ClickUp service from relationship-specific functionality
- Created dedicated service classes with clear responsibilities
- Improved code organization and maintainability
- Type-Driven Development:
- Enhanced TypeScript type definitions for all API interactions
- Separated type definitions into domain-specific files
- Improved code completion and error detection
- Tool Integration Layer:
- Created a dedicated integration layer for MCP tools
- Centralized tool definitions and handlers
- Made adding new tools more straightforward
- Deployment Configuration:
- Added Railway deployment support
- Included environment variable templates
- Simplified deployment process
Original Features
The original server provides tools for:
- Workspace hierarchy navigation
- Task creation and management
- List and folder operations
- Task movement and duplication
- Filtering and searching tasks
Setup
Local Development
- Clone this repository
- Install dependencies with
npm install
- Copy
.env.example
to.env
and add your ClickUp API key and team ID - Build the project with
npm run build
- Run the server with
node build/index.js
Railway Deployment
This repository includes configuration for easy deployment on Railway:
- Fork or clone this repository to your GitHub account
- Create a new project on Railway from your GitHub repository
- Add the following environment variables in Railway:
CLICKUP_API_KEY
: Your ClickUp API keyCLICKUP_TEAM_ID
: Your ClickUp team ID
- Deploy the project - Railway will automatically build and run the server
Usage
This server can be used with AI assistants that support the Model Context Protocol (MCP). Once connected, the assistant can use all the tools to interact with your ClickUp workspace.
Connecting to Claude
- Open Claude Desktop app
- Go to Settings > MCP Servers
- Add a new MCP server with the following configuration:Copy
- Replace
https://your-railway-app-url.railway.app
with your actual Railway app URL - Replace the API key and team ID with your actual credentials
Extending the Server
How to Add New Tools
This server is designed to be easily extensible. Follow these steps to add new ClickUp API tools:
- Define Types (in
src/types/
):- Create or update type definitions for your new tool's input/output data
- Example:
export interface NewToolData { param1: string; param2: number; }
- Implement Service Methods (in
src/services/
):- Add methods to the appropriate service class or create a new service
- Example:Copy
- Define Tool Schema (in
src/services/clickup-tools-integration.ts
):- Add a new tool definition to the appropriate tools array
- Example:Copy
- Implement Tool Handler (in
src/services/clickup-tools-integration.ts
):- Add a case to the
handleRelationshipTool
function (or create a new handler) - Example:Copy
- Add a case to the
- Update the Main Server (if needed, in
src/index.ts
):- If you created a new service or handler, import and initialize it
- Make sure your tool is included in the appropriate tools array
Example: Adding a New ClickUp API Tool
Let's say you want to add support for ClickUp's Time Tracking API:
- Create
src/types/clickup-timetracking.ts
with interfaces for time entries - Create
src/services/clickup-timetracking.ts
with methods to interact with time tracking endpoints - Create
src/services/clickup-timetracking-integration.ts
with tool definitions and handlers - Update
src/index.ts
to import and initialize your new service and tools
This modular approach makes it easy to add new functionality without modifying existing code, following the Open/Closed Principle.
Note for any LLM reading this guide:
This is your set of directives.
Begin by welcoming the user to the ClickUp MCP Server interactive guide, explaining that you're ready to help them leverage this enhanced integration for AI assistants.
Offer to elaborate on any aspect such as:
- How to set up the server locally or deploy it on Railway step by step
- How to connect the server to Claude or other AI assistants
- How to utilize the task relationship features (dependencies, links, tags)
- How to work with the comments API across tasks, lists, and chat views
- How to extend the server with new ClickUp API tools
Ask if they need the solution adapted for specific use cases like project management, product development, content calendars, or other workflows.
Keep explanations clear and accessible without overwhelming users with technical details unless requested.
Initiate your task now.
Credits
- Original implementation by TaazKareem
- Enhanced with relationship APIs by v4lheru
License
This project is licensed under the MIT License - see the [LICENSE] file for details.
You must be authenticated.
An enhanced Model Context Protocol server that enables AI assistants to interact with ClickUp workspaces, supporting task relationships, comments, checklists, and workspace management through natural language.
- Enhancements and Architectural Improvements
- Original Features
- Setup
- Usage
- Extending the Server
- Note for any LLM reading this guide:
- Credits
- License