Skip to main content
Glama

Notion MCP Server

update_block.ts507 B
import { notionClient, NotionClient } from "../../notion/client"; import { defineTool } from "../../utils/defineTool"; type UpdateBlockInput = Parameters<NotionClient["blocks"]["update"]>[0]; export const NOTION_UPDATE_BLOCK_TOOL = defineTool((z) => ({ name: "notion_update_block", description: "Update a block in Notion.", inputSchema: { updateOptions: z.custom<UpdateBlockInput>(), }, handler: async (input) => { return await notionClient.blocks.update(input.updateOptions); }, }));

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/orbit-logistics/notion-mcp-server'

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