Skip to main content
Glama

Notion MCP Server

list_users.ts501 B
import { notionClient, NotionClient } from "../../notion/client"; import { defineTool } from "../../utils/defineTool"; type ListUsersInput = Parameters<NotionClient["users"]["list"]>[0]; export const NOTION_LIST_USERS_TOOL = defineTool((z) => ({ name: "notion_list_users", description: "List all users in a Notion workspace.", inputSchema: { listOptions: z.custom<ListUsersInput>(), }, handler: async (input) => { return await notionClient.users.list(input.listOptions); }, }));

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