Skip to main content
Glama
Leanware-io

ClickUp MCP Integration

by Leanware-io

clickup_get_page

Retrieve specific pages from ClickUp documents using document and page IDs to access workspace content.

Instructions

Get a page from a ClickUp doc

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYesClickUp doc ID
page_idYesClickUp page ID

Implementation Reference

  • Core implementation of fetching a ClickUp page by making an API GET request to the ClickUp API endpoint.
    async getPage(docId: string, pageId: string): Promise<ClickUpDocPage> { return this.request<ClickUpDocPage>( `/${this.workspaceId}/docs/${docId}/pages/${pageId}` ); }
  • Defines and registers the 'clickup_get_page' MCP tool, including Zod input schema and a thin handler wrapper that delegates to DocsService.getPage and formats the response.
    const getPageTool = defineTool((z) => ({ name: "clickup_get_page", description: "Get a page from a ClickUp doc", inputSchema: { doc_id: z.string().describe("ClickUp doc ID"), page_id: z.string().describe("ClickUp page ID"), }, handler: async (input) => { const response = await docsService.getPage(input.doc_id, input.page_id); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }, }));
  • Zod input schema for the tool defining doc_id and page_id parameters.
    inputSchema: { doc_id: z.string().describe("ClickUp doc ID"), page_id: z.string().describe("ClickUp page ID"), }, handler: async (input) => { const response = await docsService.getPage(input.doc_id, input.page_id); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }, }));

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