Notion MCP Server for Cloudflare Workers
Notion MCP Server for Cloudflare Workers
notion_get_blockRetrieve a Notion block by its ID. A block is any piece of content in Notion - paragraphs, headings, lists, etc. Pages and databases are also blocks. Args: - blockId: The block ID - format: Response format ('json' or 'markdown') Returns: The block object with its type-specific content.
notion_get_block_childrenGet the children blocks of a block or page. Use this to read the content of a page or the nested content of a block. Args: - blockId: The block ID (or page ID) to get children from - startCursor: Pagination cursor from previous response - pageSize: Number of blocks to return (1-100, default: 100) - format: Response format ('json' or 'markdown') Returns: Paginated list of child blocks.
notion_append_blocksAppend new blocks as children of an existing block or page. Use this to add content to a page or nest content inside a block. Args: - blockId: The block or page ID to append children to - children: Array of block objects to append. Common block types: - Paragraph: { "type": "paragraph", "paragraph": { "rich_text": [{ "type": "text", "text": { "content": "Hello" } }] } } - Heading 1: { "type": "heading_1", "heading_1": { "rich_text": [{ "type": "text", "text": { "content": "Title" } }] } } - Heading 2: { "type": "heading_2", "heading_2": { "rich_text": [...] } } - Heading 3: { "type": "heading_3", "heading_3": { "rich_text": [...] } } - Bulleted list: { "type": "bulleted_list_item", "bulleted_list_item": { "rich_text": [...] } } - Numbered list: { "type": "numbered_list_item", "numbered_list_item": { "rich_text": [...] } } - To-do: { "type": "to_do", "to_do": { "rich_text": [...], "checked": false } } - Toggle: { "type": "toggle", "toggle": { "rich_text": [...] } } - Quote: { "type": "quote", "quote": { "rich_text": [...] } } - Callout: { "type": "callout", "callout": { "rich_text": [...], "icon": { "emoji": "..." } } } - Code: { "type": "code", "code": { "rich_text": [...], "language": "javascript" } } - Divider: { "type": "divider", "divider": {} } - Image: { "type": "image", "image": { "type": "external", "external": { "url": "..." } } } - Bookmark: { "type": "bookmark", "bookmark": { "url": "..." } } Returns: The appended blocks.
notion_update_blockUpdate an existing block's content. Args: - blockId: The block ID to update - content: The block content to update. Must include the block type. Example for paragraph: { "paragraph": { "rich_text": [{ "type": "text", "text": { "content": "New text" } }] } } To archive a block: { "archived": true } Returns: The updated block object.
+17 more tools
Sign up free and start integrating in minutes.