Skip to main content
Glama

ClickUp MCP Integration

by Leanware-io
assignee.service.ts940 B
import { ClickUpUser } from "../models/types"; const BASE_URL = "https://api.clickup.com/api/v2"; export class AssigneeService { private readonly headers: { Authorization: string; "Content-Type": string }; private readonly workspaceId: string; constructor(apiToken: string, workspaceId: string) { this.workspaceId = workspaceId; this.headers = { Authorization: apiToken, "Content-Type": "application/json", }; } private async request<T>( endpoint: string, options: RequestInit = {} ): Promise<T> { const response = await fetch(`${BASE_URL}${endpoint}`, { ...options, headers: this.headers, }); return response.json(); } async getListMembers(listId: string) { // Using the endpoint from https://developer.clickup.com/reference/getlistmembers return this.request<{ members: ClickUpUser[] }>(`/list/${listId}/member`); } } export default AssigneeService;

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/Leanware-io/clickup-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server