ClickUp MCP 服务器 标志

ClickUp MCP 服务器

社区
Nazruden

A Model Context Protocol server implementation for ClickUp integration, enabling AI assistants to interact with ClickUp workspaces.

发布者Nazruden
代码仓库clickup-mcp-server
语言TypeScript
复刻数
16
星标数
23
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    ClickUp MCP 服务器 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 23 个星标和 16 个复刻。

ClickUp MCP Server

smithery badge npm version License: MIT

A Model Context Protocol server implementation for ClickUp integration, enabling AI assistants to interact with ClickUp workspaces.

This server runs via Stdio as per the MCP specification when invoked by an MCP client.

Quick Start

This server uses your ClickUp Personal API Token for authentication.

  1. Generate a Personal API Token: In your ClickUp settings, navigate to "My Settings" > "Apps" and generate a token.
  2. Configure your MCP Client (e.g., Claude for Desktop): Set the required environment variable when configuring the server for your client.

Example configuration snippet for an MCP client:

json
{
  "mcpServers": {
    "clickup": {
      "command": "npx",
      "args": ["@nazruden/clickup-server"],
      "env": {
        "CLICKUP_PERSONAL_TOKEN": "your_personal_api_token_here"
      }
    }
  }
}
  1. Restart your MCP Client.

The server will be automatically downloaded and started by the MCP client when needed.

Installing via Smithery

To install ClickUp MCP Server for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @Nazruden/clickup-mcp-server --client claude

Environment Variables

Required

  • CLICKUP_PERSONAL_TOKEN: Your ClickUp Personal API Token. This is essential for the server to authenticate with the ClickUp API.

Optional

  • LOG_LEVEL: Logging level for the server. Supports error, warn, info, debug. Defaults to info.
  • ENCRYPTION_KEY: A persistent 32-byte hex-encoded key. The configuration system (src/config/app.config.ts) loads or generates this key, and src/security.ts contains encryption/decryption functions. However, this mechanism is currently not used for encrypting the CLICKUP_PERSONAL_TOKEN within the ClickUpService's Personal API Token authentication flow.
  • PORT: Server port. This is not used by the default Stdio MCP server mode but might be relevant if an HTTP transport or additional HTTP features (like a separate health check endpoint) were explicitly added. Defaults to 3000 in the config if read.

Available Tools

The following MCP tools are currently implemented:

Task Management

  • clickup_create_task: Create a new task in a ClickUp list.
    • Requires: list_id, name.
    • Optional: description, status, priority, assignees, due_date, time_estimate, tags.
  • clickup_update_task: Update an existing task's properties.
    • Requires: task_id.
    • Optional: Any writable ClickUpTask properties.

Team & List Management

  • clickup_get_teams: Retrieve all accessible teams (Workspaces in ClickUp API v2).
  • clickup_get_lists: Get all lists in a specific folder.
    • Requires: folder_id.

Board Management

  • clickup_create_board: Create a new board in a ClickUp space.
    • Requires: space_id, name.

Space Management

  • clickup_get_spaces: Retrieves all Spaces for a given Workspace (Team).
    • Requires: team_id (Workspace ID).
    • Optional: archived (boolean, defaults to false).
  • clickup_create_space: Creates a new Space within a Workspace.
    • Requires: team_id (Workspace ID), name.
    • Optional: multiple_assignees (boolean), features (object with feature flags like due_dates, time_tracking, etc.).
  • clickup_get_space: Retrieves details for a specific Space.
    • Requires: space_id.
  • clickup_update_space: Updates an existing Space.
    • Requires: space_id.
    • Optional: name, color, private, admin_can_manage, archived, features.
  • clickup_delete_space: Deletes a Space.
    • Requires: space_id.

Folder Management

  • clickup_get_folders: Retrieves all Folders within a given Space.
    • Requires: space_id.
    • Optional: archived (boolean, defaults to false).
  • clickup_create_folder: Creates a new Folder within a Space.
    • Requires: space_id, name.
  • clickup_get_folder: Retrieves details for a specific Folder.
    • Requires: folder_id.
  • clickup_update_folder: Updates an existing Folder.
    • Requires: folder_id, name.
  • clickup_delete_folder: Deletes a Folder.
    • Requires: folder_id.

