Skip to main content
Glama

Notion MCP Server

create_comment.ts525 B
import { notionClient, NotionClient } from "../../notion/client"; import { defineTool } from "../../utils/defineTool"; type CreateCommentInput = Parameters<NotionClient["comments"]["create"]>[0]; export const NOTION_CREATE_COMMENT_TOOL = defineTool((z) => ({ name: "notion_create_comment", description: "Create a new comment in Notion.", inputSchema: { createOptions: z.custom<CreateCommentInput>(), }, handler: async (input) => { return await notionClient.comments.create(input.createOptions); }, }));

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