ClickUp Multi-Workspace MCP Server
Provides tools for interacting with multiple ClickUp workspaces, enabling task management, workspace hierarchy retrieval, and document support across different ClickUp accounts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ClickUp Multi-Workspace MCP Servershow my tasks in the personal workspace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎯 Key Feature: Multi-Workspace Support
This MCP server supports managing multiple ClickUp workspaces simultaneously, allowing you to:
Work with multiple ClickUp accounts/teams
Switch between workspaces seamlessly
Maintain separate configurations for each workspace
Full backwards compatibility with single workspace setup
Developed and maintained by Alanse Inc.
Requirements
Node.js v18.0.0 or higher (required for MCP SDK compatibility)
ClickUp API key and Team ID for each workspace you want to integrate
Quick Start
Claude Code CLI Setup
The easiest way to add this MCP server to Claude Code:
Single Workspace:
claude mcp add clickup \
-e CLICKUP_API_KEY=your_api_key_here \
-e CLICKUP_TEAM_ID=your_team_id_here \
-- npx -y @alanse/clickup-multi-mcp-server@latestMultiple Workspaces:
claude mcp add clickup \
-e CLICKUP_WORKSPACES='{"default":"work","workspaces":{"work":{"token":"pk_xxx_work","teamId":"123456"},"personal":{"token":"pk_xxx_personal","teamId":"789012"}}}' \
-- npx -y @alanse/clickup-multi-mcp-server@latestManual Configuration
Single Workspace (Backwards Compatible)
The traditional single workspace setup still works exactly as before:
{
"mcpServers": {
"ClickUp": {
"command": "npx",
"args": ["-y", "@alanse/clickup-multi-mcp-server@latest"],
"env": {
"CLICKUP_API_KEY": "your-api-key",
"CLICKUP_TEAM_ID": "your-team-id"
}
}
}
}Multiple Workspaces (New Feature)
Configure multiple workspaces using the CLICKUP_WORKSPACES environment variable.
Step 1: Create your workspace configuration
Create a JSON structure like this:
{
"default": "work",
"workspaces": {
"work": {
"token": "pk_xxx_work",
"teamId": "123456",
"description": "Work workspace"
},
"personal": {
"token": "pk_xxx_personal",
"teamId": "789012",
"description": "Personal projects"
}
}
}Step 2: Use in your MCP settings
You can specify the configuration in a more readable multi-line format:
{
"mcpServers": {
"ClickUp": {
"command": "npx",
"args": ["-y", "@alanse/clickup-multi-mcp-server@latest"],
"env": {
// Multi-line format (most readable)
"CLICKUP_WORKSPACES": {
"default": "work",
"workspaces": {
"work": {
"token": "pk_xxx_work",
"teamId": "123456",
"description": "Work workspace"
},
"personal": {
"token": "pk_xxx_personal",
"teamId": "789012",
"description": "Personal projects"
}
}
}
}
}
}
}Or as a JSON string (if your MCP client requires string format):
{
"mcpServers": {
"ClickUp": {
"command": "npx",
"args": ["-y", "@alanse/clickup-multi-mcp-server@latest"],
"env": {
"CLICKUP_WORKSPACES": "{\"default\":\"work\",\"workspaces\":{\"work\":{\"token\":\"pk_xxx_work\",\"teamId\":\"123456\"},\"personal\":{\"token\":\"pk_xxx_personal\",\"teamId\":\"789012\"}}}"
}
}
}
}💡 Tip: Use an online JSON minifier and then escape the quotes, or use a script to generate the escaped string:
const config = {
default: "work",
workspaces: {
work: { token: "pk_xxx_work", teamId: "123456", description: "Work workspace" },
personal: { token: "pk_xxx_personal", teamId: "789012", description: "Personal projects" }
}
};
console.log(JSON.stringify(config));
// Copy the output and use it as CLICKUP_WORKSPACES valueUsing Workspace Parameter
All tools now support an optional workspace parameter:
// Get tasks from default workspace
await getTasks({ list_id: "123456789" });
// Get tasks from specific workspace
await getTasks({ workspace: "personal", list_id: "987654321" });
// Get workspace hierarchy for a specific workspace
await getWorkspaceHierarchy({ workspace: "work" });Local Development Setup
For local development or when running the server directly from source code:
1. Clone and Install
git clone https://github.com/alanse-inc/clickup-multi-mcp-server.git
cd clickup-multi-mcp-server
npm install2. Configure Environment Variables
Copy .env.example to .env and configure your ClickUp credentials:
cp .env.example .envEdit .env file:
# Multi-workspace configuration
CLICKUP_WORKSPACES={"default":"alanse","workspaces":{"alanse":{"token":"pk_YOUR_TOKEN_1","teamId":"YOUR_TEAM_ID_1","description":"Alanse workspace"},"potz":{"token":"pk_YOUR_TOKEN_2","teamId":"YOUR_TEAM_ID_2","description":"Potz workspace"}}}
# Or use single workspace (legacy)
# CLICKUP_API_KEY=your_api_key_here
# CLICKUP_TEAM_ID=your_team_id_hereNote: The .env file is automatically loaded when the server starts. Environment variables in .env are automatically picked up without needing to pass them via command line.
3. Build and Run
# Build the project
npm run build
# Run locally
node build/index.js4. Configure Claude Code for Local Development
If you want to use your local build with Claude Code, update ~/.claude.json:
{
"mcpServers": {
"clickup": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/clickup-multi-mcp-server/build/index.js"]
}
}
}Important: When using local build with Claude Code:
Environment variables are loaded from
.envfile in the project rootNo need to specify
envin~/.claude.json(unless you want to override.envvalues)Rebuild after making changes:
npm run build
NPM Installation
This package is available on npm as @alanse/clickup-multi-mcp-server.
Add this entry to your client's MCP settings JSON file:
{
"mcpServers": {
"ClickUp": {
"command": "npx",
"args": [
"-y",
"@alanse/clickup-multi-mcp-server@latest"
],
"env": {
"CLICKUP_API_KEY": "your-api-key",
"CLICKUP_TEAM_ID": "your-team-id",
"DOCUMENT_SUPPORT": "true"
}
}
}
}Or use this npx command:
npx -y @alanse/clickup-multi-mcp-server@latest --env CLICKUP_API_KEY=your-api-key --env CLICKUP_TEAM_ID=your-team-id
Obs: if you don't pass "DOCUMENT_SUPPORT": "true", the default is false and document support will not be active.
Tool Filtering
You can control which tools are available using two complementary environment variables:
ENABLED_TOOLS (Recommended)
Use ENABLED_TOOLS to specify exactly which tools should be available:
# Environment variable
export ENABLED_TOOLS="create_task,get_task,update_task,get_workspace_hierarchy"
# Command line argument
--env ENABLED_TOOLS=create_task,get_task,update_task,get_workspace_hierarchyDISABLED_TOOLS (Legacy)
Use DISABLED_TOOLS to disable specific tools while keeping all others enabled:
# Environment variable
export DISABLED_TOOLS="delete_task,delete_bulk_tasks"
# Command line argument
--env DISABLED_TOOLS=delete_task,delete_bulk_tasksPrecedence Rules
If
ENABLED_TOOLSis specified, only those tools will be available (takes precedence overDISABLED_TOOLS)If only
DISABLED_TOOLSis specified, all tools except those listed will be availableIf neither is specified, all tools are available (default behavior)
Example:
# Only enable task creation and reading tools
npx -y @alanse/clickup-multi-mcp-server@latest \
--env CLICKUP_API_KEY=your-api-key \
--env CLICKUP_TEAM_ID=your-team-id \
--env ENABLED_TOOLS=create_task,get_task,get_workspace_hierarchyPlease filter tools you don't need if you are having issues with the number of tools or any context limitations.
Running with HTTP Transport Support
The server supports both modern HTTP Streamable transport (MCP Inspector compatible) and legacy SSE (Server-Sent Events) transport for backwards compatibility.
{
"mcpServers": {
"ClickUp": {
"command": "npx",
"args": [
"-y",
"@alanse/clickup-multi-mcp-server@latest"
],
"env": {
"CLICKUP_API_KEY": "your-api-key",
"CLICKUP_TEAM_ID": "your-team-id",
"ENABLE_SSE": "true",
"PORT": "3231"
}
}
}
}Endpoints:
Primary:
http://127.0.0.1:3231/mcp(Streamable HTTP)Legacy:
http://127.0.0.1:3231/sse(SSE for backwards compatibility)
Command Line Usage
npx -y @alanse/clickup-multi-mcp-server@latest --env CLICKUP_API_KEY=your-api-key --env CLICKUP_TEAM_ID=your-team-id --env ENABLE_SSE=true --env PORT=3231Available configuration options:
Option | Description | Default |
| Comma-separated list of tools to enable (takes precedence) | All tools |
| Comma-separated list of tools to disable | None |
| Enable the HTTP/SSE transport |
|
| Port for the HTTP server |
|
| Enable the STDIO transport |
|
| Enable security headers and logging |
|
| Enable HTTPS/TLS encryption |
|
| Validate Origin header against whitelist |
|
| Enable rate limiting protection |
|
🔒 Security Features
The server includes optional security enhancements for production deployments. All security features are opt-in and disabled by default to maintain backwards compatibility.
Quick security setup:
# Generate SSL certificates for HTTPS
./scripts/generate-ssl-cert.sh
# Start with full security
ENABLE_SECURITY_FEATURES=true \
ENABLE_HTTPS=true \
ENABLE_ORIGIN_VALIDATION=true \
ENABLE_RATE_LIMIT=true \
SSL_KEY_PATH=./ssl/server.key \
SSL_CERT_PATH=./ssl/server.crt \
npx @alanse/clickup-multi-mcp-server@latest --env CLICKUP_API_KEY=your-key --env CLICKUP_TEAM_ID=your-team --env ENABLE_SSE=trueHTTPS Endpoints:
Primary:
https://127.0.0.1:3443/mcp(Streamable HTTPS)Legacy:
https://127.0.0.1:3443/sse(SSE HTTPS for backwards compatibility)Health:
https://127.0.0.1:3443/health(Health check)
For detailed security configuration, see Security Features Documentation.
n8n Integration
To integrate with n8n:
Start the clickup-mcp-server with SSE enabled
In n8n, add a new "MCP AI Tool" node
Configure the node with:
Transport: SSE
Server URL:
http://localhost:3231(or your server address)Tools: Select the ClickUp tools you want to use
Example Client
An example SSE client is provided in the examples directory. To run it:
# Start the server with SSE enabled
ENABLE_SSE=true PORT=3231 npx -y @alanse/clickup-multi-mcp-server@latest --env CLICKUP_API_KEY=your-api-key --env CLICKUP_TEAM_ID=your-team-id
# In another terminal, run the example client
cd examples
npm install
npm run sse-clientFeatures
📝 Task Management | 🏷️ Tag Management |
• Create, update, and delete tasks • Move and duplicate tasks anywhere • Support for single and bulk operations • Set start/due dates with natural language • Create and manage subtasks • Add comments and attachments | • Create, update, and delete space tags • Add and remove tags from tasks • Use natural language color commands • Automatic contrasting foreground colors • View all space tags • Tag-based task organization across workspace |
⏱️ Time Tracking | 🌳 Workspace Organization |
• View time entries for tasks • Start/stop time tracking on tasks • Add manual time entries • Delete time entries • View currently running timer • Track billable and non-billable time | • Navigate spaces, folders, and lists • Create and manage folders • Organize lists within spaces • Create lists in folders • View workspace hierarchy • Efficient path navigation |
📄 Document Management | 👥 Member Management |
• Document Listing through all workspace • Document Page listing • Document Page Details • Document Creation • Document page update (append & prepend) | • Find workspace members by name or email • Resolve assignees for tasks • View member details and permissions • Assign tasks to users during creation and updates • Support for user IDs, emails, or usernames • Team-wide user management |
👁️ View Management | |
• Create and manage views across all hierarchy levels (Workspace, Space, Folder, List) • Support for list, board, calendar, table, gantt, timeline, workload and more • Update view grouping, sorting, and filter settings • Delete views • Retrieve tasks within a specific view (with pagination) | |
⚡ Integration Features | 🏗️ Architecture & Performance |
• Global name or ID-based lookups • Case-insensitive matching • Markdown formatting support • Built-in rate limiting • Error handling and validation • Comprehensive API coverage | • 70% codebase reduction for improved performance • Unified architecture across all transport types • Zero code duplication • HTTP Streamable transport (MCP Inspector compatible) • Legacy SSE support for backwards compatibility |
Available Tools (81 Total, 74 non-document)
Tool | Description | Required Parameters |
Get workspace structure | None | |
Get all available workspaces | None | |
Create a task |
| |
Create multiple tasks |
| |
Modify task |
| |
Update multiple tasks |
| |
Get tasks from list |
| |
Get single task details |
| |
Get tasks with filtering | At least one filter (tags, list_ids, space_ids, etc.) | |
Get comments on a task |
| |
Add a comment to a task |
| |
Attach file to a task |
| |
Remove task |
| |
Remove multiple tasks |
| |
Move task |
| |
Move multiple tasks |
| |
Copy task |
| |
Merge two tasks |
| |
Get time in status for a task |
| |
Get bulk time in status |
| |
Add task to additional list |
| |
Remove task from list |
| |
Create list in space |
| |
Create folder |
| |
Create list in folder |
| |
Get folder details |
| |
Update folder properties |
| |
Delete folder |
| |
Get list details |
| |
Update list properties |
| |
Delete list |
| |
Get space tags |
| |
Create tag |
| |
Update tag |
| |
Delete tag |
| |
Add tag to task |
| |
Remove tag from task |
| |
Get time entries for a task |
| |
Start time tracking on a task |
| |
Stop current time tracking | None | |
Add manual time entry to a task |
| |
Delete a time entry |
| |
Get currently running timer | None | |
Get all workspace members | None | |
Find member by name or email |
| |
Resolve member names to IDs |
| |
Create a document |
| |
Get a document |
| |
List documents |
| |
List document pages |
| |
Get document pages |
| |
Create a document page |
| |
Update a document page |
|
See full documentation for optional parameters and advanced usage.
Member Management Tools
When creating or updating tasks, you can assign users using the assignees parameter. The parameter accepts an array of user IDs, emails, or usernames:
Creating tasks with assignees:
{
"name": "New Task",
"description": "This is a new task.",
"assignees": ["jdoe@example.com", "Jane Smith"] // Emails, usernames, or user IDs
}Updating task assignees:
{
"taskId": "abc123",
"assignees": ["newuser@example.com"] // Replace existing assignees
}The member management tools help resolve user references when needed.
Prompts
Not yet implemented and not supported by all client apps. Request a feature for a Prompt implementation that would be most beneficial for your workflow (without it being too specific). Examples:
Prompt | Purpose | Features |
Task overview | Status summary, priorities, relationships | |
Priority optimization | Distribution analysis, sequencing | |
Task description creation | Objectives, criteria, dependencies |
Error Handling
The server provides clear error messages for:
Missing required parameters
Invalid IDs or names
Items not found
Permission issues
API errors
Rate limiting
The LOG_LEVEL environment variable can be specified to control the verbosity of server logs. Valid values are trace, debug, info, warn, and error (default).
This can be also be specified on the command line as, e.g. --env LOG_LEVEL=info.
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alanse-inc/clickup-multi-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server