Custom Field Management

  • clickup_get_custom_fields: Retrieves all accessible Custom Fields for a given List.
    • Requires: list_id.
  • clickup_set_task_custom_field_value: Sets the value of a Custom Field on a specific task.
    • Requires: task_id, field_id, value.
    • Optional: value_options (object, e.g., { "time": true } for date fields).
  • clickup_remove_task_custom_field_value: Removes/clears the value of a Custom Field from a specific task.
    • Requires: task_id, field_id.

Doc Management

Note: ClickUp's API for Docs (especially v2, with some operations now using v3) has limitations. Content is primarily handled as Markdown. Advanced formatting or complex embeds might not be fully supported. Direct document deletion via API is not currently supported by ClickUp's V3 /docs endpoint; manage Doc lifecycle through archiving or page manipulation.

  • clickup_search_docs: Searches for Docs within a Workspace (Team).
    • Requires: workspace_id.
    • Optional: query (string), include_archived (boolean).
  • clickup_create_doc: Creates a new Doc.
    • Requires: workspace_id, name.
    • Optional: parent (object with id and type), visibility (string: "private", "workspace", "public"), create_page (boolean).
  • clickup_get_doc_pages: Retrieves the list of pages within a specific Doc.
    • Requires: doc_id.
  • clickup_create_doc_page: Creates a new page within a specific Doc.
    • Requires: workspace_id, doc_id, name (page title).
    • Optional: content (Markdown), orderindex (number, though v3 API may not use it), parent_page_id (string), sub_title (string), content_format (string).
  • clickup_get_doc_page_content: Retrieves the content (Markdown) of a specific Doc page.
    • Requires: workspace_id, doc_id, page_id.
    • Optional: content_format (string).
  • clickup_edit_doc_page_content: Updates the content and/or title of a specific Doc page.
    • Requires: workspace_id, doc_id, page_id, content (Markdown).
    • Optional: title (string, maps to API 'name'), sub_title (string), content_edit_mode (string: "replace", "append", "prepend"), content_format (string).

View Management

  • clickup_get_views: Retrieves all Views for a given parent resource (Team, Space, Folder, or List).
    • Requires: parent_id (ID of the parent resource), parent_type (string: "team", "space", "folder", or "list").
  • clickup_create_view: Creates a new View within a Team, Space, Folder, or List.
    • Requires: parent_id, parent_type, name (string: name of the new View), type (string: type of the View, e.g., "list", "board", "calendar", "gantt").
    • Optional: grouping, divide, sorting, filters, columns, team_sidebar, settings (objects defining view configurations).
  • clickup_get_view_details: Retrieves details for a specific View.
    • Requires: view_id.
  • clickup_update_view: Updates an existing View.
    • Requires: view_id.
    • Optional: name (string), grouping, divide, sorting, filters, columns, team_sidebar, settings.
  • clickup_delete_view: Deletes a View.
    • Requires: view_id.
  • clickup_get_view_tasks: Retrieves tasks belonging to a specific View.
    • Requires: view_id.
    • Optional: page (number: 0-indexed page number for pagination).

Development

  1. Clone the repository:

    bash
    git clone <repository_url>
    cd clickup-mcp-server
  2. Install dependencies:

    bash
    npm install
  3. Create a .env file in the root directory and add your CLICKUP_PERSONAL_TOKEN:

    env
    CLICKUP_PERSONAL_TOKEN=your_actual_personal_api_token_here
    LOG_LEVEL=debug
  4. Start in development mode (Stdio): The server will listen for MCP messages on stdin/stdout.

    bash
    npm run dev

    This uses ts-node-dev to run src/index.ts.

  5. Build for production:

    bash
    npm run build

    This compiles TypeScript to dist/.

  6. Run tests:

    bash
    npm test

    This runs Jest unit tests located in src/__tests__. Ensure you have a .env.test file (see src/__tests__/setup.ts).

Testing with MCP Inspector

