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 programmatically.

Instructions

Get a page from a ClickUp doc

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYesClickUp doc ID
page_idYesClickUp page ID

Implementation Reference

  • The tool definition, input schema, and handler implementation for 'clickup_get_page'. The handler calls docsService.getPage to fetch the page data.
    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) }], }; }, }));
  • The DocsService method that executes the HTTP GET request to the ClickUp API to retrieve the specified page.
    async getPage(docId: string, pageId: string): Promise<ClickUpDocPage> { return this.request<ClickUpDocPage>( `/${this.workspaceId}/docs/${docId}/pages/${pageId}` ); }
  • Zod-based input schema validation for the tool parameters: doc_id and page_id.
    inputSchema: { doc_id: z.string().describe("ClickUp doc ID"), page_id: z.string().describe("ClickUp page ID"),
  • Export of the getPageTool for use in tool registration.
    getPageTool,

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