Skip to main content
Glama

Notion MCP Server

retrieve_page.ts430 B
import { notionClient } from "../../notion/client"; import { defineTool } from "../../utils/defineTool"; export const NOTION_RETRIEVE_PAGE_TOOL = defineTool((z) => ({ name: "notion_retrieve_page", description: "Retrieve a page from Notion", inputSchema: { page_id: z.string(), }, handler: async (input) => { const page = await notionClient.pages.retrieve({ page_id: input.page_id }); return page; }, }));

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