You can test the server locally using the MCP Inspector:

  1. Ensure your CLICKUP_PERSONAL_TOKEN is available. You can either:
    • Set it in your shell environment before running the inspector.
    • Set it within the MCP Inspector UI if it provides an option for server environment variables.
    • Have it in your local .env file (as src/index.ts loads dotenv).
  2. Run the Inspector with the server:
    bash
    npx @modelcontextprotocol/inspector node --loader ts-node/esm src/index.ts
    The Inspector UI should launch, allowing you to connect to the server and call its tools.

Security

  • Authenticates using your ClickUp Personal API Token. Keep this token secure and confidential. Treat it like a password.
  • The server expects the CLICKUP_PERSONAL_TOKEN to be provided via an environment variable by the consuming MCP client or development environment.
  • The configuration system includes logic for an ENCRYPTION_KEY and src/security.ts has encryption functions, but this is not currently applied to the Personal API Token by the ClickUpService.
  • No sensitive data (like the token itself) is logged by default with LOG_LEVEL=info. Debug level might log more details.
  • Rate limiting for ClickUp API calls is handled by logging remaining requests (see ClickUpService).

Troubleshooting

Common Issues

  1. Authentication Errors (401 from ClickUp API)

    • Verify your CLICKUP_PERSONAL_TOKEN environment variable is correctly set and accessible by the server process.
    • Ensure the token is valid and not revoked in your ClickUp settings.
    • Check server logs for messages from ClickUpService regarding authentication.
  2. Rate Limiting by ClickUp API

    • The server logs rate limit information from ClickUp API responses.
    • If rate limits are hit frequently, this indicates high usage. The server itself does not implement queuing or complex backoff beyond what axios might do by default.
  3. Server Not Starting / MCP Inspector Connection Issues

    • Ensure CLICKUP_PERSONAL_TOKEN is set.
    • If using npm run dev, check for TypeScript or ts-node-dev errors in the console.
    • If using MCP Inspector with node --loader ts-node/esm src/index.ts, ensure ts-node and project dependencies are correctly installed.
    • Check for console errors from src/index.ts or ClickUpService.

Getting Server Logs

  • When run via npm run dev or npm start, logs go to the console.
  • If run by an MCP client (like Claude for Desktop), logs are typically managed by that client. For Claude for Desktop, logs can often be found at:
    • Windows: %USERPROFILE%\AppData\Local\Claude\Logs\mcp\<server_name_and_id>\<process_id>.log (path may vary slightly)
    • macOS: ~/Library/Logs/Claude/mcp/<server_name_and_id>\<process_id>.log (path may vary slightly)

Support

If you find this project helpful, consider buying me a coffee to support ongoing development and maintenance.

License

MIT License - see LICENSE file for details

Test pipeline fix

安装

TypingMind
{
  "mcpServers": {
    "clickup-mcp-server": {
      "command": "npx",
      "args": [
        "@nazruden/clickup-server"
      ],
      "env": {
        "CLICKUP_PERSONAL_TOKEN": "<CLICKUP_PERSONAL_TOKEN>"
      }
    }
  }
}

将 ClickUp MCP 服务器 MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 ClickUp MCP 服务器 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 ClickUp MCP 服务器 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 ClickUp MCP 服务器 MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "clickup-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@nazruden/clickup-server"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 ClickUp MCP 服务器 MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 ClickUp MCP 服务器 MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 ClickUp MCP 服务器 帮我完成这项任务吗?
ClickUp MCP 服务器
当然,我看过了。
以下是我使用 ClickUp MCP 服务器 得到的结果。

常见问题

ClickUp MCP 服务器 MCP 服务器有什么用途?

ClickUp MCP 服务器 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 ClickUp MCP 服务器 MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 ClickUp MCP 服务器。

为什么在 TypingMind 中使用 ClickUp MCP 服务器 MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 ClickUp MCP 服务器 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 ClickUp MCP 服务器 MCP 连接到 TypingMind?

ClickUp MCP 服务器 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

ClickUp MCP 服务器 MCP 在 TypingMind 中提供哪些工具?

ClickUp MCP 服务器 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 ClickUp MCP 服务器 MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 ClickUp MCP 服务器 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